Your Mac's battery keeps a diary
Updated 6 November 2026 · Who measures this.
The battery's entry in the macOS registry holds 13 or more lifetime counters: hours, temperature extremes, largest currents. System Information does not list them, and one Terminal command prints them all.
A few apps show some. WattMate prints the hours counter and the temperature extremes, and coconutBattery Plus lists a "Battery Lifetime Analyzer" covering temperature, voltage, charge rates and operating time (their page, checked 2 November 2026). This page is about what the battery records. WattMate's own list of runs, nights and charges is History.
What command prints the counters?
An ioreg command pasted into Terminal. It reads the battery's entry in the registry, changes nothing and prints 1 line
per counter, under Apple's own names.
{ ioreg -rn AppleSmartBattery -a; ioreg -rn AppleSmartBatteryPack -a; } 2>/dev/null | awk -F'[<>]' '/<key>LifetimeData</{f=1; next} f&&/<\/dict>/{f=0} f&&/<key>/{k=$3} f&&/<integer>/&&!s[k]++{printf "%-31s %s\n", k, $3; n++} f&&/<data>/&&!s[k]++{printf "%-31s (bytes)\n", k; n++} END{if(!n) print "No lifetime counters found on this Mac"}'
A 14-inch MacBook Pro with M3 Max on macOS 27.0 printed this 20 hours after the readings below:
AverageTemperature 237 CycleCountLastQmax 644 MaximumChargeCurrent 7061 MaximumDischargeCurrent -8076 MaximumPackVoltage 13307 MaximumTemperature 43 MinimumPackVoltage 9819 MinimumTemperature 3 RDISCnt 0 Raw (bytes) TemperatureSamples 425712 TotalOperatingTime 26606 UpdateTime 1793966115
What the counters hold
Apple's key names are the only description there is, so the last column says what we could check ourselves.
| Key | What we checked |
|---|---|
TotalOperatingTime | Rises at the speed of the calendar, in hours, see below |
MaximumTemperatureMinimumTemperatureAverageTemperature | Unit not documented |
MaximumChargeCurrentMaximumDischargeCurrent | Unit not documented |
MaximumPackVoltageMinimumPackVoltage | Unit not documented |
CycleCountLastQmax | Meaning not documented |
UpdateTime | As Unix time, 40 seconds behind the clock, on one reading |
TemperatureSamplesRDISCnt | Meaning not documented |
Raw | Bytes, meaning not documented. The command marks them and does not print them |
TimeAtHighSoc | Bytes as well, not on every Mac, see below |
ResistanceUpdatedDisabledCount | On macOS 14.2.1 and 26.7.1, not on macOS 27. Meaning not documented |
A key does not keep one scale across Macs. MaximumTemperature reads 43 here and 425 on a MacBook Pro 13-inch (M1) on
macOS 26.7.1, so this page prints every value as stored.
The command asks for the property list with -a on purpose. Plain ioreg prints negative values as unsigned
wraparound: the key that comes back as -8076 shows as 18446744073709543540. On macOS 27 the block moved to a
child entry of the battery, AppleSmartBatteryPack, so the command reads both places.
The hours counter is not time in use
TotalOperatingTime rises whether the Mac is used or not. It read
24 801 on macOS 26.5.2 and 26 586 on macOS 27.0: up 1 785
in the 1 778 hours the calendar says had passed, through sleep, shut lids and the upgrade.
It is a clock, not an odometer.
It also started before the Mac was set up. This Mac's setup file was 18 387 hours old at the macOS 26.5.2 reading, and the counter was 6 414 hours ahead of that. 13 days after setup, a MacBook Air 13-inch (M5) read 1 221 hours: 51 days. When the counter starts, we do not know.
What did 6 batteries record?
These 6 Macs read as below, as stored and not converted. Hours do not show how hard a battery was used: the first 2 have similar hours, and one has more than 3 times the cycles of the other.
| Mac | macOS | Hours | Cycles | Max temp | Min temp |
|---|---|---|---|---|---|
| MacBook Pro 13-inch, M1 | 26.7.1 | 46 325 | 540 | 425 | 119 |
| MacBook Pro 14-inch, M1 Pro | 27.0.1 | 43 608 | 1 730 | 46 | 9 |
| MacBook Pro 14-inch, M3 Max | 27.0 | 26 586 | 652 | 43 | 3 |
| MacBook Pro 14-inch, M1 Pro | 14.2.1 | 23 306 | 1 052 | 43 | 7 |
| MacBook Air 13-inch, M2 | 27.2 | 20 772 | 195 | 39 | 5 |
| MacBook Air 13-inch, M5 | 27.0.1 | 1 221 | 12 | 38 | 9 |
The histogram that adds up
TimeAtHighSoc read 112 bytes on this Mac under macOS 26.5.2, which unpacks
into 28 unsigned 32-bit counters. Their sum was 24 802 against a lifetime of 24 801
hours, 1 apart. The key was there on the M1 on macOS 26.7.1 and the M1 Pro on
macOS 14.2.1, and absent on all 4 Macs we read on macOS 27. What each counter stands for, we do not know.
Which of these does WattMate show?
On the Battery tab: the hours, as "Has run for", and the 2 temperature extremes as the
ends of its temperature scale. No unit is documented, so the app turns them into °C by
their size, which is our assumption. Where TimeAtHighSoc exists, the same
tab draws "How long it sat full", reading the counters as charge levels from the key's
name, which Apple does not confirm.
Questions people ask
Does a high operating time mean my battery is worn?
Not on its own. The counter runs at the speed of the calendar, so it grows whether the Mac is used or not. In the table above, 2 MacBook Pros with similar hours have 540 and 1,730 cycles.
Can I reset them?
We know of no way, and we have not tried one. An upgrade left them in place: this Mac's extremes and average read the same before and after macOS 27. A new setup did not clear the hours either: the M1 read 46 325 when its setup file was only weeks old. Checking a used MacBook covers what else is worth reading before money changes hands.
My numbers look different from the ones here
They should: the 6 Macs we compared already differ in the scale of a key and in which keys they have.
How it was measured
| The command | Run in zsh and bash on macOS 14.2.1, 26.7.1, 27.0 and 27.2. |
| The numbers | One MacBook Pro 14-inch (Mac15,10, M3 Max), read on macOS 26.5.2 and on macOS 27.0, unless another Mac is named. |
What this doesn't show
- What the counters mean. Apple documents none of these keys, so this page says only what we read and checked.
- How hard a battery was used. The hours run with the calendar, and 2 Macs with similar hours can differ more than 3 times in cycles.
Related: your battery's real health number · health against cycle count · checking a used MacBook · History, the app's own record · the other tools
See which app is spending the charge
10 days free, no card · Requires macOS 14 or later · Apple silicon