I use this command

sudo cpupower frequency-set -u 1.5G

To make the max CPU frequency to 1.5GHz but after restart it sets it back to default.

How can I set this at boot ?

2 Answers 2


Any easy and reversible way

Open gedit and make a new blank document, then paste this into it

sudo cpupower frequency-set -u 1.5G

Now save it as cpu.sh, the .sh is very important and run

sudo cp ~/cpu.sh /etc/init.d/

Make it executable

sudo chmod +x /etc/init.d/cpu.sh

Then run

update-rc.d cpu.sh defaults

Now this script should run as root on boot

  • Comments are not for extended discussion; this conversation has been moved to chat.
    – Mitch
    May 9, 2015 at 5:22

Check out /etc/default/cpupower, ...try adding max_freq="1.50Hz"

To detail the steps, run sudo nano /etc/default/cpupower, add the above line, then hit ctrl-o to save, and ctrl-x to exit.

/etc/default/ has global config files that are read at boot. Hope that will solve the problem.

  • 1
    Doesn't work. Could it be that it asks me for password when setting it myself in the terminal ?
    – Ivaylo
    May 8, 2015 at 18:33
  • @markkirby sudo gedit? Really? Do you want to ruin my good reputation? May 8, 2015 at 18:37
  • Don't understand, sorry.
    – Ivaylo
    May 8, 2015 at 18:38
  • @Ivaylo No, it has nothing to do with sudo. If cpupower doesn't work, try cpufreq-utils instead. May 8, 2015 at 18:40
  • 1
    cpufreq-utils doesn't work
    – Ivaylo
    May 8, 2015 at 18:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .