Google Ads

Turn off the Power LED on the Raspberry Pi 3B+

Turning off the power (PWR) LED might save you a few mA but if you don't need it, below are the Linux commands to turn it off and on back again. Additionally, you can also change the Activity (ACT) LED behavior as well.



Turn the Power LED OFF:

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

Turn the Power LED ON:

echo 1 | sudo tee /sys/class/leds/led1/brightness

Note: The Linux commands are temporary. Once the Raspberry Pi is rebooted, the power LED will be turned ON back again.

To disable the Power LED permanently, add the following to /boot/config.txt:

dtparam=pwr_led_trigger=none
dtparam=pwr_led_activelow=off

Bonus Linux commands to manipulate the Activity (ACT) LED.

Change the Activity LED to trigger on cpu0 instead of mmc0 (SD card access).

echo cpu0 | sudo tee /sys/class/leds/led0/trigger

To disable the Activity LED permanently, add the following to /boot/config.txt:

dtparam=act_led_trigger=none
dtparam=act_led_activelow=off


Comments

Post a Comment

Thank you for visiting Almost a Technocrat. Due to many spam comments, your comment will be moderated.

Popular posts from this blog

A Better SKMEI 1358 Instructions Manual

A Better SKMEI 1418 / 1427 Instructions Manual

How to force stop or cancel Android download manager downloading process

SKMEI 1358 Review