Skip to content

Instantly share code, notes, and snippets.

@xsnpdngv
Last active September 8, 2020 08:49
Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save xsnpdngv/1bb42e315f42f1b0276a2fb5f53f0ff1 to your computer and use it in GitHub Desktop.
Save xsnpdngv/1bb42e315f42f1b0276a2fb5f53f0ff1 to your computer and use it in GitHub Desktop.
Set CPU governor to powersave on Ubuntu
#!/bin/sh
sudo apt-get install cpufrequtils
echo 'GOVERNOR="powersave"' | sudo tee /etc/defaults/cpufrequtils
sudo /etc/init.d/cpufrequtils restart
cpufreq-info
@fabriciorsf
Copy link

Error at the path...
Correct: /etc/default/cpufrequtils (default, without 's')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment