MacBook turning off after replace the battery

Hey i change macbook pro 2015 A1502 Battery after changing battery itx turn on if i hold any key on keyboard if i leave the key itx turn off

If i try to turn on without hold any key on key board then itx turn on and apple logo then itx completely turns off

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0

crwdns2944067:03crwdne2944067:0:

What is the color of the MagSafe charger Amber or Green?

If Amber let it charge for at least 8hrs.

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

First itx amber battery is full now itx green

As i say if i hold any key on keyboard itx working fine if i leave the key itx turn off

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

OK, where did you get the battery?

Lets see whats happening with it install this gem of an app CoconutBattery take a snapshot of the apps main window and post it here for us to see Adding images to an existing question

crwdns2934271:0crwdnd2934271:0crwdne2934271:0

crwdns2934285:0crwdne2934285:0