mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-31 11:01:19 +00:00
4c8445626a6c5e18bfef7effd61eb74813522e06
To improve robustness of booting under low battery condidtions, increased the thershold CONFIG_USB_PD_TRY_SRC_MIN_BATT_SOC from 1 to 2. The effect of this change is that try srouce mode will be disabled until the battery has >= 2% of charge. This prevents the port from disconnecting, when a USB PD charge is connected under this low battery condition. BUG=b:36093023 BRANCH=None TEST=Verfied that when the battery charge was < 2% the USB PD state machine on Eve did not go to state 15 (SRC_DISCONNECTED) after initially attaching as a sink device. When the battery charge is >= 2% then observed that the transition to state 15 happens. Change-Id: I50123bc4f98e7a8dc793d9a9844d1d9961fde121 Signed-off-by: Scott <scollyer@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/452739 Commit-Ready: Scott Collyer <scollyer@chromium.org> Tested-by: Scott Collyer <scollyer@chromium.org> Reviewed-by: Duncan Laurie <dlaurie@google.com>
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%