For users of HP laptops – including HP Pavilion, HP Envy, HP Spectre, HP ProBook, HP EliteBook,
HP ZBook workstations and HP gaming models – battery condition has a direct impact on mobility and reliability.
Over time, every lithium-based battery loses capacity. Before you decide to replace the internal battery, it is
worth analysing the actual health of the pack in a structured and data-driven way.
Windows provides a built-in command, powercfg /batteryreport, which generates an HTML battery report
for your HP laptop. This guide explains how to create that report, how to interpret the key figures and how to use
them as a basis for choosing a suitable replacement HP battery.
Browse compatible HP laptop batteries
1. Why battery health is critical on HP laptops
HP systems are widely used in office, education and mobile professional environments. Many models are relied upon
for long meetings, travel and field work. As the battery ages, typical symptoms include:
- Noticeably shorter runtime compared to the original specification.
- Rapid drops in the remaining percentage once unplugged from the AC adapter.
- Unexpected shutdowns under moderate or high load, even above 20–30% reported charge.
- Messages in Windows or HP tools indicating reduced capacity or a recommended replacement.
Instead of relying solely on subjective impressions, the Windows battery report gives objective values for
capacity and usage history, which are especially useful when you manage multiple HP machines or plan proactive
maintenance.
2. Opening an elevated command environment in Windows
Generating the battery report requires administrator rights. The basic procedure is:
- Press the Windows key and type cmd.
- Right-click Command Prompt and select Run as administrator.
- Confirm the User Account Control prompt if it appears.
- In the elevated command window, you can now paste and execute the commands listed in this guide.
The same commands can be used in PowerShell or Windows Terminal when those are
launched with administrator privileges.
3. Core powercfg /batteryreport commands for HP laptops
The command powercfg /batteryreport queries the battery controller and the Windows power subsystem,
then writes the collected data into an HTML file. Below are ready-to-use variants optimised for typical HP use
cases. Choose the one that fits how you prefer to store reports.
3.1 Save the HP battery report to the Desktop
This is the most convenient option for a single user system.
powercfg /batteryreport /output "%USERPROFILE%\Desktop\battery-report.html"
After a short processing time, you should find battery-report.html directly on your Desktop.
3.2 Save the report to the Documents folder
For a cleaner Desktop, it is often preferable to keep diagnostic reports in Documents.
powercfg /batteryreport /output "%USERPROFILE%\Documents\battery-report.html"
3.3 Store diagnostics in a dedicated folder
In environments where multiple HP laptops are monitored, using a central folder on a local drive makes it easier
to archive and compare reports.
powercfg /batteryreport /output "D:\PowerReports\hp-battery-report.html"
The folder path can be adjusted to your structure. The directory must exist before the command is executed.
3.4 Naming the report by HP series or model
Including the model name in the file name helps avoid confusion when several machines are being analysed on the
same workstation. Examples:
powercfg /batteryreport /output "%USERPROFILE%\Desktop\hp-pavilion-15-battery-report.html" powercfg /batteryreport /output "%USERPROFILE%\Desktop\hp-envy-x360-battery-report.html" powercfg /batteryreport /output "%USERPROFILE%\Desktop\hp-elitebook-840-g7-battery-report.html" powercfg /batteryreport /output "%USERPROFILE%\Desktop\hp-zbook-fury-battery-report.html"
4. Additional power diagnostics relevant to HP systems
Windows provides further diagnostics that complement the battery report and help when investigating power drain or
sleep behaviour on HP notebooks.
4.1 Energy efficiency analysis
The energy report checks power configuration and identifies drivers or devices that prevent the HP laptop from
entering power-saving states.
powercfg /energy /output "%USERPROFILE%\Desktop\energy-report.html"
4.2 Sleep study for Modern Standby capable HP laptops
Many modern HP ultrabooks and premium devices support Modern Standby. The sleep study report documents which
applications or hardware components are responsible for battery drain during sleep-like states.
powercfg /sleepstudy /output "%USERPROFILE%\Desktop\sleepstudy-report.html"
5. Interpreting the Windows battery report for an HP laptop
When you open battery-report.html in a browser, navigate to the section labelled
Installed batteries. This section summarises the technical characteristics and current health of
the installed HP battery pack.
- Manufacturer entry – frequently shows “Hewlett-Packard”, “HP” or the cell OEM.
- DESIGN CAPACITY – the nominal capacity when the battery was new, expressed in mWh or Wh.
- FULL CHARGE CAPACITY – the maximum charge the battery can hold today.
- CYCLE COUNT – if supported, the number of full charge–discharge cycles the pack has undergone.
The ratio between full charge capacity and design capacity provides a straightforward estimate of remaining
battery health. A practical reference range for HP laptops is:
- 80–100% of design capacity: battery health is generally good.
- 60–79% of design capacity: moderate wear with noticeably reduced runtime.
- Below 60% of design capacity: advanced wear; a replacement battery is usually advisable.
For example, an HP ENVY x360 originally equipped with a 52.5 Wh battery which now reports a full charge
capacity of 30 Wh has an effective health of around 57%. If the user also observes rapid discharge and
unexpected shutdowns, this strongly supports the case for replacing the battery pack.
6. Interaction with HP diagnostics and HP Support Assistant
In addition to the Windows battery report, many HP laptops provide built-in diagnostic tools:
- HP Support Assistant within Windows, which can report basic battery status.
- UEFI hardware diagnostics accessible at startup, often via the Esc or F2 key,
including dedicated battery tests.
These HP-specific tools might show status messages such as “OK”, “Calibrate”, “Weak” or “Replace”. When combined
with the detailed numerical values from powercfg /batteryreport, you obtain a coherent picture:
- If both HP diagnostics and the Windows report indicate severe capacity loss, replacing the battery is the
logical next step. - If HP tools still report “OK” but your daily runtime is insufficient, reviewing power plans and background
processes on the HP laptop can extend usable time before a replacement becomes necessary.
7. Criteria for replacing an HP laptop battery
HP batteries are designed for a finite number of charge cycles. In practice, the decision to replace is based on
both quantitative and qualitative factors:
- The full charge capacity has dropped far below the design capacity.
- The laptop no longer provides adequate runtime for meetings, classes or work sessions away from AC power.
- The system shuts down abruptly during normal use when reported capacity is still well above 0%.
- HP diagnostics explicitly recommend battery replacement.
In such cases, fitting a high-quality replacement HP battery restores mobility and reduces the risk of data loss
due to sudden power loss.
8. Selecting the correct replacement HP battery
Choosing an appropriate replacement for an HP laptop involves more than simply matching the series name. To ensure
mechanical and electrical compatibility, pay attention to several details:
- Exact HP model name, such as HP Pavilion 15, HP 15-da series,
HP ENVY 13, HP ProBook 450 G7, HP EliteBook 840 G5 or HP ZBook 15. - HP spare number or battery part number printed on the original pack, for example
codes like HT03XL, HS04, LK03XL, LA04 and similar references. - Voltage (V) of the original battery, which must match the replacement.
- Capacity (Wh or mAh). A replacement with equal or slightly higher capacity is generally
acceptable if it is specifically designed for the same HP platform.
Professional suppliers usually list compatible HP part numbers and laptop models for each battery. Providing the
spare number and model designation allows the supplier to confirm that the chosen battery is suitable for your
specific HP notebook.
View replacement batteries for HP laptops
Incorporating the Windows battery report into your standard HP troubleshooting workflow provides measurable
evidence of battery wear and supports well-informed replacement decisions for both individual users and
organisations managing larger HP fleets.