How iOS 16 Calculates Battery Health and Capacity

Apple’s iOS 16 measures battery health and degradation through a combination of hardware fuel-gauge sensors, algorithmic Coulomb counting, and continuous internal resistance monitoring. This article explains how the operating system translates complex chemical degradation into the user-facing "Maximum Capacity" percentage and determines whether an iPhone can maintain "Peak Performance Capability."

The Hardware Gas Gauge and Coulomb Counting

At the core of the calculation is a dedicated battery management chip (often referred to as a fuel gauge or gas gauge) integrated into the battery pack. This hardware continuously measures electrical current flowing into and out of the lithium-ion cells using a method called Coulomb counting.

By measuring the current integrated over time (in milliampere-hours, or mAh), the system tracks the precise amount of energy the battery absorbs during charging and yields during discharging. In iOS 16, the system compares the total charge a battery can hold at full saturation against its original design capacity when the device was manufactured:

\[\text{Maximum Capacity \%} = \left(\frac{\text{Current Full Charge Capacity (mAh)}}{\text{Design Capacity (mAh)}}\right) \times 100\]

Impedance Tracking and Voltage Drop

Coulomb counting alone is insufficient because chemical degradation also alters a battery’s internal resistance (impedance). As lithium-ion batteries age chemically, their internal resistance increases, causing the battery's voltage to drop more sharply under heavy workloads.

iOS 16 continuously monitors voltage under varying loads:

  • Open-Circuit Voltage (OCV): Measured when the device is idle or drawing minimal current, providing an accurate baseline estimate of the remaining chemical state of charge.
  • Closed-Circuit Voltage (CCV): Measured when the device demands sudden peak power (such as launching a demanding 3D game, recording 4K video, or taking a flash photo).

By tracking the delta between OCV and CCV relative to current draw, iOS calculates the battery's internal impedance. If the impedance becomes too high, the system adjusts the reported health downward, recognizing that the cell can no longer sustain sustained electrical output regardless of raw capacity.

Environmental Telemetry and Cycle Tracking

iOS 16 factors environmental exposure into its degradation modeling. The power management unit logs:

  • Discharge Cycles: One complete cycle is counted each time 100% of the battery's capacity is consumed, whether drained in one continuous session or across multiple days.
  • Thermal Exposure: High temperatures degrade the electrolyte and cathode faster. Exposure to heat, especially while sustained at 100% state-of-charge, accelerates the software's calculated rate of degradation.

These environmental logs help the system normalize readings, preventing temporary conditions (like extreme cold, which temporarily reduces ion mobility) from falsely triggering permanent drops in reported capacity.

Dynamic Calibration and Recalibration

Battery capacity reporting is not static; it requires dynamic recalibration to stay accurate. Because lithium-ion state cannot be measured directly without fully discharging and recharging the cell, iOS 16 relies on opportunistic calibration events.

When an iPhone sits idle at low states of charge and later charges steadily to 100% (supported by features like Optimized Battery Charging), iOS recalibrates its internal state estimation tables. If the telemetry data drifts—a common issue when devices are frequently topped off between 40% and 80% without reaching full cycle boundaries—the algorithm updates its capacity estimates once a full charging sweep occurs.

Peak Performance Capability Reporting

The "Peak Performance Capability" metric is tied directly to the impedance and voltage threshold calculations. If the battery's internal resistance reaches a point where it cannot supply the instantaneous current required by the system-on-chip (SoC), the battery voltage can drop below the minimum operating threshold (roughly 3.0V to 3.4V per cell).

To prevent the device from suddenly powering off:

  1. The hardware power management unit detects a voltage sag that threatens shutdown.
  2. iOS 16 logs the event and re-evaluates the battery’s health status.
  3. The system activates performance management—dynamically clocking down the CPU and GPU—and notifies the user that the battery’s health has degraded to the point where peak power demands cannot be fulfilled.