diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2019-06-10 10:54:24 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-06-25 01:21:31 +0000 |
commit | 0c6820b6fb2f8f2f4fdfe0f2612cb0c766059644 (patch) | |
tree | f651fba0a93f605723fd72745f264596a79f7497 /chip | |
parent | 52e914fa8e674f61b9602f124e998a74adbc2b61 (diff) | |
download | chrome-ec-0c6820b6fb2f8f2f4fdfe0f2612cb0c766059644.tar.gz |
chg_sw_ramp: Don't set charge limit if ramping is stable
Currently, the charge limit is set repeatedly even when the ramping is
stable.
This patch makes chg_ramp_task sleep until
chg_ramp_charge_supplier_change and skip board_set_charge_limit if
ramping is stable.
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
BUG=b/131284131,b/36468002
BRANCH=none
TEST=buildall
Change-Id: I701ffaf149627582bf7bcb4660420d4f9438ad94
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1650217
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: Yilun Lin <yllin@chromium.org>
Tested-by: Daisuke Nojiri <dnojiri@chromium.org>
Auto-Submit: Daisuke Nojiri <dnojiri@chromium.org>
Commit-Queue: Sean Abraham <seanabraham@chromium.org>
Diffstat (limited to 'chip')
0 files changed, 0 insertions, 0 deletions