mirror of
https://github.com/Steve-Tech/YAFI.git
synced 2026-04-19 16:50:36 +00:00
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.
This commit is contained in:
@@ -118,6 +118,9 @@ class LedsPage(Gtk.Box):
|
|||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
raise e
|
raise e
|
||||||
|
|
||||||
|
# Power LED does not support Blue, even though Intel models think they do
|
||||||
|
leds[ec_commands.leds.EcLedId.EC_LED_ID_POWER_LED][2] = 0
|
||||||
|
|
||||||
def handle_led_colour(combobox, led_id):
|
def handle_led_colour(combobox, led_id):
|
||||||
colour = combobox.get_selected() - 2
|
colour = combobox.get_selected() - 2
|
||||||
|
|||||||
Reference in New Issue
Block a user