Macbook Pro Mid-2012 Black Screen
Hello everyone, recently I have my MacBook Pro mid-2012 computer that has suddenly turned off and when I try to turn it on I only hear hard disk starting and nothing else, (No light from the apple behind, no light from the keyboard, No screen) over all my MacBook turns on only if I keep it attached to the charger, if I detach it from the charger it turns off immediately.
What I tried: I tried to do the various resets. (PRAM, SMC ...) I tried to disconnect some things (battery wires, Ram, screen wires ...). I checked the hard disk by connecting it to another pc, and it works. So I think that the problem is the battery or the motherboard, or maybe something else, but I don't know which of these. I await your help! Thanks.
I forgot to mention that when I try to turn it on, it sometimes turns off immediately (I hear the hard disk turn on and then turn off).
MacBook