If the battery is older than 2 or 3 years, you may need to replace it.
And try these steps to reinstall the power management/charging software in the laptop.
Uninstalling and reinstalling power management software in Windows
In order to correct problems with the battery's power management software, follow the steps below.
1. Access the “Device Manager” .
2. Expand the Batteries category.
3. Under the Batteries category, right-click the Microsoft ACPI Compliant Control Method Battery listing, and select Uninstall .
WARNING: Do not remove the Microsoft AC Adapter driver or any other ACPI compliant driver.
4. On the Device Manager taskbar, click Scan for hardware changes .
Alternately, select Action > Scan for hardware changes .
Windows will scan your computer for hardware that doesn't have drivers installed, and will install the drivers needed to manage your battery's power. Restarting Windows will have the same effect of letting Windows re-recognize the hardware and installing the correct drivers.
If that doesn’t fix it, then shut down the computer, unplug all power cords, remove the battery, then depress the power button for 30 seconds. Replace the battery making sure all connections are solid, then plug in the power cord. Hopefully things are good.
Hope this helps.
Grif
I think something in my laptop's charging circuit has gone bad because I tested the adapter and power Jack and they're both fine, I even tried removing the battery and holding the power button for 30 seconds. what components should I test. It's HP elitebook 6930p

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic