Battery forces MacBook into sleep mode.

I repaired a friend's water-damaged MacBook. I ended up replacing virtually everything except the screen which appears to be working fine. I have replaced the Magsafe, battery, and the battery connector. If I start the MacBook without the battery it works fine. With the battery, it seems like it forces itself into sleep mode. The same thing happens if you try to plug the battery in while it's running... the hard drive immediately spins down, screen turns off and it seems to go into sleep mode. Remove the battery and back to normal.

What in the world is going on? Is this a potential logic board problem? The logic board I bought for this MacBook was factory sealed but I guess I can't rule out defects. It is worth noting that the old water damaged battery connector was used on the new logic board... I still don't know if the old battery connector was technically damaged or not... it just looked possibly corroded in some spots.

I noticed that this is for the non-energy star MacBook. The MacBook I have is energy star... but perplexingly enough it has enough pin spots on the motherboard for the non-es version which has 2 additional pins. I'm so confused. Do I want the non-es battery connector or the es battery connector which I have now (which should match up with my es logic board but has 2 less pins than the motherboard supports total).

Resources

Repairability

Stay in the loop

It's time to speak out for your right to repair

We have a chance to guarantee our right to repair electronic
equipment—like smartphones, computers, and even farm equipment. This is a once-in-a-generation
chance to protect local repair jobs—the corner mom-and-pop repair shops that
keep getting squeezed out by manufacturers.

Join the cause and tell your state representative to support Right to Repair. Tell them you believe repair should be fair, affordable, and accessible. Stand up for your right to repair!