summaryrefslogtreecommitdiff
path: root/chip
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2019-06-10 10:54:24 -0700
committerCommit Bot <commit-bot@chromium.org>2019-06-25 01:21:31 +0000
commit0c6820b6fb2f8f2f4fdfe0f2612cb0c766059644 (patch)
treef651fba0a93f605723fd72745f264596a79f7497 /chip
parent52e914fa8e674f61b9602f124e998a74adbc2b61 (diff)
downloadchrome-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