Chosen Solution

Ok here is the deal. The macbook ONLY works from a charged battery. The charger works on other macbooks and other working chargers don’t charge either. I know the problem is the charging circuit of motherboard and that replacing it will solve my problem. But what I want to do is to power the macbook from the battery pins. Does anyone know how to do this? Anyone have the battery pinout?

You state that it only works from a charged battery…by that do you mean that the AC adapter does not power the computer when the battery is removed? What color is the light on the AC in any given situation? If the AC adapter powers the computer when the battery is out, and you are certain that the DC-in is fine (which it usually is – they don’t often go bad in A1181s), I’d try replacing the battery connector. Make sure to get the correct battery connector – some are Energy Star, and some are non-Energy Star. If no AC adapter will power the computer when the battery is out, I’d verify the DC-in is good by swapping with a known-good DC-in. Beyond that, it’s probably the logic board. Also, stupid question, but have you verified in another machine that the battery you’re using does in fact charge? Many of these battery issues end up being…the battery. Yours sounds a little more complicated though. I don’t know how to “inject” power to the logic board, and I’d be very reluctant to try that, for fear of frying the board.

The part you need is the MagSafe board, here’s the installation guide.

I have the exact same issue on my MacBook Pro Mid-2010. Runs perfectly with a charged battery, but does not recognise any MagSafe AC adapter. I tried three different ones. It keeps saying “AC Adapter Connected: No” in the system profiler. Swapping out MagSafe DC board didn’t help.