$ system_profiler SPPowerDataType | grep "Maximum Capacity" | awk '{print $3}'