diff options
-rw-r--r-- | zephyr/program/skyrim/frostflow/led_policy.dtsi | 32 |
1 files changed, 8 insertions, 24 deletions
diff --git a/zephyr/program/skyrim/frostflow/led_policy.dtsi b/zephyr/program/skyrim/frostflow/led_policy.dtsi index 901d4f4372..28e33219a0 100644 --- a/zephyr/program/skyrim/frostflow/led_policy.dtsi +++ b/zephyr/program/skyrim/frostflow/led_policy.dtsi @@ -4,21 +4,8 @@ power-state-charge { charge-state = "PWR_STATE_CHARGE"; - /* - * The EC modifies the raw battery level to a 'Display' - * level that is then sent to the AP. - * The battery percentages that the LED driver uses for - * comparison is the raw level, but the Display values - * are the ones used to determine the LED thresholds. - * The Display values map to raw values as: - * Display Raw - * 10% 13% - * 11% 14% - * 94% 91% - * 95% 92% - */ - /* Battery display percent range (>= Empty, <= 94%) */ - batt-lvl = <0 91>; + /* Battery percent range (>= Empty, <= 94%) */ + batt-lvl = <0 94>; color-0 { led-color = <&color_amber>; @@ -27,11 +14,8 @@ power-state-charge-lvl-2 { charge-state = "PWR_STATE_CHARGE"; - /* - * Battery display percent range - * (>= 95%, <= Near Full) - */ - batt-lvl = <92 97>; + /* Battery percent range (>= 95%, <= Near Full) */ + batt-lvl = <95 97>; color-0 { led-color = <&color_white>; @@ -49,8 +33,8 @@ power-state-discharge-s0 { charge-state = "PWR_STATE_DISCHARGE"; chipset-state = "POWER_S0"; - /* Battery display percent range (>= 11%, <= Full) */ - batt-lvl = <14 100>; + /* Battery percent range (>= 11%, <= Full) */ + batt-lvl = <11 100>; color-0 { led-color = <&color_white>; @@ -60,8 +44,8 @@ power-state-discharge-s0-batt-low { charge-state = "PWR_STATE_DISCHARGE"; chipset-state = "POWER_S0"; - /* Battery display percent range (>= Empty, <= 10%) */ - batt-lvl = <0 13>; + /* Battery percent range (>= Empty, <= 10%) */ + batt-lvl = <0 10>; /* Amber 1 sec, off 3 sec */ color-0 { |