SLUUBD4A April 2016 – November 2022 BQ27220
This read-only function returns a signed integer value of the measured standby current through the sense resistor. The StandbyCurrent() is an adaptive measurement. Initially, it reports the standby current programmed in Initial Standby, and after spending several seconds in standby, reports the measured standby current.
The register value is updated every second when the measured current is above the Deadband and is less than or equal to 2 × Initial Standby. The first and last values that meet this criteria are not included, because they may not be stable values. To approximate a 1-minute time constant, each new StandbyCurrent() value is computed by taking approximately 93% weight of the last standby current and approximately 7% of the current measured average current.