summaryrefslogtreecommitdiff
path: root/include/device_event.h
diff options
context:
space:
mode:
authorWai-Hong Tam <waihong@google.com>2020-08-01 08:08:51 -0700
committerCommit Bot <commit-bot@chromium.org>2020-08-05 06:39:09 +0000
commit0e1b12e42b852314b472998649ed3308640fec3f (patch)
treedde1556bb1caa3cc7e1e65490bda8843c9a89810 /include/device_event.h
parent3d07d8f54721123693624ce35235f1afc8b75b54 (diff)
downloadchrome-ec-0e1b12e42b852314b472998649ed3308640fec3f.tar.gz
battery: Calculate the display charge percentage
It doesn't require the powerd's full factory to be 100%. Also refine the comment on the powerd's equation to make it more understandable. BRANCH=None BUG=b:162604872 TEST=With the follower CL which updates the powerd's full factor value, checked EC showing the same Display percentage as the UI. Change-Id: I50ae7c38c423722188d892f91f4fc93d4d5f84e1 Signed-off-by: Wai-Hong Tam <waihong@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2335886 Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'include/device_event.h')
0 files changed, 0 insertions, 0 deletions