Ramblings Of a Madman

Yeah, like i would know a good description…

OSX - Command line battery cycles information

Here's how to get the number of battery charging cycles on your laptop on OSX:

    ioreg -l | grep LegacyBatteryInfo | cut -d '{' -f 2 | tr -d \} | tr ',' '=' | awk -F'=' '{print $12}'