Skip to content

Option to disable power LED entirely #11

Description

@hauntingEcho

When playing music/youtube/whatever with the screen off as I go to sleep, the power LED lights up the whole room. Options to dim it were added here, but the ability to disable it entirely would be appreciated. This has also been mentioned in the discussion thread.

Putting electrical tape over a button gets a bit messier than putting it over the charge lights, and I haven't got up the courage to start cutting on the board just yet :)

Activity

  1. hauntingEcho commented on Mar 7, 2022

    @hauntingEcho
    Author

    Exposing it via /sys/class/leds could also be nice (because we could set up keybinds), but the possibility of that is deeper than my firmware knowledge goes.

  2. added 2 commits that reference this issue on Mar 7, 2022
    24b578e
    92a2f46
  3. added a commit that references this issue on Jul 18, 2023
  4. james2432 commented on Sep 2, 2023

    @james2432

    I wish this was merged :(

  5. hauntingEcho commented on Oct 21, 2024

    @hauntingEcho
    Author

    Looks like /sys/class/leds support may be available with kernel 6.11: https://old.reddit.com/r/framework/comments/1g8gbm2/what/lt0fxia/

  6. AkechiShiro commented on Oct 22, 2024

    @AkechiShiro

    @hauntingEcho can confirm this works on kernel 6.11, I'm on Framework 13th AMD.

    I can shutdown the power LED with

    echo 0 | sudo tee /sys/class/leds/chromeos:white:power/brightness
    

    Full brightness

    echo 1 | sudo tee /sys/class/leds/chromeos:white:power/brightness
    

    Here are also the other leds :

    chromeos::kbd_backlight chromeos:multicolor:charging chromeos:white:power input0::capslock input0::numlock input0::scrolllock
    

    EDIT: Not sure if there is any way to restore the default behavior afterwards, and I can't seem to be able to lower the brightness, it is either full or nothing, putting values between 0 and 100 do nothing, if value is >0 then the light looks like it's at full brightness.
    EDIT 2: Add Kernel version: Linux 6.11.3 #1-NixOS SMP PREEMPT_DYNAMIC Thu Oct 10 10:04:18 UTC 2024 x86_64 GNU/Linux

  7. JohnAZoidberg commented on Mar 27, 2025

    @JohnAZoidberg
    Member

    See FrameworkComputer/framework-system#37
    We won't add the option to turn off the power button completely, as the LED is used to tell you the power state of the system.

    But we are going to add an ultra low power mode and let you set the power button to any percentage you like, except 0%.

  8. kariudo commented on May 11, 2025

    @kariudo

    I still feel like there is value in having the option to set it to 0%, the LED has never worked on my FW13 AMD350; and a replacement input cover is on the way (the cover is warped apparently according to support), but I actually had no idea it even was supposed to light up until a friend of mine asked out I disabled it (since his was illuminated).

    Once input cover, I am concerned that since I am used to having everything nice and dark when I use my laptop in the dark, I am likely to find the LED annoying.

    I think the side LEDs could be used under the same argument of having a visual representation of if the laptop is asleep or off, but honestly it seems pretty irrelevant if you are a poweruser who could manage to use this tooling to set it to 0% anyway. If you are about to interact with the computer and its asleep or off, just pressing a key to wake will tell you if its off really fast when it wakes, and in either scenario pressing the power button would wake/boot the device. So is it really a "it has to be on", since like I said, mine has never worked and it has never really caused me a problem.

    TL;DR: What is really the harm in letting powerusers disable it?

  9. t-8ch commented on Jun 28, 2025

    @t-8ch

    On any recent Linux system you can manage the LED through the standard APIs.

    $ cd /sys/class/leds/chromeos:white:power/ # specific name depends on the device
    $ echo 0 > brightness # turn off
    $ cp max_brightness > brightness # turn on, unfortunately EC does not support non-maximum brightness
    $ echo chromeos-auto  > trigger # switch back to automatic management through embedded controller
  10. queesamor commented on Dec 26, 2025

    @queesamor

    On any recent Linux system you can manage the LED through the standard APIs.

    $ cd /sys/class/leds/chromeos:white:power/ # specific name depends on the device
    $ echo 0 > brightness # turn off
    $ cp max_brightness > brightness # turn on, unfortunately EC does not support non-maximum brightness
    $ echo chromeos-auto > trigger # switch back to automatic management through embedded controller

    Is it possible to do anything approaching this on Windows? I see that @grouzen has a pretty incredible tool built in Rust which seems to take advantage of these same interfaces, but again it's targeted at a Linux kernel and I see no hints of Windows access to similar APIs without setting up an entire dev environment. Am I correct, or am I missing something wonderful to save a ton of effort for a simple change (mess with my power button brightness on a purely Windows Framework 16)?

  11. kiram9 commented on Dec 30, 2025

    @kiram9
    Member
  12. JohnAZoidberg commented on Dec 30, 2025

    @JohnAZoidberg
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions