ioreg -rn AppleSmartBattery | grep -i capacity