Windows系统下一个获取电池报告的简单bat脚本
a simple bat to get battery report in Windows
-
适用于Win8/Win10的脚本
-
通过系统命令
powercfg/batteryreport
, 用户可以自行查看系统自身的电池报告,其中能看到比较重要的电池容量,日期,电池损耗与使用情况。此脚本对命令进行了简单的封装,用户无需自行打开命令行进行相关的命令输入, 只需直接执行此脚本即可。 -
a bat for Win8/Win10
-
By the system command
powercfg/batteryreport
, users can view a battery report recorded in system, which include some important information, such as battery capacity, battery usage and usage history. This bat simply encapsulates the commands so that users don't need to use the command anymore, but simply execute the bat directly.
- 鼠标移动到
GetBatteryReport.bat
处 - 点击右键,选择
链接另存为
- 保存到你自己希望保存的文件路径下
- 下载完成后,打开此文件。屏幕将会快速闪现出一个黑色命令行方框,然后C盘路径下,将会多出一个名为
battery_report.html
的文件,程序会自动在浏览器中打开此报告文件。
- Move your mouse to
GetBatteryReport. Bat
- Right-click and select
save as
- Download and save the bat file in specific folder.
- Open this bat. Your screen will flashed out a black command line box, and then a HTML file called
battery_report
will shown in the the disk C:\ . The program will automatically open the report file in your browser.