As any battery ages it loses its ability to retain a charge. Eventually the laptop won't be able to run on the battery and will only be able to boot while plugged in. The only solution is to buy a new battery.
i have tried charging my battery on another similar computer. the battery charged fully without any break. the batttery of the other computer was put on charge in my laptop,. it charged fully without any problem. could there be a software problem?