SLUUBD4A April 2016 – November 2022 BQ27220
The AtRate() read- and write-word function is the first half of a two-function command set that sets the AtRate value used in calculations made by the AtRateTimeToEmpty() function. The AtRate() units are in mA.
The AtRate() value is a signed integer, with negative values interpreted as a discharge current value. The AtRateTimeToEmpty() function returns the predicted operating time at the AtRate value of discharge. The default value for AtRate() is 0 and forces AtRateTimeToEmpty() to return 65,535. Both the AtRate() and AtRateTimeToEmpty() commands must only be used in the NORMAL mode.