SLUUBD4A April 2016 – November 2022 BQ27220
This read-only function returns an unsigned integer value of the amount of coulombs taken out of a battery during charge/discharge. The counter increments during discharge and decrements during charge. During charge, when the FC bit is set (indicating full charge), the counter is cleared to 0. The IGNORE_SD bit provides the capability to ignore a self-discharge.
IGNORE_SD = 0 (default) = | Coulomb counter increments during regular or self discharge |
IGNORE_SD = 1 = | Coulomb counter increments only if there is a real discharge |