mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 10:45:22 +00:00
Whatever the battery gas gauge returns, ensure we never charge below 0 C and above 60 C. Signed-off-by: Vincent Palatin <vpalatin@chromium.org> BRANCH=smaug BUG=chrome-os-partner:44820 TEST=charge a Smaug DVT, use a cold spray on the battery and see the charge stop. Change-Id: I8670fbe1713b35aa079bebc9c5bb70e9f28cf8ac Reviewed-on: https://chromium-review.googlesource.com/299945 Trybot-Ready: Vincent Palatin <vpalatin@chromium.org> Tested-by: Vincent Palatin <vpalatin@chromium.org> Reviewed-by: Alec Berg <alecaberg@chromium.org> Commit-Queue: Vincent Palatin <vpalatin@chromium.org> (cherry picked from commit 1d19259be3b0721667835ce01bfe719fb547785e) Reviewed-on: https://chromium-review.googlesource.com/299906 Commit-Ready: Vincent Palatin <vpalatin@chromium.org>