Battery not charging, magsafe 2 light not showing
The computer's battery is not charging, as described in the picture:
The magsafe connector has no light indicating its operation.
I used another connector to test if the problem was in the cable, which is not the case, the other connector also had no light, and in the same way as the previous one I could make the computer work but not charge the battery.
The battery is new, I changed it after I got a message that the old battery needed to be changed. I don't remember exactly, but I am pretty sure that before I changed the battery this problem already existed.
Sometimes, especially when the computer is warm, the connector lights come back on and the computer battery charges normally. This makes me believe that I probably have a hardware problem.
Coconut battery picture for reference:
Any idea what the problem might be?