Jack Wu 282b3e3c9b healthd: fix the over estimated battery capacity
Overwrite the gauge capacity with the backup one if the gauge capacity
reset to nominal.

Test: fake /sys/class/power_supply/bms/charge_full to nominal and
      check if it can be restored from /persist/battery/qcom_charge_full
Bug: 158838006
Signed-off-by: Jack Wu <wjack@google.com>
Change-Id: I4b85dd5e0c3ca929044aa8776294b841db7214e1
2020-06-16 07:09:40 +00:00
2020-02-07 14:02:18 +00:00
2019-02-08 17:58:38 -08:00
2019-06-05 19:42:17 -07:00
2018-04-16 17:46:13 -07:00
2017-03-21 10:28:34 -07:00
2017-09-10 16:50:08 -07:00
2020-05-25 16:58:02 +09:00
2018-04-04 20:30:50 -07:00
Description
No description provided
4.4 MiB
Languages
C++ 54.8%
Makefile 33.2%
C 5.5%
Shell 4.6%
Python 1.3%
Other 0.6%