diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2018-11-01 12:46:33 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-11-14 16:56:25 -0800 |
commit | e470e5a7f05143646685ed1bb0b73076fc2682ba (patch) | |
tree | 0b0bcbfec4019b7d7636f6975549c8b2356d28d7 /include/tpm_registers.h | |
parent | 8edc6088475e1a346156315c6765af89cc1b7856 (diff) | |
download | chrome-ec-e470e5a7f05143646685ed1bb0b73076fc2682ba.tar.gz |
Battery: Apply full factor to full capacity
This change introduces CONFIG_BATT_HOST_FULL_FACTOR. If it's 100,
meaning no compensation, we multiply full capacity by
CONFIG_BATT_FULL_FACTOR. This makes the rest of the system see
consistent charge percentage behavior.
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
BUG=b:109954565,b:80270446
BRANCH=none
TEST=Verify display percentages printed by EC and power_supply_info
move up synchronously on charge and turns to full at the same time.
Change-Id: Ifb27c802b0cf04195ac5b426c13f9476189feb75
Reviewed-on: https://chromium-review.googlesource.com/1313468
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'include/tpm_registers.h')
0 files changed, 0 insertions, 0 deletions