Files
OpenCellular/driver
Philip Chen ccea4b67f2 battery/max17055: Fix the unit of cycle count
The cycle counts we get from battery_cycle_count()
is in the unit of 1%.
But we should convert it to absolute count to match
the behavior of a smart battery.

BUG=b:74576000
BRANCH=scarlet
TEST='ectool battery' shows reasonable cycle counts

Change-Id: I9d351f8766c90e0addb72a088917ddadfa6c840a
Signed-off-by: Philip Chen <philipchen@google.com>
Reviewed-on: https://chromium-review.googlesource.com/961303
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Philip Chen <philipchen@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
2018-03-14 04:07:09 -07:00
..
2018-03-02 22:22:34 -08:00
2018-02-09 16:07:10 -08:00
2018-03-09 20:05:06 -08:00
2017-07-13 15:08:42 -07:00
2018-03-14 04:06:53 -07:00
2015-06-18 19:07:00 +00:00
2015-06-18 19:07:00 +00:00
2017-02-13 21:15:16 -08:00
2017-02-13 21:15:16 -08:00
2018-03-14 04:06:53 -07:00
2018-03-14 04:06:53 -07:00
2017-10-31 21:49:24 -07:00
2017-10-31 21:49:24 -07:00
2016-08-24 17:40:52 -07:00