How old is the battery, the machine and did you use the battery during those years?
Sadly the fix on old laptops is to try a battery first and hope the old battery didn't fry the circuits. If the new battery does the same, you change the motherboard.
I have had this problem for about two days now with my Acer Aspire 5532, and when I run my mouse over the battery icon, it says "1% available (Plugged In, Not Charging)". I've tried everything from restoring the computer to a few days before when it was working, I have even tried the Device manager thing. It doesn't work. Can anyone please help me, because this is so frustrating! Help! Thanks,