Reducing Energy Consumption on the Raspberry Pi Zero

From packets2photons
Jump to navigation Jump to search

These instructions show how you can reduce the power consumption of your Raspberry Pi 3.

Disable the Bluetooth and WiFi

Disabling the WiFi and Bluetooth seems to save about 300mA. To do this, add the following to /boot/config.txt:

dtoverlay=disable-bt
dtoverlay=disable-wifi

Disable HDMI

If you don't need the screen, you can save 25mA by disabling HDMI. Run:

/usr/bin/tvservice -o 

You can put this in /etc/rc.local to make it permanent

Disable Activity LEDs

To disable the activity LEDs permanently, saving about 5mA, add the following to /boot/config.txt:

# Disable the ACT LED.
dtparam=act_led_trigger=none
dtparam=act_led_activelow=off

I have found that you can temporarily turn on or off the activity and the power led using the following commands.

Use echo 1 to turn off the leds

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

You can turn them back on by echo'ing '

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

Remove unnecessary Applications or devices

Physically, remove anything unnecessary, screen, usb device Ethernet.

Remove any unnecessary software in particular, anything that is using substantial Time+ when you run a:

top

You can temporarily kill any processes with a:

sudo kill -9 [process name]

But it may be better to permanently remove them with a:

sudo apt remove [package name]