mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-05 14:31:31 +00:00
isl9237 uses HW ramping but has no way to monitor the ramp current. Zero is not a good estimate of the ramp current and scares users into thinking their device isn't charging, so use the nominal current limit instead. BUG=chrome-os-partner:51286 BRANCH=Glados TEST=Verify "ectool usbpdpower" on chell reports "14xxxmV / 2668mA" rather than "... / 0mA" with stock charger attached. Change-Id: I0a29c8092b4994fda68dc3db8e02be2e0f234fd9 Signed-off-by: Shawn Nematbakhsh <shawnn@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/334237 Reviewed-by: Vincent Palatin <vpalatin@chromium.org> (cherry picked from commit cef36e872f72db9e060dd0cc7e5bced3062fbfd1) Reviewed-on: https://chromium-review.googlesource.com/334395 Commit-Ready: Shawn N <shawnn@chromium.org> Tested-by: Shawn N <shawnn@chromium.org> Reviewed-by: Shawn N <shawnn@chromium.org>