Can't “auto tune” Powertop












1














I installed powertop and tried to run --auto-tune as I've seen that seems to be the suggested options, however I'm pretty sure it's not actually running.



I'm on a fresh Ubuntu installation and I'm also fairly new to this. No one else seems to be having this problem either.



Here's a screenshot of my terminal










share|improve this question



























    1














    I installed powertop and tried to run --auto-tune as I've seen that seems to be the suggested options, however I'm pretty sure it's not actually running.



    I'm on a fresh Ubuntu installation and I'm also fairly new to this. No one else seems to be having this problem either.



    Here's a screenshot of my terminal










    share|improve this question

























      1












      1








      1







      I installed powertop and tried to run --auto-tune as I've seen that seems to be the suggested options, however I'm pretty sure it's not actually running.



      I'm on a fresh Ubuntu installation and I'm also fairly new to this. No one else seems to be having this problem either.



      Here's a screenshot of my terminal










      share|improve this question













      I installed powertop and tried to run --auto-tune as I've seen that seems to be the suggested options, however I'm pretty sure it's not actually running.



      I'm on a fresh Ubuntu installation and I'm also fairly new to this. No one else seems to be having this problem either.



      Here's a screenshot of my terminal







      18.04 powertop






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jun 23 '18 at 12:48









      creativiiicreativiii

      152111




      152111






















          2 Answers
          2






          active

          oldest

          votes


















          2














          Now that I actually know what I'm doing I understand better how powertop works.



          Here's what you should look out for if you're having trouble with Powertop:




          1. Keep Powertop running while your laptop is on battery, Powertop needs to collect information about your battery and laptop. Neither auto-tune or calibrate will run unless Powertop has recorded enough information

          2. When running auto-tune, Powertop still gives me some errors as if it had failed. It actually worked just as intended.

          3. There is no way to make auto-tune settings permanent, but what you can do is add them to /etc/rc.local, a script that will be launched on boot.


          Here's mine for reference:



          #!/bin/sh -e
          #
          # rc.local
          #
          # This script is executed at the end of each multiuser runlevel.
          # Make sure that the script will "exit 0" on success or any other
          # value on error.
          #
          # In order to enable or disable this script just change the execution
          # bits.
          #
          # By default this script does nothing.
          sudo powertop --auto-tune
          exit 0


          You may need to check "Allow executing file as a program" from the file's properties.



          enter image description here



          To be sure if it launched, reboot and open powertop. Switch to the "Tunables" tab, if all the options there are set as "Good", then it worked.



          EDIT: By the way this actually improved my battery life by about 100%. Better than I ever got with TLP, which I am no longer using as it throttled my laptop without actually improving battery that much.






          share|improve this answer































            0














            If you want to optimize power-management of your Ubuntu using Powertop,




            1. Open Powertop in terminal using the command : sudo powertop.

            2. Navigate to Tunable section using TAB button.

            3. Using the arrow keys select each of the "Bad" settings and set them to "Good" by pressing enter, this should ensure your computer is using your battery in an optimal way.


            Or you can give a try to :




            • CpuFreq

            • Jupiter

              instead of Powertop(a command line based power-management tool).






            share|improve this answer





















              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "89"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1049068%2fcant-auto-tune-powertop%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2














              Now that I actually know what I'm doing I understand better how powertop works.



              Here's what you should look out for if you're having trouble with Powertop:




              1. Keep Powertop running while your laptop is on battery, Powertop needs to collect information about your battery and laptop. Neither auto-tune or calibrate will run unless Powertop has recorded enough information

              2. When running auto-tune, Powertop still gives me some errors as if it had failed. It actually worked just as intended.

              3. There is no way to make auto-tune settings permanent, but what you can do is add them to /etc/rc.local, a script that will be launched on boot.


              Here's mine for reference:



              #!/bin/sh -e
              #
              # rc.local
              #
              # This script is executed at the end of each multiuser runlevel.
              # Make sure that the script will "exit 0" on success or any other
              # value on error.
              #
              # In order to enable or disable this script just change the execution
              # bits.
              #
              # By default this script does nothing.
              sudo powertop --auto-tune
              exit 0


              You may need to check "Allow executing file as a program" from the file's properties.



              enter image description here



              To be sure if it launched, reboot and open powertop. Switch to the "Tunables" tab, if all the options there are set as "Good", then it worked.



              EDIT: By the way this actually improved my battery life by about 100%. Better than I ever got with TLP, which I am no longer using as it throttled my laptop without actually improving battery that much.






              share|improve this answer




























                2














                Now that I actually know what I'm doing I understand better how powertop works.



                Here's what you should look out for if you're having trouble with Powertop:




                1. Keep Powertop running while your laptop is on battery, Powertop needs to collect information about your battery and laptop. Neither auto-tune or calibrate will run unless Powertop has recorded enough information

                2. When running auto-tune, Powertop still gives me some errors as if it had failed. It actually worked just as intended.

                3. There is no way to make auto-tune settings permanent, but what you can do is add them to /etc/rc.local, a script that will be launched on boot.


                Here's mine for reference:



                #!/bin/sh -e
                #
                # rc.local
                #
                # This script is executed at the end of each multiuser runlevel.
                # Make sure that the script will "exit 0" on success or any other
                # value on error.
                #
                # In order to enable or disable this script just change the execution
                # bits.
                #
                # By default this script does nothing.
                sudo powertop --auto-tune
                exit 0


                You may need to check "Allow executing file as a program" from the file's properties.



                enter image description here



                To be sure if it launched, reboot and open powertop. Switch to the "Tunables" tab, if all the options there are set as "Good", then it worked.



                EDIT: By the way this actually improved my battery life by about 100%. Better than I ever got with TLP, which I am no longer using as it throttled my laptop without actually improving battery that much.






                share|improve this answer


























                  2












                  2








                  2






                  Now that I actually know what I'm doing I understand better how powertop works.



                  Here's what you should look out for if you're having trouble with Powertop:




                  1. Keep Powertop running while your laptop is on battery, Powertop needs to collect information about your battery and laptop. Neither auto-tune or calibrate will run unless Powertop has recorded enough information

                  2. When running auto-tune, Powertop still gives me some errors as if it had failed. It actually worked just as intended.

                  3. There is no way to make auto-tune settings permanent, but what you can do is add them to /etc/rc.local, a script that will be launched on boot.


                  Here's mine for reference:



                  #!/bin/sh -e
                  #
                  # rc.local
                  #
                  # This script is executed at the end of each multiuser runlevel.
                  # Make sure that the script will "exit 0" on success or any other
                  # value on error.
                  #
                  # In order to enable or disable this script just change the execution
                  # bits.
                  #
                  # By default this script does nothing.
                  sudo powertop --auto-tune
                  exit 0


                  You may need to check "Allow executing file as a program" from the file's properties.



                  enter image description here



                  To be sure if it launched, reboot and open powertop. Switch to the "Tunables" tab, if all the options there are set as "Good", then it worked.



                  EDIT: By the way this actually improved my battery life by about 100%. Better than I ever got with TLP, which I am no longer using as it throttled my laptop without actually improving battery that much.






                  share|improve this answer














                  Now that I actually know what I'm doing I understand better how powertop works.



                  Here's what you should look out for if you're having trouble with Powertop:




                  1. Keep Powertop running while your laptop is on battery, Powertop needs to collect information about your battery and laptop. Neither auto-tune or calibrate will run unless Powertop has recorded enough information

                  2. When running auto-tune, Powertop still gives me some errors as if it had failed. It actually worked just as intended.

                  3. There is no way to make auto-tune settings permanent, but what you can do is add them to /etc/rc.local, a script that will be launched on boot.


                  Here's mine for reference:



                  #!/bin/sh -e
                  #
                  # rc.local
                  #
                  # This script is executed at the end of each multiuser runlevel.
                  # Make sure that the script will "exit 0" on success or any other
                  # value on error.
                  #
                  # In order to enable or disable this script just change the execution
                  # bits.
                  #
                  # By default this script does nothing.
                  sudo powertop --auto-tune
                  exit 0


                  You may need to check "Allow executing file as a program" from the file's properties.



                  enter image description here



                  To be sure if it launched, reboot and open powertop. Switch to the "Tunables" tab, if all the options there are set as "Good", then it worked.



                  EDIT: By the way this actually improved my battery life by about 100%. Better than I ever got with TLP, which I am no longer using as it throttled my laptop without actually improving battery that much.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Dec 18 '18 at 21:00

























                  answered Sep 23 '18 at 18:08









                  creativiiicreativiii

                  152111




                  152111

























                      0














                      If you want to optimize power-management of your Ubuntu using Powertop,




                      1. Open Powertop in terminal using the command : sudo powertop.

                      2. Navigate to Tunable section using TAB button.

                      3. Using the arrow keys select each of the "Bad" settings and set them to "Good" by pressing enter, this should ensure your computer is using your battery in an optimal way.


                      Or you can give a try to :




                      • CpuFreq

                      • Jupiter

                        instead of Powertop(a command line based power-management tool).






                      share|improve this answer


























                        0














                        If you want to optimize power-management of your Ubuntu using Powertop,




                        1. Open Powertop in terminal using the command : sudo powertop.

                        2. Navigate to Tunable section using TAB button.

                        3. Using the arrow keys select each of the "Bad" settings and set them to "Good" by pressing enter, this should ensure your computer is using your battery in an optimal way.


                        Or you can give a try to :




                        • CpuFreq

                        • Jupiter

                          instead of Powertop(a command line based power-management tool).






                        share|improve this answer
























                          0












                          0








                          0






                          If you want to optimize power-management of your Ubuntu using Powertop,




                          1. Open Powertop in terminal using the command : sudo powertop.

                          2. Navigate to Tunable section using TAB button.

                          3. Using the arrow keys select each of the "Bad" settings and set them to "Good" by pressing enter, this should ensure your computer is using your battery in an optimal way.


                          Or you can give a try to :




                          • CpuFreq

                          • Jupiter

                            instead of Powertop(a command line based power-management tool).






                          share|improve this answer












                          If you want to optimize power-management of your Ubuntu using Powertop,




                          1. Open Powertop in terminal using the command : sudo powertop.

                          2. Navigate to Tunable section using TAB button.

                          3. Using the arrow keys select each of the "Bad" settings and set them to "Good" by pressing enter, this should ensure your computer is using your battery in an optimal way.


                          Or you can give a try to :




                          • CpuFreq

                          • Jupiter

                            instead of Powertop(a command line based power-management tool).







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Jul 26 '18 at 19:11









                          RAMANDEEP RAMANDEEP

                          112




                          112






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Ask Ubuntu!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.





                              Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                              Please pay close attention to the following guidance:


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1049068%2fcant-auto-tune-powertop%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Quarter-circle Tiles

                              build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

                              Mont Emei