Files
device_google_wahoo/health/LearnedCapacityBackupRestore.cpp
Thierry Strudel ed713cf656 health: fix learned capacity backup/restore
The code was only allowing the Learned Capacity to decrease while
QCOM FG learned capacity may actually go up for some reasons.
Ensure we use the FG learned capacity on update and always restore
the saved one on boot.

Bug: 109734601
Change-Id: I21b559c27a5298e8eea39ec502e4f1d6f7a4b053
Signed-off-by: Thierry Strudel <tstrudel@google.com>
2018-06-21 08:12:02 +00:00

3.1 KiB