Cómo obtener el porcentaje de batería usando el archivo por lotes
# Type this command in cmd or powershell
powershell -command "(Get-WmiObject Win32_Battery).EstimatedChargeRemaining"
Weary Weasel