Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

justinf77

macrumors 6502a
Original poster
May 18, 2003
643
568
I just formatted my MacBook Air to prepare it for sale on eBay (to help recoup some of the cost of my new MBP) and I realized I forgot to note down the number of cycles on the battery so far. But now the computer boots to the setup assistant and I can't figure out how to get that information.

Any way to find out the battery cycle count from the Setup Assistant, or maybe the Internet Recovery partition? Can't find anything online about this. Would have to have to set up the machine and then format all over again just to get the cycle count. Thanks!
 
Do a command-r boot to recovery then in the Utilities menu up top select Terminal. Then enter the command below to get the battery info.

Code:
ioreg -l -w0 |grep Capacity

The output should look something like this.

Code:
 | |           "MaxCapacity" = 4453
    | |           "CurrentCapacity" = 4237
    | |           "LegacyBatteryInfo" = {"Amperage"=0,"Flags"=5,"Capacity"=4453,"Current"=4237,"Voltage"=12770,"Cycle Count"=2}
    | |           "DesignCapacity" = 4315
 
  • Like
Reactions: Spink10
Do a command-r boot to recovery then in the Utilities menu up top select Terminal. Then enter the command below to get the battery info.

Code:
ioreg -l -w0 |grep Capacity

The output should look something like this.

Code:
 | |           "MaxCapacity" = 4453
    | |           "CurrentCapacity" = 4237
    | |           "LegacyBatteryInfo" = {"Amperage"=0,"Flags"=5,"Capacity"=4453,"Current"=4237,"Voltage"=12770,"Cycle Count"=2}
    | |           "DesignCapacity" = 4315

This worked perfectly, thank you so much.
 
  • Like
Reactions: Weaselboy
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.