Frequently Asked Question

How to check battery capacity (and other information) from the command line
Last Updated 4 years ago

The following command can be used to check the battery capacity. 
ioreg -w0 -l | grep Capacity

Although this information is available within System Information/System Profiler, and third-party apps like Coconut Battery, this command can be used within scripts. This command can also be used within the recovery boot environment, even when there is no OS installed.

Please Wait!

Please wait... it will take a second!