Ubuntu – How to permanently save powertop’s suggestions

power-managementpowertop

I run powertop then it suggests that I should disable xy, etc. However, after I exit powertop, reboot the pc, and start it again[powertop], it brings up the same tips again! So how can I permanently save the suggestions of powertop?

Best Answer

  • Quick answer :

    You just need to save them in /etc/rc.local.


    Detailed answer

    1. In a terminal run:

      sudo powertop --html=powertop.html
      
    2. Step 1 generates a html file in your home directory. Click on that file so that it opens in your internet browser.

    3. In the browser, go to "Tuning" tab. It gives all the tunings you have to tweak (on the left), and the commands that are implementing them (on the right).

    4. Save these commands in /etc/rc.local.

      To do that, in a terminal, run:

      gksu gedit /etc/rc.local
      

      Write the commands before the line that reads exit 0, and save the file.