nightfury : blink charge led on low battery
need to blink charge led to notify user that battery is low.
BRANCH=firmware-hatch-12672.B
TEST=make -j BOARD=nightfury
#define LED_OFF_LVL 1
#define LED_ON_LVL 0
-const int led_charge_lvl_1 = 0;
+const int led_charge_lvl_1 = 1;
const int led_charge_lvl_2 = 100;
/* Nightfury : There are 3 leds for AC, Battery and Power */
struct led_descriptor led_bat_state_table[LED_NUM_STATES][LED_NUM_PHASES] = {
- [STATE_CHARGING_LVL_1] = {{EC_LED_COLOR_RED, LED_INDEFINITE} },
+ [STATE_CHARGING_LVL_1] = {{EC_LED_COLOR_RED, 0.5 * LED_ONE_SEC},
+ {LED_OFF, 0.5 * LED_ONE_SEC} },
[STATE_CHARGING_LVL_2] = {{EC_LED_COLOR_RED, LED_INDEFINITE} },
[STATE_CHARGING_FULL_CHARGE] = {{EC_LED_COLOR_GREEN, LED_INDEFINITE} },
[STATE_DISCHARGE_S0] = {{EC_LED_COLOR_GREEN, LED_INDEFINITE} },
