piframe/docs/cpu_governor.md

16 lines
339 B
Markdown
Raw Normal View History

# CPU Governor
The below commands setup a CPU governor. This is to help reduce power consumption and ensure the Raspberry Pi stays as cold as possible.
``` sh
2020-08-03 01:05:29 +00:00
sudo -sHu root /bin/bash
apt install cpufrequtils
cat > /etc/default/cpufrequtils <<EOF
ENABLE="true"
GOVERNOR="ondemand"
EOF
systemctl restart cpufrequtils
```