battery cfg command code example
Example 1: powercfg battery report
powercfg /batteryreport
Example 2: wundows battery report
powercfg /batteryreport /output "C:\battery_report.html"
powercfg /batteryreport
powercfg /batteryreport /output "C:\battery_report.html"