MacBook Battery Time Remaining

Apple removed the “battery time remaining” indicator from the battery status menu in the latest version 10.12.2 of macOS. Apparently it wasn’t accurate.

Did you know that MacBook batteries have a dedicated chip that keeps track of how much energy goes in and out of the battery during all times? For example, the 13″ MacBook Pro from 2015 uses a BQ20Z451 “battery fuel gauge chip” from Texas Instruments:

TI BQ20Z451 Battery Fuel Gauge in MacBook Pro
Photo by iFixit.

BQ20Z655 appears to be a very similar device that has a publicly available datasheet. The name of the chip is mentioned in the Power section of the System Report.

Predicting Energy Usage

These chips are extremely smart — their whole purpose is to keep track of the state of the battery:

The bq20z655-R1 measures and maintains an accurate record of available charge in Li-ion or Li-polymer batteries using its integrated high-performance analog peripherals. The bq20z655-R1 monitors capacity change, battery impedance, open-circuit voltage, and other critical parameters of the battery pack which reports the information to the system host controller over a serial-communication bus.

However, they can’t predict when and how long you’re going to play Rocket League, watch streaming videos or listen to music. All these activities require different amounts of energy by various components of the computer. That is why calculating and predicting the state of charge (SOC) is extremely hard. Even Tesla doesn’t know how long you’ll be driving in the “Ludicrous Mode”.

The best it can do is to assume that whatever happens now will continue until the battery runs out. This is also why Apple lists the battery life in terms of one continuous activity:

  • Up to 10 hours wireless web
  • Up to 10 hours iTunes movie playback
  • Up to 30 days of standby time

It is almost impossible to provide a reliable estimate when you mix and match various activities.

Conclusions

Assuming that macOS is pulling the battery estimates from the TI chip (see pages 16 and 17 of the datasheet for all the available data fields) it is possible that the algorithms used by the chip don’t account for certain power usage behaviours of various components (for example, power saving modes) which produced wildly inaccurate estimates.

Smart Battery Systems (SBS) MacBook Pro Battery Properties

Suggested Reading

Here is a great paper on the internals of the MacBook battery by Charlie Miller and a video of his talk at DEFCON 2013 on the same subject:

3 Comments

  1. Daniel Combs says:

    Come on now…we all know it’s the eye candy touch bar on top of the keys…that’s hogging all the juice. Thank goodness I bought a Carbon X1 which has a ESC key, more battery life, and it didn’t dent my bank account.

    Apple has enough money NOT to innovate for the next 3-5 years and by then…it will be too late.

    History does repeat itself my friends.

  2. Jeremy says:

    Apple should have just changed the time remaining string to “Up to 10 hrs” and left it at that.

Leave a Reply to Jeremy Cancel reply