"Standby" Mode / GPIO Button

HI,

I know, RPi has not Standby or suspend mode, but I use some commands to save power. Maybe you could embed such a function.
It would be nice to have the posibility to suspend with a Hardware-Trigger over GPIO which shut down not nessercary processes, ports, and also sends another GPIO Signal where a relais could be triggered to shut down an amp. Optionally it should be possible to configure, which services are suspended, i.e. Bluetooth/Wifi/Ethernet/USB-Power/amp over GPIO/…

Example.
rpi3 + 7" Touchdisplay with speakers ~8W even when not playing and Display is black (backlit is still on)

Standby:
volumio stop
sudo /opt/vc/bin/tvservice -o
sudo echo 0 | sudo tee /sys/class/leds/led1/brightness
sudo echo mmc0 | sudo tee /sys/class/leds/led0/trigger
sudo echo 0x0 > /sys/devices/platform/soc/3f980000.usb/buspower
sudo cpufreq-set -g powersave

Now the pi only consumes 1.4W-1.6W
To wakeup I reverse the settings to normal.

I think, you know even more options to save power.

1 Like

Hello, I am going that way too. What I have found is that you can configure eeprom with the following settings:
WAKE_ON_GPIO=0
POWER_OFF_ON_HALT=1
This way if you halt the system it will basically shutdown completely.
To turn it on again you have to shorten GLOBAL_EN to GND and it starts up.
You also gain an hard reset button: if the system is up and you shorten as above you hard reset the PI

1 Like