diff options
author | Terry2_Lee <Terry2_Lee@pegatoncorp.com> | 2016-01-06 14:40:18 +0800 |
---|---|---|
committer | ChromeOS bot <3su6n15k.default@developer.gserviceaccount.com> | 2016-01-06 18:12:00 +0000 |
commit | c0c40f97879c8a4fb700919ccb50ff3498ee8895 (patch) | |
tree | db53e2af241b8ae5edfaa9c14cda2afa8b53be9d | |
parent | a239ed0c8360e23cc3d76e6a72694788c7a2de56 (diff) | |
download | chrome-ec-c0c40f97879c8a4fb700919ccb50ff3498ee8895.tar.gz |
edgar: Update LED behavior by customer spec
BUG=none
BRANCH=firmware-strago-7287.B
TEST=Verify
Change-Id: Ib52d985175035ac7104d292fd2d3422d8ce5db76
Signed-off-by: terry2_lee <terry2_lee@pegatroncorp.com>
Reviewed-on: https://chromium-review.googlesource.com/320546
Reviewed-by: Terry2 Lee <Terry2_Lee@pegatroncorp.com>
Commit-Queue: Terry2 Lee <Terry2_Lee@pegatroncorp.com>
Tested-by: Terry2 Lee <Terry2_Lee@pegatroncorp.com>
Reviewed-by: Shawn N <shawnn@chromium.org>
-rw-r--r-- | board/edgar/led.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/edgar/led.c b/board/edgar/led.c index 17e63a3932..06c8e1baa7 100644 --- a/board/edgar/led.c +++ b/board/edgar/led.c @@ -24,7 +24,7 @@ #define LED_TOTAL_SECS 4 #define LED_ON_SECS 1 -#define CRITICAL_LOW_BATTERY_PERMILLAGE 45 +#define CRITICAL_LOW_BATTERY_PERMILLAGE 72 #define LOW_BATTERY_PERMILLAGE 138 static int led_debug; @@ -156,7 +156,7 @@ static void edgar_led_set_battery(void) * Force idle (for factory): 2 secs of blue, 2 secs of orange * Under charging: Orange * Battery low (10%[UI]): Orange in breeze mode (1 sec on, 3 sec off) - * Battery critical low (less than 0%[UI]) or abnormal battery + * Battery critical low (less than 3%[UI]) or abnormal battery * situation: Orange in blinking mode (1 sec on, 1 sec off) * Using battery or not connected to AC power: OFF */ @@ -172,7 +172,7 @@ static void edgar_led_set_battery(void) bat_led_set_color(full_charge_flag ? LED_BLUE : LED_ORANGE); break; case PWR_STATE_DISCHARGE: - /* Less than 0%[UI], blink one second every two seconds */ + /* Less than 3%[UI], blink one second every two seconds */ if (!chipset_in_state(CHIPSET_STATE_ANY_OFF) && permillage <= CRITICAL_LOW_BATTERY_PERMILLAGE) bat_led_set_color( |