Files
OpenCellular/test
Aseda Aboagye 1cf94fd052 chg_ramp: Don't change ICL until vals are init'd.
When the charge ramp task starts, it starts up in the DISCONNECTED
state.  From this state, it's possible to set the input current limit to
0 mA.  However, upon task start, we shouldn't take any action until we
have valid values from a new charge supplier or a supplier leaving.

This commit changes the charge ramp task to not touch the input current
limit until the charge ramp state changes or the desired input current
changes at least once.

BUG=b:36468002
BRANCH=gru,master
TEST=Flash kevin EC RW or build AP FW that contains the fix that will by
sync'd by EC SW sync.  Make sure WP is asserted to prevent PD
communications in RO.  Unplug battery.  Plug in AC, verify that system
can boot up to UI on AC alone.
TEST=make -j buildall

Change-Id: I351917bce7902c49d1bb842a0cc83dd161d75b6f
Reviewed-on: https://chromium-review.googlesource.com/461382
Commit-Queue: Aseda Aboagye <aaboagye@chromium.org>
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/463927
Commit-Ready: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
2017-03-30 17:35:44 -07:00
..
2013-09-05 07:20:46 +00:00
2013-05-14 09:25:03 -07:00
2013-09-04 20:32:52 +00:00
2014-01-08 03:49:29 +00:00
2013-07-11 22:32:52 -07:00
2013-09-05 07:20:56 +00:00
2013-10-01 08:16:34 +00:00
2014-01-06 12:40:45 +00:00
2013-04-11 11:29:32 -07:00
2014-01-06 12:40:45 +00:00
2013-04-10 09:35:06 -07:00
2015-06-18 19:07:00 +00:00
2013-04-10 09:35:06 -07:00
2013-04-19 10:41:33 -07:00
2013-07-22 16:09:47 -07:00
2013-07-22 16:09:47 -07:00
2012-06-07 20:01:49 -07:00
2013-04-15 20:40:03 -07:00
2014-01-09 20:26:10 +00:00
2012-07-13 02:10:46 -07:00
2013-04-10 09:35:06 -07:00
2014-10-04 21:08:48 +00:00
2017-02-17 01:46:31 +00:00