diff options
Diffstat (limited to 'include/battery.h')
-rw-r--r-- | include/battery.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/battery.h b/include/battery.h index 5644a22da2..b5b3909abe 100644 --- a/include/battery.h +++ b/include/battery.h @@ -19,12 +19,11 @@ /* Threshold for power led to turn green */ #define POWERLED_GREEN_THRESHOLD 90 -/* Define the lightbar thresholds, as though we care. */ -#define LIGHTBAR_POWER_THRESHOLD_BLUE 90 -#define LIGHTBAR_POWER_THRESHOLD_GREEN 40 -#define LIGHTBAR_POWER_THRESHOLD_YELLOW 10 -/* Red below 10% */ - +/* Define the lightbar color thresholds */ +#define LIGHTBAR_POWER_THRESHOLD_FULL 99 +#define LIGHTBAR_POWER_THRESHOLD_HIGH 40 +#define LIGHTBAR_POWER_THRESHOLD_MEDIUM 10 +/* LOW is anything below MEDIUM */ #endif /* __CROS_EC_BATTERY_H */ |