# Type this command in cmd or powershell powershell -command "(Get-WmiObject Win32_Battery).EstimatedChargeRemaining"