Simon Willison’s Weblog

Battery Statistics. Run “ioreg -w0 -l | grep Capacity” on a MacBook or MacBook Pro to find out the DesignCapacity (original) and MaxCapacity (current) of your laptop’s battery.