在终端输入以下命令:

ioreg -rn AppleSmartBattery | grep -i capacity
"AppleRawCurrentCapacity" = 4867
"AppleRawMaxCapacity" = 5084
"MaxCapacity" = 5084
"CurrentCapacity" = 4867
"LegacyBatteryInfo" = {"Amperage"=18446744073709551214,"Flags"=4,"Capacity"=5084,"Current"=4867,"Voltage"=12729,"Cycle Count"=46}
"DesignCapacity" = 5088
"BatteryData" = {"StateOfCharge"=96,"PMUConfigured"=0,"Voltage"=12699,"QmaxCell1"=5358,"AdapterPower"=839469241,"SystemPower"=1087516262,"ResScale"=117,"QmaxCell2"=5302,"QmaxCell0"=5341,"CycleCount"=46,"DesignCapacity"=5088}