Last active
September 8, 2020 08:49
-
-
Save xsnpdngv/1bb42e315f42f1b0276a2fb5f53f0ff1 to your computer and use it in GitHub Desktop.
Set CPU governor to powersave on Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
sudo apt-get install cpufrequtils | |
echo 'GOVERNOR="powersave"' | sudo tee /etc/defaults/cpufrequtils | |
sudo /etc/init.d/cpufrequtils restart | |
cpufreq-info |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error at the path...
Correct: /etc/default/cpufrequtils (default, without 's')