Chosen Solution

I recently replaced my macbook pro 2017 TB battery , everything worked fine after and the battery was charging then suddenly the macbook turned off , I turned it on again and it was charging , I did a PRAM reset as recommended however after it opened up , it says battery is not charging Update 1 : so I tried removing the back lid again , disconnecting the battery cable and reconnecting it , then turning on my MacBook but this time did no PRAM reset and it charged , so I recharged it to 100% and then used it without the power adapter to drain the battery , after draining it , I connect the power adapter , it turns on but again won’t recharge ! Update 2 : I tried entering recovery mode and found out that the battery charges in recovery mode, I turned off the macbook and did a SMC reset then turned it on and again it’s not charging Update 3 : There is a actually an important detail I forgot to mention, the macbook was subjected to coffee spell , I had it cleaned and then the battery was not charging nor was it booting without the adapter being plugged and the system said faulty battery and that it requires replacement so I replaced it and that was the outcome Update 4 : I tried to disconnect the battery cable again and test if it recharges properly , It did recharge however after a few seconds the macbook shutdown unexpectedly and when I turned it back on it’s again not charging and just working with Power Source : Power Adapter Update 5: I found out that only disconnecting the battery flex cable and reconnecting it does nothing , the battery would only charge ( for few minutes) if I remove the battery flex cable AND unscrew the T5 Torx screw and lift up the battery connector , then connect everything back on and turn on the macbook. Could it be that the battery connector is not aligned properly ? or could it be that I damaged it ?

@pepss - OK, the coffee spill could explain some of your issues! Its time to pull the logic board and inspect the other side. Follow this guide MacBook Pro 13" Touch Bar 2017 Battery Replacement do you see any staining or burnt areas? Post some clear images so we can see what you found.