If you battery is over a year old then most likely you will need to replace it. It's best and safest to go back to the hardware manufacturer for replacement. First drain the battery completely, recharge and see if this helps, if not, replace your battery.
This happened to me, and it was happening because the AC adapter was not working properly. It gave enough energy for the computer to run but not charge the battery.