banner

(Technology) How to check the battery consumption of laptop?

Recently, some friends asked about the battery consumption of the laptop. In fact, since Windows 8, the system has come with this function of generating battery report, just need to type a line of command. Considering that most people may not be familiar with the cmd command line, we simply encapsulated a small script with 3 lines of code in it. After downloading, you can directly view the battery report.

Battery report: A simple bat script for obtaining battery report under Windows system Description Script suitable for Win8/Win10 Through the system command power cfg/battery report , users can view the system's own battery report, which can see the more important battery capacity, date , battery consumption and usage. This script simply encapsulates the command, and users do not need to open the command line for related command input, just execute this script directly.

Open URL: https://github.com/ParrySMS/batteryreport

1. Move the mouse to GetBatteryReport.bat
2. Right-click and select Save Link As
3. Save to the file path you want to save
4. After the download is complete, open the folder you downloaded and find the GetBatteryReport.bat file.
5. Right-click on the file and open the file with administrator privileges. The screen will quickly flash a black command line box.
6. Next, under the C drive path of "My Computer", there will be an additional file named battery_report.html, and the program will automatically open the report file in the browser. 7. If the program does not automatically open the browser, it may be that the security settings prohibit calling the browser directly from the command line, then please manually open "My Computer" --> C drive, drag the battery_report.html file into the browser to open it.
8. After reading, this html file can be deleted without affecting anything.

Technology (1)

How to read this report after opening it?

Technology (3)

First of all, we see some information about the motherboard of this computer, which we can ignore for now.
The following is the main content we will look at, focusing on the three pieces of information underlined in red.

Technology (4)

The first DESIGN CAPACITY refers to the design capacity, which is the battery capacity setting of the notebook computer.
The second FULL CHARGE CAPACITY is the full charge capacity. This is related to many factors of the battery, and the temperature will also affect it. Generally, the difference between the new machine and the design capacity is within 5,000 mWh, which is generally normal.
The third CYCLE COUNT is the number of charging cycles, which indicates the number of battery cycles recorded by the system. Generally, the new machine should be less than 10 times, and most machines should be the last system installed, and will display 0 or 1 time.
Some models cannot read this parameter, and it will be displayed as - , a dash.
If you change the battery, the number of cycles here will not tell the battery condition.
I want to make a point with you that this report is based on the internal generation of the win10 system and does not represent the absolute accuracy of the hardware. The reason is that it will record the data after the win10 system is installed, so if the system is reinstalled, the history will not be visible.
Similarly, if the battery is changed, the system will still keep the original history, but the direct parameter is the new battery data that will be read.

Technology (5)

Recent usage indicates the usage status records in the past three days, with the time on the far left.
The STATE in the middle is the state, where Active refers to the active state of the boot, and Suspended is the system interrupt state, that is, sleep/hibernate/shutdown
SOURCE refers to the power supply, and AC refers to the external AC power supply, that is, the charger is plugged in. Battery refers to using the system battery.
Today's laptop batteries have their own power management programs, so don't worry about keeping the power plugged in and affecting the power consumption.
An occasional discharge every few months is fine. The worst thing about batteries is overcharging and over discharging. In the past when laptop batteries were detachable, the power management program was terrible, so it was not recommended to charge for a long time, but now there is no need to worry about overcharging.
If the laptop is not used for a long time, the battery needs to be charged every week, and the battery will be depleted greatly if the battery is left at zero power for a long time.

Technology (6)

Battery usage is a record of battery usage activity time, you can see the power consumption curve of your computer, as well as the specific power consumption time period.
DURATION is the duration of the activity, that is how long you have been using the battery from the moment on the left.
ENERGY DRAINED is the power consumption, indicating how much electricity you consume during this time, specifically how many mWh of electricity.

Technology (7)

Usage history which can visually see the comparison data of battery usage and external power usage.
On the left is the time period, and the one below BATTERY DURATION refers to the total time spent on battery during this period.
Under AC DURATION is the total time spent operating on external power. You can see that in my report, most of the time it still works with an external power supply.

Technology (8)

Battery capacity history. You can focus on it, especially the computer that has been used for a long time.
The historical records in this report can only be kept for the last 8 months, and you can see the changes in the full charge capacity of your FULL CHARGE CAPACITY in the past 8 months.
The capacity is sometimes corrected by charge and discharge, and it may also increase, but the actual value depends on the battery itself. The general situation is a gradual decline with daily use.

Technology (2)

As mentioned earlier, the report is generated based on the win10 system. I directly plugged the hard disk and replaced it with a computer. Therefore, there are old data and new data in the battery history. The system identification process will produce the above interesting picture. The data.

Technology (9)

Battery life estimates
According to the work intensity of your daily use, combined with the historical data of battery power consumption, an approximate battery life will be estimated.
This battery life is more in line with the battery life of individual use.
The middle column is the estimated battery life corresponding to the full power capacity of the period, and the right column is the estimated battery life of the design capacity.
It can be visually compared to see how much the battery life is shortened because of the loss of its own battery, which reduces the full capacity.
The bottom line is an estimate based on the current usage status.

Technology (10)
Technology (11)

Therefore, buying a laptop requires a long battery life. In the absence of new technological breakthroughs in battery technology, a large battery is very advantageous. Even if it loses 10Wh as well, the battery life is just a bit shorter. If the computer is not charged at the most critical and most important moment, and it happens to run out of power, this will affect the work very, very much. At this time, it may be just more than half an hour of battery life to solve your work problems.


Post time: Jul-11-2022