diff options
author | Philip Chen <philipchen@google.com> | 2018-10-31 15:15:50 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2018-11-01 20:22:17 +0000 |
commit | 299920380da89ba1c1f8efcb4cc39c76dde3c1b0 (patch) | |
tree | 3390baea2f9f3b3921a59519101ed99fd8290494 /power/common.c | |
parent | 319ae8c6240f698574163388a197b0b24b9d66db (diff) | |
download | chrome-ec-299920380da89ba1c1f8efcb4cc39c76dde3c1b0.tar.gz |
scarlet: Throttle PD voltage based on battery level
BUG=b:78792296
BRANCH=scarlet
TEST=Sequentially test on Dru:
1)When SOC < BAT_LEVEL_PD_LIMIT, plug in AC and confirm
PD voltage == 9V in S0/S3/S5.
2)Leave Dru off (S5) and plugged in, when SOC crosses
BAT_LEVEL_PD_LIMIT, confirm PD voltage drops from 9V to 5V.
3)When SOC > BAT_LEVEL_PD_LIMIT, plug in AC and confirm
PD voltage == 9V in S0 and PD voltage == 5V in S3/S5
Change-Id: I770dc385efd8cab5e715f391ec49325446c9d43e
Signed-off-by: Philip Chen <philipchen@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/1311753
Reviewed-by: David Schneider <dnschneid@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Commit-Queue: Philip Chen <philipchen@chromium.org>
Tested-by: Philip Chen <philipchen@chromium.org>
Trybot-Ready: Philip Chen <philipchen@chromium.org>
Diffstat (limited to 'power/common.c')
0 files changed, 0 insertions, 0 deletions