Run HP’s UEFI Battery Test first; an immediate shutdown when AC power is removed, combined with a jump from 20% to 100% in minutes, requires a hardware-level battery test rather than changing Energy Saver settings.
1. Test the battery outside Windows
- Save your work and shut down the laptop.
- Connect the HP AC adapter.
- Turn on the laptop and repeatedly press Esc until the Startup Menu appears.
- Press F2 to open HP PC Hardware Diagnostics UEFI.
- Select Component Tests → Power → Battery → Run once.
- Record the result and any failure ID. The battery test normally takes about two minutes. ^1^
Act on the result:
- Failed, Replace, Weak, or Very Weak: Replace the battery. Keep the failure ID for HP support or the repair technician.
- Calibration required: Run Calibrate Battery from the same diagnostics screen. HP notes that calibration can take 12–14 hours. Afterward, rerun the Battery Test. ^1^
- Passed: Continue with the checks below. A passing battery test makes firmware, battery communication, connection, or charging hardware the next areas to investigate.
Do not attempt repeated unplugged discharge cycles when the laptop shuts down instantly. Use HP’s controlled calibration process only when diagnostics requests it.
2. Check the reported battery capacity
Open Command Prompt as administrator and run:
powercfg /batteryreport /output "%USERPROFILE%\Desktop\battery-report.html"
Open battery-report.html from the desktop and inspect:
- Installed batteries
- Design Capacity
- Full Charge Capacity
- Cycle Count
- Battery capacity history
powercfg /batteryreport generates an HTML report containing battery usage characteristics over the system’s lifetime. ^2^
Interpret it as follows:
- If Full Charge Capacity is dramatically below Design Capacity, the battery is substantially worn.
- If the values are missing, implausible, or change abruptly, the battery’s electronics or firmware may be reporting incorrect data.
- A report showing good capacity does not overrule a failed UEFI battery test or the inability to provide power when unplugged.
- Shut down the laptop.
- Disconnect the AC adapter and all USB devices.
- If the battery is designed to be removable, remove it. Do not open a sealed laptop solely for this step.
- Hold the power button for approximately 15 seconds.
- Reinstall the removable battery if applicable, reconnect AC power, and start the laptop.
- Run the UEFI Battery Test again and test whether it remains on when unplugged.
HP documents this reset as a way to clear residual power and reset power-related hardware state. ^3^
4. When repair is required
Arrange battery replacement or hardware service if:
- The UEFI test fails after calibration.
- The laptop still shuts off immediately despite a passing test and power reset.
- The battery is not detected reliably.
- HP diagnostics cannot run or freezes during the battery test.
A technician should then inspect the battery connection, battery pack, charging circuit, and system board. The symptom alone cannot distinguish a charging-controller fault from a battery fault, but a failed UEFI Battery Test strongly directs the repair toward the battery.
If the case is bulging, the touchpad or keyboard is lifting, or the battery appears swollen, stop using the laptop and disconnect power when safe. Microsoft advises immediately stopping use of a device with an expanded battery and avoiding pressure or puncture. ^4^
Energy Saver does not need to be disabled for these tests; it controls power consumption and does not validate whether the battery can physically supply power.
References
- HP Notebook PCs - Testing and calibrating the battery (Windows)
- Powercfg command-line options
- HP Notebook PCs - Battery not detected in Windows
- Caring for your battery in Windows | Microsoft Support