With every new update, Microsoft works on optimizing the battery levels of a computer running Windows 10. If someone wants to check the battery levels of a computer using Command Prompt or Windows PowerShell, it is now possible. This method is useful ifdue to a glitch in Windows 10’s shell, the results in the battery icon in the system tray go missing. Let us check out how to check battery level using Command Prompt or Windows PowerShell.
Check Battery level using command line
You will have to use the WMIC command line tool in Command Prompt or PowerShell:
Open Windows Command Prompt and execute the following command:
WMIC PATH Win32_Battery Get EstimatedChargeRemaining
The output for that command would look something like this:
Remaining <Battery percentage left>
You can see the estimated battery charge remaining.
You can also use the PowerShell to sun the same command.
The result will be the same!
I hope you found this small tip useful.