powercfg get battery percentage code example Example: powercfg battery report powercfg /batteryreport