power: bq27441: init FG on charge complete if FCC is less
Initializing the fule gauge chip on charge complete if full
charge capacity value is less than the threshold value.
In certain specific cases, the fuel gauge will incorrectly learn
the wrong total capacity of the battery and the user will have
much less capacity than expected, updating all configurable
registers in such cases.
Bug
1630825
Change-Id: I726ae7b7ee6839c2684d9796b07a1e6ed9e1451d
Signed-off-by: Venkat Reddy Talla <vreddytalla@nvidia.com>
Reviewed-on: http://git-master/r/726203
(cherry picked from commit
efe43e642ff016ebf933cf141767e95585e79229)
Reviewed-on: http://git-master/r/730008
GVS: Gerrit_Virtual_Submit
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>