Skip to content

Commit 90a994a

Browse files
committed
Disable blue power button colour
Early Intel models report that their power button LED supports blue colour, but in reality it just turns it off.
1 parent 7b123da commit 90a994a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

yafi/leds.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,9 @@ def handle_led_kbd(scale):
118118
continue
119119
else:
120120
raise e
121+
122+
# Power LED does not support Blue, even though Intel models think they do
123+
leds[ec_commands.leds.EcLedId.EC_LED_ID_POWER_LED][2] = 0
121124

122125
def handle_led_colour(combobox, led_id):
123126
colour = combobox.get_selected() - 2

0 commit comments

Comments
 (0)