check battery hardware windows code example Example: check battery health windows 10 Click to copypowercfg/ batteryreport/ output "C:\battery-report.html