mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-30 18:41:11 +00:00
Allow to force discharging the battery while a power source is plugged for factory testing. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=smaug BUG=chrome-os-partner:42509 TEST=On Smaug EVT2 with USB-C cable plugged, issue "fwtool ec chargecontrol discharge" or "ectool chargecontrol discharge" and monitor the battery level for 10 min. Change-Id: I0c4daa8ab442726cd398c121467718c50dbf0bef Reviewed-on: https://chromium-review.googlesource.com/287590 Trybot-Ready: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org>