]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
power: bq27441: init FG on charge complete if FCC is less
authorVenkat Reddy Talla <vreddytalla@nvidia.com>
Wed, 1 Apr 2015 11:54:06 +0000 (17:24 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Mon, 4 May 2015 18:34:07 +0000 (11:34 -0700)
commit65c72159a38357041b081cb26a5d13e4ffc4ae8c
treec615e56ca7e84fba40ea2efce913758d7cfcf83a
parent1bbb55672c097d523e9f9056bafae7bb87782185
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>
drivers/power/bq27441_battery.c
include/linux/power/bq27441_battery.h