On a Raspberry Pi 4, and I've noticed that the red idle LED light remains on even when the device is turned off. While I understand this might be a default behavior, I'm looking for a way to turn off the red idle LED light completely when the Raspberry Pi is powered down.
I've tried this:
{ crontab -l; echo "@reboot echo 0 | sudo tee /sys/devices/platform/leds/leds/PWR/brightness > /dev/null"; } | crontab -
which turns the led light off when the device is powered on, but the light is on when the devices is powered off.