You might be able to override it using the /sys/class/leds subsystem. I think the one you want is under /sys/class/leds/chg_en but it might also be under /sys/class/leds/red:status too. I’d have to play around with it to be sure. I don’t know the potential risk of messing something up so proceed at your own caution.
Side note: I’m able to make the LED yellow while charging by running the command $ echo 255 > /sys/class/leds/green\:status/brightness and was able to undo it with $ echo 0 > /sys/class/leds/green\:status/brightness.
Resources:
- https://linuxreviews.org/HOWTO_Control_LED_Lights
- https://www.kernel.org/doc/html/latest/leds/leds-class.html
- https://puri.sm/posts/librem-14-rave/ (Under the “Controlling the WiFi LED” and “Controlling the Notification LED” sections.)
-
The idea behind the notification LED is the same as what mobile phones, like the Librem 5, have: an LED to signal something while the display is off or something else is occupying the display, so that the user can see that something tries to get her or his attention. We have implemented this for the Librem 5 already and this will then also work on the Librem 14!
-