How to fix non-charging MacBook battery?

I haven't used my macbook in a month. when i turned it on, it was working cause it was charging. But when i unplug the charger, it shuts down. When its on, on the menu bar, the battery has an X in it and it says battery not available. how can i fix this...ive tried charging it all night.

Recommended Reading

Tags: , , ,