Laptop computer is not charging battery
If your laptop works fine while plugged in but stops working while unplugged it's likely that either your laptop battery is bad or your laptop is not charging the battery properly. Below are steps that can be taken to help identify the cause of this issue.
Leave power plugged in
Make sure the computer has been charging from the power plug for at least two hours before attempting to unplug it.
Remove and reconnect battery
In some situations the battery can become loose. Removing it and then put it back into the laptop.
Use a third-party battery utility to determine the total capacity of the battery. For example, BatteryCare is a free software utility capable of doing this.
Some laptop manufacturers allow for batteries to be refreshed through the CMOS Setup.
Replace battery or AC adapter
If your computer is still in warranty we suggest skipping to the next step.
If the above steps have been completed, we suggest replacing the battery in the computer or AC adapter. In most situations it's a bad battery.
If after following the above steps the computer is still unable to charge the battery a component within the laptop has failed and needs to be replaced. Contact the computer manufacturer for information on getting the laptop serviced. Most likely the charger or inverter board needs to be replaced.