battery report win10 code example Example: wundows battery report powercfg /batteryreport /output "C:\battery_report.html"