mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-14 16:46:23 +00:00
23947f1d3b79479efa11c7caffaa35cd4f314926
With CONFIG_BATTERY_REVIVE_DISCONNECT once the battery FULL flag gets set, charge_state_v2 will call battery_get_disconnect_state. That function had console print that's only meaningful when the battery is actually disconnected. To avoid flooding the EC console log under this expected condition, this CL moves the console log so that it only happens when the battery is present, but disconnected. BRANCH=none BUG=b:79133101 TEST=Verfied that with full battery the console log message is no longer showing. Also verifed that can recover from battery cutoff condition. Change-Id: Id2e161cbd52c0ef07f28b94608f9615071327c97 Signed-off-by: Scott Collyer <scollyer@google.com> Reviewed-on: https://chromium-review.googlesource.com/1064975 Commit-Ready: Scott Collyer <scollyer@chromium.org> Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Jett Rink <jettrink@chromium.org>
For an overview of the Embedded Controller firmware, refer to http://www.chromium.org/chromium-os/2014-firmware-summit For instructions on building from source, refer to http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly
Description
Languages
C
64.7%
Lasso
20.7%
ASL
3.6%
JavaScript
3.2%
C#
2.9%
Other
4.6%