Chosen Solution

My MacBook Core 2 works if connected to the current. The magnetic connector shows a green light. However, if I remove the cable it turns off immediately. I thought it was the battery, so I got a new one. Same problem. I think the battery is not charging. What else should I try?

At this point its wack-a-mole time! You’ll need to replace the parts one at a time to see what fixes your system from a second system that works. I think that’s just going to far given the age as well as the costs. Just accept its a line powered laptop and save your pennies for a newer system.

@danielchsny from your tlp command output, linux cannot see the battery because the computer cannot see the battery. tlp pulls the data from the ACPI which is “Advance Configuration and Power Interface” and since the computer doesn’t see it, the operating system doesn’t either. It is possible to get a better understanding of the problem by following @danj ‘s recommendation of running the AHT (Apple Hardware Test). Go to this github https://github.com/upekkha/AppleHardware… and follow the step to installing it. Since you are only installing a diagnostic tool on your Apple hardware, it’s not illegal to do. Go down to the MACBOOK section and select the MACBOOK2,1. This is the earliest version of the test (I’m not sure the macbook1,1 came with the test, @danj would know better). Instructions are further down the page so read it all before proceeding. This will give you Apple specific feedback on Apple specific hardware and @danj can help you further (possibly).