how to check your laptop battery health in windows 10 code example Example: check battery health windows 10 powercfg/ batteryreport/ output "C:\battery-report.html