summaryrefslogtreecommitdiff
path: root/board/nautilus/board.c
diff options
context:
space:
mode:
authorPhilip Chen <philipchen@google.com>2018-03-13 12:38:44 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2018-03-15 00:21:00 +0000
commitade94f104b8a60475a2a3b5bcce597375de55939 (patch)
tree7ef350b4cff0613e6ef31e8d7474f5e9d3cbe8cd /board/nautilus/board.c
parent80863e145c557a8098673e71de80a29c9c2748fe (diff)
downloadchrome-ec-ade94f104b8a60475a2a3b5bcce597375de55939.tar.gz
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> (cherry picked from commit ccea4b67f2e36a505ddf546bde284f75d728add0) Reviewed-on: https://chromium-review.googlesource.com/963745 Reviewed-by: Furquan Shaikh <furquan@chromium.org> Commit-Queue: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Trybot-Ready: Furquan Shaikh <furquan@chromium.org>
Diffstat (limited to 'board/nautilus/board.c')
0 files changed, 0 insertions, 0 deletions