diff options
author | Wai-Hong Tam <waihong@google.com> | 2020-08-01 08:08:51 -0700 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-09-13 17:33:35 +0000 |
commit | 942068858e9bc1fcd436a04b6dec8a632321fc8e (patch) | |
tree | ce9edf364fd50733f57dd8b639d760bf8b2329f6 /driver | |
parent | 9fdb85f84a3a5b964597de7cc1822be42ad9c462 (diff) | |
download | chrome-ec-942068858e9bc1fcd436a04b6dec8a632321fc8e.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/+/3872707
Tested-by: Daisuke Nojiri <dnojiri@chromium.org>
Auto-Submit: Daisuke Nojiri <dnojiri@chromium.org>
Commit-Queue: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'driver')
0 files changed, 0 insertions, 0 deletions