Frequently Asked Question

How to check battery capacity (and other information) from the command line
最后更新 4 年前

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.

请稍候!

请稍候...它将需要一点时间 !