如何查看macbook pro电池的设计容量、当前可用容量、电池损耗情况、当前电量等信息
执行加粗的下面命令 ioreg -rn AppleSmartBattery | grep -i capacity 可以得到如下图所示的电池信息: