How to turn off Wireless power management permanently












14














In Linux Mint 17.3 / 18 iwconfig says the power management of my wireless card is turned on. I want to turn it off permanently or some workaround on this issue.



sudo iwconfig wlan0 power off works, until I reboot the laptop.



Also, if I randomly check iwconfig, sometimes it's on, despite I did run this command.



I read some articles about making the fix permanent. All of them contained the first step "Go to directory /etc/pm/power.d", which in my case did not exist.



I followed these steps:



sudo mkdir -p /etc/pm/power.d
sudo nano /etc/pm/power.d/wireless_power_management_off


I entered these two lines into the file:



#!/bin/bash

/sbin/iwconfig wlan0 power off


And I finished with setting proper user rights:



sudo chmod 700 /etc/pm/power.d/wireless_power_management_off


But after reboot the power management is back on.



iwconfig after manually turning power management off



eth0      no wireless extensions.

wlan0 IEEE 802.11abgn ESSID:"SSID"
Mode:Managed Frequency:2.462 GHz Access Point: 00:00:00:00:00:00
Bit Rate=24 Mb/s Tx-Power=22 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=42/70 Signal level=-68 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:2 Invalid misc:18 Missed beacon:0

lo no wireless extensions.


I don't think this question applies only to Linux Mint, it is a general issue of particular wireless adapters.










share|improve this question





























    14














    In Linux Mint 17.3 / 18 iwconfig says the power management of my wireless card is turned on. I want to turn it off permanently or some workaround on this issue.



    sudo iwconfig wlan0 power off works, until I reboot the laptop.



    Also, if I randomly check iwconfig, sometimes it's on, despite I did run this command.



    I read some articles about making the fix permanent. All of them contained the first step "Go to directory /etc/pm/power.d", which in my case did not exist.



    I followed these steps:



    sudo mkdir -p /etc/pm/power.d
    sudo nano /etc/pm/power.d/wireless_power_management_off


    I entered these two lines into the file:



    #!/bin/bash

    /sbin/iwconfig wlan0 power off


    And I finished with setting proper user rights:



    sudo chmod 700 /etc/pm/power.d/wireless_power_management_off


    But after reboot the power management is back on.



    iwconfig after manually turning power management off



    eth0      no wireless extensions.

    wlan0 IEEE 802.11abgn ESSID:"SSID"
    Mode:Managed Frequency:2.462 GHz Access Point: 00:00:00:00:00:00
    Bit Rate=24 Mb/s Tx-Power=22 dBm
    Retry short limit:7 RTS thr:off Fragment thr:off
    Power Management:off
    Link Quality=42/70 Signal level=-68 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
    Tx excessive retries:2 Invalid misc:18 Missed beacon:0

    lo no wireless extensions.


    I don't think this question applies only to Linux Mint, it is a general issue of particular wireless adapters.










    share|improve this question



























      14












      14








      14


      6





      In Linux Mint 17.3 / 18 iwconfig says the power management of my wireless card is turned on. I want to turn it off permanently or some workaround on this issue.



      sudo iwconfig wlan0 power off works, until I reboot the laptop.



      Also, if I randomly check iwconfig, sometimes it's on, despite I did run this command.



      I read some articles about making the fix permanent. All of them contained the first step "Go to directory /etc/pm/power.d", which in my case did not exist.



      I followed these steps:



      sudo mkdir -p /etc/pm/power.d
      sudo nano /etc/pm/power.d/wireless_power_management_off


      I entered these two lines into the file:



      #!/bin/bash

      /sbin/iwconfig wlan0 power off


      And I finished with setting proper user rights:



      sudo chmod 700 /etc/pm/power.d/wireless_power_management_off


      But after reboot the power management is back on.



      iwconfig after manually turning power management off



      eth0      no wireless extensions.

      wlan0 IEEE 802.11abgn ESSID:"SSID"
      Mode:Managed Frequency:2.462 GHz Access Point: 00:00:00:00:00:00
      Bit Rate=24 Mb/s Tx-Power=22 dBm
      Retry short limit:7 RTS thr:off Fragment thr:off
      Power Management:off
      Link Quality=42/70 Signal level=-68 dBm
      Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
      Tx excessive retries:2 Invalid misc:18 Missed beacon:0

      lo no wireless extensions.


      I don't think this question applies only to Linux Mint, it is a general issue of particular wireless adapters.










      share|improve this question















      In Linux Mint 17.3 / 18 iwconfig says the power management of my wireless card is turned on. I want to turn it off permanently or some workaround on this issue.



      sudo iwconfig wlan0 power off works, until I reboot the laptop.



      Also, if I randomly check iwconfig, sometimes it's on, despite I did run this command.



      I read some articles about making the fix permanent. All of them contained the first step "Go to directory /etc/pm/power.d", which in my case did not exist.



      I followed these steps:



      sudo mkdir -p /etc/pm/power.d
      sudo nano /etc/pm/power.d/wireless_power_management_off


      I entered these two lines into the file:



      #!/bin/bash

      /sbin/iwconfig wlan0 power off


      And I finished with setting proper user rights:



      sudo chmod 700 /etc/pm/power.d/wireless_power_management_off


      But after reboot the power management is back on.



      iwconfig after manually turning power management off



      eth0      no wireless extensions.

      wlan0 IEEE 802.11abgn ESSID:"SSID"
      Mode:Managed Frequency:2.462 GHz Access Point: 00:00:00:00:00:00
      Bit Rate=24 Mb/s Tx-Power=22 dBm
      Retry short limit:7 RTS thr:off Fragment thr:off
      Power Management:off
      Link Quality=42/70 Signal level=-68 dBm
      Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
      Tx excessive retries:2 Invalid misc:18 Missed beacon:0

      lo no wireless extensions.


      I don't think this question applies only to Linux Mint, it is a general issue of particular wireless adapters.







      linux wifi power-management






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 6 '17 at 10:46

























      asked Mar 14 '16 at 12:01









      Vlastimil

      7,6721259133




      7,6721259133






















          6 Answers
          6






          active

          oldest

          votes


















          18














          Open this file with your text editor, let's use nano for example:



          sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf


          By default there is




          wifi.powersave = 3



          Just change it to a value of 2.



          The change will be active upon the next reboot.



          The values for the powersave field are:



          NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0): use the default value
          NM_SETTING_WIRELESS_POWERSAVE_IGNORE (1): don't touch existing setting
          NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2): disable powersave
          NM_SETTING_WIRELESS_POWERSAVE_ENABLE (3): enable powersave


          (Source)






          share|improve this answer































            4














            It is not sufficient to turn off wireless power management at boot.



            There are probably hooks like if I plug off power adapter.



            So one of possible solutions is as follows; step-by-step.



            Create a directory, where you wish to store the file, if not already having one for all your scripts, I personally want to have it in /etc/pm/:



            sudo mkdir -p /etc/pm/power.d


            Create (anywhere you like) a script, name it to be sensible, for me it is:



            sudo nano /etc/pm/power.d/wireless_power_management_off


            I used nano, but use whatever, e.g. if you want to create the file graphically, eg. with gedit (LM17) or xed (LM18):



            gksudo gedit /etc/pm/power.d/wireless_power_management_off
            gksudo xed /etc/pm/power.d/wireless_power_management_off


            Enter the following contents to the file:



            #!/bin/bash

            /sbin/iwconfig wlan0 power off


            Save the file.



            Owner of the file should be root, if you created the file as normal user somewhere, go to the folder where it is and fix it with:



            sudo chown root:root wireless_power_management_off


            Next, you need to set proper permissions to the file, rwx for owner:



            sudo chmod 700 wireless_power_management_off


            Finally we will be executing the script every minute using CRON; dirty but worky:



            sudo crontab -e


            If you never edited crontab before, it will ask what editor you wish to use, this is totally up to you.



            Paste this to the end of the file:



            */1 * * * * /etc/pm/power.d/wireless_power_management_off


            Wait a minute and then you may check if power management if turned off:



            iwconfig wlan0 | grep "Power Management"


            Example output:



            Power Management:off


            Even if something triggers the power management to turn on, it will last only a minute. Done.






            share|improve this answer































              1














              using crontab sudo crontab -e add the line @reboot /bin/bash /etc/pm/power.d/wireless






              share|improve this answer































                1














                Key: powersave



                Type: uint32



                Default value: 0



                Can be one of:




                • NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2) (disable Wi-Fi power
                  saving)

                • NM_SETTING_WIRELESS_POWERSAVE_ENABLE (3) (enable Wi-Fi power

                  saving)

                • NM_SETTING_WIRELESS_POWERSAVE_IGNORE (1) (don't touch currently
                  configure setting)


                • NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0) (use the globally
                  configured value)



                All other values are reserved.



                More at https://people.freedesktop.org/~lkundrak/nm-docs/nm-settings.html






                share|improve this answer





























                  0














                  TLP - Linux Advanced Power Management Tool works for me out of the box with Ubuntu 18.04.



                  > grep WIFI /etc/default/tlp 
                  WIFI_PWR_ON_AC=off
                  WIFI_PWR_ON_BAT=off

                  > iw dev wlan0 get power_save
                  Power save: off


                  FWIW. Ansible role is available to configure TLP with Ubuntu.






                  share|improve this answer





























                    0














                    But anyone can help me, its the different case, but similar, and the difference is in this post every one wants to make power management off...and i want to make power management on...any one plz have a idea on it...





                    share








                    New contributor




                    demi raj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                    Check out our Code of Conduct.


















                    • Ask a fresh question.
                      – P_Yadav
                      1 min ago











                    Your Answer








                    StackExchange.ready(function() {
                    var channelOptions = {
                    tags: "".split(" "),
                    id: "106"
                    };
                    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: false,
                    noModals: true,
                    showLowRepImageUploadWarning: true,
                    reputationToPostImages: null,
                    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%2funix.stackexchange.com%2fquestions%2f269661%2fhow-to-turn-off-wireless-power-management-permanently%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown

























                    6 Answers
                    6






                    active

                    oldest

                    votes








                    6 Answers
                    6






                    active

                    oldest

                    votes









                    active

                    oldest

                    votes






                    active

                    oldest

                    votes









                    18














                    Open this file with your text editor, let's use nano for example:



                    sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf


                    By default there is




                    wifi.powersave = 3



                    Just change it to a value of 2.



                    The change will be active upon the next reboot.



                    The values for the powersave field are:



                    NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0): use the default value
                    NM_SETTING_WIRELESS_POWERSAVE_IGNORE (1): don't touch existing setting
                    NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2): disable powersave
                    NM_SETTING_WIRELESS_POWERSAVE_ENABLE (3): enable powersave


                    (Source)






                    share|improve this answer




























                      18














                      Open this file with your text editor, let's use nano for example:



                      sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf


                      By default there is




                      wifi.powersave = 3



                      Just change it to a value of 2.



                      The change will be active upon the next reboot.



                      The values for the powersave field are:



                      NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0): use the default value
                      NM_SETTING_WIRELESS_POWERSAVE_IGNORE (1): don't touch existing setting
                      NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2): disable powersave
                      NM_SETTING_WIRELESS_POWERSAVE_ENABLE (3): enable powersave


                      (Source)






                      share|improve this answer


























                        18












                        18








                        18






                        Open this file with your text editor, let's use nano for example:



                        sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf


                        By default there is




                        wifi.powersave = 3



                        Just change it to a value of 2.



                        The change will be active upon the next reboot.



                        The values for the powersave field are:



                        NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0): use the default value
                        NM_SETTING_WIRELESS_POWERSAVE_IGNORE (1): don't touch existing setting
                        NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2): disable powersave
                        NM_SETTING_WIRELESS_POWERSAVE_ENABLE (3): enable powersave


                        (Source)






                        share|improve this answer














                        Open this file with your text editor, let's use nano for example:



                        sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf


                        By default there is




                        wifi.powersave = 3



                        Just change it to a value of 2.



                        The change will be active upon the next reboot.



                        The values for the powersave field are:



                        NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0): use the default value
                        NM_SETTING_WIRELESS_POWERSAVE_IGNORE (1): don't touch existing setting
                        NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2): disable powersave
                        NM_SETTING_WIRELESS_POWERSAVE_ENABLE (3): enable powersave


                        (Source)







                        share|improve this answer














                        share|improve this answer



                        share|improve this answer








                        edited Aug 6 '17 at 14:47









                        Stephen Rauch

                        3,328101328




                        3,328101328










                        answered Oct 10 '16 at 9:16









                        Niko

                        19613




                        19613

























                            4














                            It is not sufficient to turn off wireless power management at boot.



                            There are probably hooks like if I plug off power adapter.



                            So one of possible solutions is as follows; step-by-step.



                            Create a directory, where you wish to store the file, if not already having one for all your scripts, I personally want to have it in /etc/pm/:



                            sudo mkdir -p /etc/pm/power.d


                            Create (anywhere you like) a script, name it to be sensible, for me it is:



                            sudo nano /etc/pm/power.d/wireless_power_management_off


                            I used nano, but use whatever, e.g. if you want to create the file graphically, eg. with gedit (LM17) or xed (LM18):



                            gksudo gedit /etc/pm/power.d/wireless_power_management_off
                            gksudo xed /etc/pm/power.d/wireless_power_management_off


                            Enter the following contents to the file:



                            #!/bin/bash

                            /sbin/iwconfig wlan0 power off


                            Save the file.



                            Owner of the file should be root, if you created the file as normal user somewhere, go to the folder where it is and fix it with:



                            sudo chown root:root wireless_power_management_off


                            Next, you need to set proper permissions to the file, rwx for owner:



                            sudo chmod 700 wireless_power_management_off


                            Finally we will be executing the script every minute using CRON; dirty but worky:



                            sudo crontab -e


                            If you never edited crontab before, it will ask what editor you wish to use, this is totally up to you.



                            Paste this to the end of the file:



                            */1 * * * * /etc/pm/power.d/wireless_power_management_off


                            Wait a minute and then you may check if power management if turned off:



                            iwconfig wlan0 | grep "Power Management"


                            Example output:



                            Power Management:off


                            Even if something triggers the power management to turn on, it will last only a minute. Done.






                            share|improve this answer




























                              4














                              It is not sufficient to turn off wireless power management at boot.



                              There are probably hooks like if I plug off power adapter.



                              So one of possible solutions is as follows; step-by-step.



                              Create a directory, where you wish to store the file, if not already having one for all your scripts, I personally want to have it in /etc/pm/:



                              sudo mkdir -p /etc/pm/power.d


                              Create (anywhere you like) a script, name it to be sensible, for me it is:



                              sudo nano /etc/pm/power.d/wireless_power_management_off


                              I used nano, but use whatever, e.g. if you want to create the file graphically, eg. with gedit (LM17) or xed (LM18):



                              gksudo gedit /etc/pm/power.d/wireless_power_management_off
                              gksudo xed /etc/pm/power.d/wireless_power_management_off


                              Enter the following contents to the file:



                              #!/bin/bash

                              /sbin/iwconfig wlan0 power off


                              Save the file.



                              Owner of the file should be root, if you created the file as normal user somewhere, go to the folder where it is and fix it with:



                              sudo chown root:root wireless_power_management_off


                              Next, you need to set proper permissions to the file, rwx for owner:



                              sudo chmod 700 wireless_power_management_off


                              Finally we will be executing the script every minute using CRON; dirty but worky:



                              sudo crontab -e


                              If you never edited crontab before, it will ask what editor you wish to use, this is totally up to you.



                              Paste this to the end of the file:



                              */1 * * * * /etc/pm/power.d/wireless_power_management_off


                              Wait a minute and then you may check if power management if turned off:



                              iwconfig wlan0 | grep "Power Management"


                              Example output:



                              Power Management:off


                              Even if something triggers the power management to turn on, it will last only a minute. Done.






                              share|improve this answer


























                                4












                                4








                                4






                                It is not sufficient to turn off wireless power management at boot.



                                There are probably hooks like if I plug off power adapter.



                                So one of possible solutions is as follows; step-by-step.



                                Create a directory, where you wish to store the file, if not already having one for all your scripts, I personally want to have it in /etc/pm/:



                                sudo mkdir -p /etc/pm/power.d


                                Create (anywhere you like) a script, name it to be sensible, for me it is:



                                sudo nano /etc/pm/power.d/wireless_power_management_off


                                I used nano, but use whatever, e.g. if you want to create the file graphically, eg. with gedit (LM17) or xed (LM18):



                                gksudo gedit /etc/pm/power.d/wireless_power_management_off
                                gksudo xed /etc/pm/power.d/wireless_power_management_off


                                Enter the following contents to the file:



                                #!/bin/bash

                                /sbin/iwconfig wlan0 power off


                                Save the file.



                                Owner of the file should be root, if you created the file as normal user somewhere, go to the folder where it is and fix it with:



                                sudo chown root:root wireless_power_management_off


                                Next, you need to set proper permissions to the file, rwx for owner:



                                sudo chmod 700 wireless_power_management_off


                                Finally we will be executing the script every minute using CRON; dirty but worky:



                                sudo crontab -e


                                If you never edited crontab before, it will ask what editor you wish to use, this is totally up to you.



                                Paste this to the end of the file:



                                */1 * * * * /etc/pm/power.d/wireless_power_management_off


                                Wait a minute and then you may check if power management if turned off:



                                iwconfig wlan0 | grep "Power Management"


                                Example output:



                                Power Management:off


                                Even if something triggers the power management to turn on, it will last only a minute. Done.






                                share|improve this answer














                                It is not sufficient to turn off wireless power management at boot.



                                There are probably hooks like if I plug off power adapter.



                                So one of possible solutions is as follows; step-by-step.



                                Create a directory, where you wish to store the file, if not already having one for all your scripts, I personally want to have it in /etc/pm/:



                                sudo mkdir -p /etc/pm/power.d


                                Create (anywhere you like) a script, name it to be sensible, for me it is:



                                sudo nano /etc/pm/power.d/wireless_power_management_off


                                I used nano, but use whatever, e.g. if you want to create the file graphically, eg. with gedit (LM17) or xed (LM18):



                                gksudo gedit /etc/pm/power.d/wireless_power_management_off
                                gksudo xed /etc/pm/power.d/wireless_power_management_off


                                Enter the following contents to the file:



                                #!/bin/bash

                                /sbin/iwconfig wlan0 power off


                                Save the file.



                                Owner of the file should be root, if you created the file as normal user somewhere, go to the folder where it is and fix it with:



                                sudo chown root:root wireless_power_management_off


                                Next, you need to set proper permissions to the file, rwx for owner:



                                sudo chmod 700 wireless_power_management_off


                                Finally we will be executing the script every minute using CRON; dirty but worky:



                                sudo crontab -e


                                If you never edited crontab before, it will ask what editor you wish to use, this is totally up to you.



                                Paste this to the end of the file:



                                */1 * * * * /etc/pm/power.d/wireless_power_management_off


                                Wait a minute and then you may check if power management if turned off:



                                iwconfig wlan0 | grep "Power Management"


                                Example output:



                                Power Management:off


                                Even if something triggers the power management to turn on, it will last only a minute. Done.







                                share|improve this answer














                                share|improve this answer



                                share|improve this answer








                                edited Jul 29 '16 at 15:52

























                                answered Jul 29 '16 at 14:03









                                Vlastimil

                                7,6721259133




                                7,6721259133























                                    1














                                    using crontab sudo crontab -e add the line @reboot /bin/bash /etc/pm/power.d/wireless






                                    share|improve this answer




























                                      1














                                      using crontab sudo crontab -e add the line @reboot /bin/bash /etc/pm/power.d/wireless






                                      share|improve this answer


























                                        1












                                        1








                                        1






                                        using crontab sudo crontab -e add the line @reboot /bin/bash /etc/pm/power.d/wireless






                                        share|improve this answer














                                        using crontab sudo crontab -e add the line @reboot /bin/bash /etc/pm/power.d/wireless







                                        share|improve this answer














                                        share|improve this answer



                                        share|improve this answer








                                        edited Jul 29 '16 at 14:23









                                        Vlastimil

                                        7,6721259133




                                        7,6721259133










                                        answered Mar 14 '16 at 12:53









                                        seb

                                        964




                                        964























                                            1














                                            Key: powersave



                                            Type: uint32



                                            Default value: 0



                                            Can be one of:




                                            • NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2) (disable Wi-Fi power
                                              saving)

                                            • NM_SETTING_WIRELESS_POWERSAVE_ENABLE (3) (enable Wi-Fi power

                                              saving)

                                            • NM_SETTING_WIRELESS_POWERSAVE_IGNORE (1) (don't touch currently
                                              configure setting)


                                            • NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0) (use the globally
                                              configured value)



                                            All other values are reserved.



                                            More at https://people.freedesktop.org/~lkundrak/nm-docs/nm-settings.html






                                            share|improve this answer


























                                              1














                                              Key: powersave



                                              Type: uint32



                                              Default value: 0



                                              Can be one of:




                                              • NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2) (disable Wi-Fi power
                                                saving)

                                              • NM_SETTING_WIRELESS_POWERSAVE_ENABLE (3) (enable Wi-Fi power

                                                saving)

                                              • NM_SETTING_WIRELESS_POWERSAVE_IGNORE (1) (don't touch currently
                                                configure setting)


                                              • NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0) (use the globally
                                                configured value)



                                              All other values are reserved.



                                              More at https://people.freedesktop.org/~lkundrak/nm-docs/nm-settings.html






                                              share|improve this answer
























                                                1












                                                1








                                                1






                                                Key: powersave



                                                Type: uint32



                                                Default value: 0



                                                Can be one of:




                                                • NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2) (disable Wi-Fi power
                                                  saving)

                                                • NM_SETTING_WIRELESS_POWERSAVE_ENABLE (3) (enable Wi-Fi power

                                                  saving)

                                                • NM_SETTING_WIRELESS_POWERSAVE_IGNORE (1) (don't touch currently
                                                  configure setting)


                                                • NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0) (use the globally
                                                  configured value)



                                                All other values are reserved.



                                                More at https://people.freedesktop.org/~lkundrak/nm-docs/nm-settings.html






                                                share|improve this answer












                                                Key: powersave



                                                Type: uint32



                                                Default value: 0



                                                Can be one of:




                                                • NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2) (disable Wi-Fi power
                                                  saving)

                                                • NM_SETTING_WIRELESS_POWERSAVE_ENABLE (3) (enable Wi-Fi power

                                                  saving)

                                                • NM_SETTING_WIRELESS_POWERSAVE_IGNORE (1) (don't touch currently
                                                  configure setting)


                                                • NM_SETTING_WIRELESS_POWERSAVE_DEFAULT (0) (use the globally
                                                  configured value)



                                                All other values are reserved.



                                                More at https://people.freedesktop.org/~lkundrak/nm-docs/nm-settings.html







                                                share|improve this answer












                                                share|improve this answer



                                                share|improve this answer










                                                answered Dec 16 '16 at 18:59









                                                slavablind

                                                111




                                                111























                                                    0














                                                    TLP - Linux Advanced Power Management Tool works for me out of the box with Ubuntu 18.04.



                                                    > grep WIFI /etc/default/tlp 
                                                    WIFI_PWR_ON_AC=off
                                                    WIFI_PWR_ON_BAT=off

                                                    > iw dev wlan0 get power_save
                                                    Power save: off


                                                    FWIW. Ansible role is available to configure TLP with Ubuntu.






                                                    share|improve this answer


























                                                      0














                                                      TLP - Linux Advanced Power Management Tool works for me out of the box with Ubuntu 18.04.



                                                      > grep WIFI /etc/default/tlp 
                                                      WIFI_PWR_ON_AC=off
                                                      WIFI_PWR_ON_BAT=off

                                                      > iw dev wlan0 get power_save
                                                      Power save: off


                                                      FWIW. Ansible role is available to configure TLP with Ubuntu.






                                                      share|improve this answer
























                                                        0












                                                        0








                                                        0






                                                        TLP - Linux Advanced Power Management Tool works for me out of the box with Ubuntu 18.04.



                                                        > grep WIFI /etc/default/tlp 
                                                        WIFI_PWR_ON_AC=off
                                                        WIFI_PWR_ON_BAT=off

                                                        > iw dev wlan0 get power_save
                                                        Power save: off


                                                        FWIW. Ansible role is available to configure TLP with Ubuntu.






                                                        share|improve this answer












                                                        TLP - Linux Advanced Power Management Tool works for me out of the box with Ubuntu 18.04.



                                                        > grep WIFI /etc/default/tlp 
                                                        WIFI_PWR_ON_AC=off
                                                        WIFI_PWR_ON_BAT=off

                                                        > iw dev wlan0 get power_save
                                                        Power save: off


                                                        FWIW. Ansible role is available to configure TLP with Ubuntu.







                                                        share|improve this answer












                                                        share|improve this answer



                                                        share|improve this answer










                                                        answered Oct 7 at 8:26









                                                        Vladimir Botka

                                                        1815




                                                        1815























                                                            0














                                                            But anyone can help me, its the different case, but similar, and the difference is in this post every one wants to make power management off...and i want to make power management on...any one plz have a idea on it...





                                                            share








                                                            New contributor




                                                            demi raj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                            Check out our Code of Conduct.


















                                                            • Ask a fresh question.
                                                              – P_Yadav
                                                              1 min ago
















                                                            0














                                                            But anyone can help me, its the different case, but similar, and the difference is in this post every one wants to make power management off...and i want to make power management on...any one plz have a idea on it...





                                                            share








                                                            New contributor




                                                            demi raj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                            Check out our Code of Conduct.


















                                                            • Ask a fresh question.
                                                              – P_Yadav
                                                              1 min ago














                                                            0












                                                            0








                                                            0






                                                            But anyone can help me, its the different case, but similar, and the difference is in this post every one wants to make power management off...and i want to make power management on...any one plz have a idea on it...





                                                            share








                                                            New contributor




                                                            demi raj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                            Check out our Code of Conduct.









                                                            But anyone can help me, its the different case, but similar, and the difference is in this post every one wants to make power management off...and i want to make power management on...any one plz have a idea on it...






                                                            share








                                                            New contributor




                                                            demi raj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                            Check out our Code of Conduct.








                                                            share


                                                            share






                                                            New contributor




                                                            demi raj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                            Check out our Code of Conduct.









                                                            answered 8 mins ago









                                                            demi raj

                                                            1




                                                            1




                                                            New contributor




                                                            demi raj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                            Check out our Code of Conduct.





                                                            New contributor





                                                            demi raj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                            Check out our Code of Conduct.






                                                            demi raj is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                                                            Check out our Code of Conduct.












                                                            • Ask a fresh question.
                                                              – P_Yadav
                                                              1 min ago


















                                                            • Ask a fresh question.
                                                              – P_Yadav
                                                              1 min ago
















                                                            Ask a fresh question.
                                                            – P_Yadav
                                                            1 min ago




                                                            Ask a fresh question.
                                                            – P_Yadav
                                                            1 min ago


















                                                            draft saved

                                                            draft discarded




















































                                                            Thanks for contributing an answer to Unix & Linux Stack Exchange!


                                                            • 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%2funix.stackexchange.com%2fquestions%2f269661%2fhow-to-turn-off-wireless-power-management-permanently%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

                                                            サソリ

                                                            広島県道265号伴広島線

                                                            Setup Asymptote in Texstudio