Files
OpenCellular/include
Randall Spangler 75acd4065a Clean up power LED state machine on link
The power LED now has its own tick-based handler which knows how to
blink the LED and resend the desired LED state to work around the
flaky 1-wire connection.

Removes a bunch of LED state code from charge_state.c.

No user-visible impact.  Does not need to go into link branch.

BUG=chromium-os:18256
BRANCH=none
TEST=manual

1) Discharge battery to <97%
2) Plug in AC.  LED=yellow
3) 'ectool chargeforceidle 1' from root shell.  LED=blinking green/off.
4) 'ectool chargeforceidle 0' from root shell.  LED=yellow.
5) Wait for battery >= 97% (or 'battfake 98' from EC console).  LED=green.
6) Unplug battery.  LED=red (may take 10 sec).
7) Replug battery.  LED=green.

Change-Id: I999ee3e1abe269bb3f737bbc75e0b872316605ce
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/45469
Reviewed-by: Vic Yang <victoryang@chromium.org>
2013-03-14 15:44:14 -07:00
..
2013-03-13 12:11:59 -07:00
2012-10-24 10:09:20 -07:00
2012-10-30 12:42:47 -07:00
2012-10-30 14:50:03 -07:00
2011-12-07 19:10:02 +00:00
2012-10-26 09:49:38 -07:00
2012-10-25 11:24:04 -07:00
2012-10-30 12:42:46 -07:00
2012-10-30 15:33:25 -07:00
2012-06-29 10:46:22 -07:00
2012-10-23 17:32:01 -07:00
2012-10-30 12:42:46 -07:00
2012-06-07 09:59:55 -07:00
2012-11-04 20:27:57 -08:00
2011-12-07 19:10:02 +00:00
2012-10-25 14:12:11 -07:00
2012-10-29 10:36:05 -07:00
2011-12-07 19:10:02 +00:00
2012-10-25 14:12:10 -07:00
2012-10-25 17:03:44 -07:00
2012-10-25 17:03:44 -07:00
2012-08-09 17:40:37 -07:00
2012-10-30 14:50:03 -07:00
2012-10-25 17:03:43 -07:00
2012-09-09 11:00:34 -07:00
2012-10-26 13:10:57 -07:00
2012-10-29 16:52:49 -07:00
2012-10-30 12:42:43 -07:00
2012-10-26 09:49:37 -07:00