Windows ships with built-in operations to generate a battery report, a detailed status report highlighting useful information about the battery and its usage history.
If you run the Windows operating system on a battery powered device, you are probably keeping an eye on the battery status regularly to make sure the system won't just shut down at one point in time due to a lack of power.
Windows informs you if power runs low, about the current battery status, and as we have shown recently, provides you with options to analyze and reduce power usage.
The Windows operating system ships with built-in options to generate battery reports. Unfortunately, these reports are generated from the command line which is probably the core reason why they are only used by admins and power users, and not regular users.
Note: Battery Report has been added to Windows 8 and is not available in older versions of the operating system.
Please note that you need to go through a couple of power cycles before you start generating the report as it won't reveal much if you don't. If you start it right after setup for instance, it won't show any history as the data is not there yet.
Two things come together here: first, the generation of the power report using the command line, and second, analyzing the data that it provides.
Generating the report
The following steps are required to generate the report. Please note that you can generate the report on Windows 10 and previous versions of Windows, it is not a Windows 10-only feature.
Now that the command prompt window with elevated rights is open, run the following command:
powercfg /batteryreport /output "c:\battery_report.html"
Alternative: run powercfg /batteryreport instead. This saves the report to the user folder under the name battery-report.html.
You can change the output path to another location on your system but need to make sure that the directory you want it created in exists before you run the command.
You may also want to run the following command to create an Energy Report as well.
powercfg /energy /output "c:\energy_report.html"
Powercfg is a mighty tool that supports lots of command line options that you can play around with. Some commands that you may find useful are:
Now that the report has been generated by Windows, it is time to open it. Since it is saved as a HTML file, it can be opened in any web browser available on the system.
Open Windows Explorer and navigate to the folder that the generated report was saved in. Double-click on it to open it in the default web browser, or pick one of the available programs from a list.
The report itself can be divided into several parts.
Displays information about the computer system, BIOS, build, as well as installed batteries, capacity and even the serial number of the battery.
Highlights the power states of the last three days. This includes the state (connected standby, active, suspended), the source (battery or AC), and the capacity remaining in percent and mWh.
Battery Usage highlights the battery drain of the last three days. It is very similar to recent usage, but shows you the energy drain at a specific time of day instead.
The Usage History displays when the system has been used, and divides the time between battery and AC.
Stats for the last seven days are shown individually, while previous periods are shown as weekly reports instead.
Battery Capacity History
The battery capacity history highlights the charge capacity of the battery over time. If the full charge capacity and the design capacity diverge too much, it may be time for a new battery.
Battery life estimates
Last but not least, the battery usage reports displays battery life estimates based on the monitored power drain. This is again useful in determining the effectiveness of the battery but can be affected by how the computer is used and how it is configured when it is powered by battery.
If you play games, or use the device for other power-intensive activities, then you will notice a lower battery estimate than running less intensive tasks on the system.Advertisement
Ghacks is a technology news blog that was founded in 2005 by Martin Brinkmann. It has since then become one of the most popular tech news sites on the Internet with five authors and regular contributions from freelance writers.