Option to Disable Power LED by Default

Hello,

I’m proposing a feature to allow users to easily disable the power LED on their Nextcloud devices to:

  • Reduce minor power consumption
  • Minimize visual distraction, especially in dark environments

Current Workaround:
I’ve found a command that successfully turns off the LED:

echo 0 | sudo tee /sys/class/leds/PWR/brightness

To make this persistent across reboots, I’ve added the command to /etc/rc.local:

echo 0 > /sys/class/leds/PWR/brightness

Suggested Implementation:

  • Add a toggle switch in the Nextcloud web UI settings
  • Potentially integrate this in the upcoming Atom Nextcloud interface
  • Allow granular control over system LED behavior

Benefits:

  • Energy efficiency (even if minimal)
  • Improved user experience
  • Customization options for device appearance

Nextcloudpi 1.55.4 on raspberrypi4

I imagine your specific solution only works on Raspberry Pis. However, Nextcloud runs on a wide variety of hardware, often in virtualised environments, so integrating such a feature directly into the core of Nextcloud wouldn’t make much sense.

Maybe this could be done as an app or it could be integrated into the NextcloudPi admin interface. However, even NextcloudPi is not exclusively used on Raspberry Pis these days, and large portion of its user base probably uses it on x86 mini PCs, in LXCs or VMs.