Prevent wi-fi to turn off when laptop's lid is closed

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












even though I set in the settings when the laptop is on AC to do nothing when the lid is closed, I also selected on gnome-tweak-tool to not suspend but, the wireless still turns off.



How can I make the Wi-Fi working with the lid closed, on AC? I'm on Ubuntu 17.10










share|improve this question



























    up vote
    0
    down vote

    favorite












    even though I set in the settings when the laptop is on AC to do nothing when the lid is closed, I also selected on gnome-tweak-tool to not suspend but, the wireless still turns off.



    How can I make the Wi-Fi working with the lid closed, on AC? I'm on Ubuntu 17.10










    share|improve this question

























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      even though I set in the settings when the laptop is on AC to do nothing when the lid is closed, I also selected on gnome-tweak-tool to not suspend but, the wireless still turns off.



      How can I make the Wi-Fi working with the lid closed, on AC? I'm on Ubuntu 17.10










      share|improve this question















      even though I set in the settings when the laptop is on AC to do nothing when the lid is closed, I also selected on gnome-tweak-tool to not suspend but, the wireless still turns off.



      How can I make the Wi-Fi working with the lid closed, on AC? I'm on Ubuntu 17.10







      wireless internet power-management






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 12 at 23:01

























      asked Feb 10 at 2:17









      sticsk

      2391621




      2391621




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          There is a tool missing in the default setup named GNOME Tweaks. This option sets the one you want to disable. The suspend is what kills the wifi.



          enter image description here



          Command line method:



          Do nothing when on battery:



          gsettings set org.gnome.settings-daemon.plugins.power lid-close-battery-action blank


          Do nothing when on power:



          gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action blank





          share|improve this answer




















          • I did the same thing on Ubuntu 17.10 and looks like after I open the laptop's lid, everything is freezing but i can still hear audio
            – sticsk
            Feb 12 at 22:56










          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',
          convertImagesToLinks: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          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%2f1004730%2fprevent-wi-fi-to-turn-off-when-laptops-lid-is-closed%23new-answer', 'question_page');

          );

          Post as a guest






























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          up vote
          0
          down vote













          There is a tool missing in the default setup named GNOME Tweaks. This option sets the one you want to disable. The suspend is what kills the wifi.



          enter image description here



          Command line method:



          Do nothing when on battery:



          gsettings set org.gnome.settings-daemon.plugins.power lid-close-battery-action blank


          Do nothing when on power:



          gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action blank





          share|improve this answer




















          • I did the same thing on Ubuntu 17.10 and looks like after I open the laptop's lid, everything is freezing but i can still hear audio
            – sticsk
            Feb 12 at 22:56














          up vote
          0
          down vote













          There is a tool missing in the default setup named GNOME Tweaks. This option sets the one you want to disable. The suspend is what kills the wifi.



          enter image description here



          Command line method:



          Do nothing when on battery:



          gsettings set org.gnome.settings-daemon.plugins.power lid-close-battery-action blank


          Do nothing when on power:



          gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action blank





          share|improve this answer




















          • I did the same thing on Ubuntu 17.10 and looks like after I open the laptop's lid, everything is freezing but i can still hear audio
            – sticsk
            Feb 12 at 22:56












          up vote
          0
          down vote










          up vote
          0
          down vote









          There is a tool missing in the default setup named GNOME Tweaks. This option sets the one you want to disable. The suspend is what kills the wifi.



          enter image description here



          Command line method:



          Do nothing when on battery:



          gsettings set org.gnome.settings-daemon.plugins.power lid-close-battery-action blank


          Do nothing when on power:



          gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action blank





          share|improve this answer












          There is a tool missing in the default setup named GNOME Tweaks. This option sets the one you want to disable. The suspend is what kills the wifi.



          enter image description here



          Command line method:



          Do nothing when on battery:



          gsettings set org.gnome.settings-daemon.plugins.power lid-close-battery-action blank


          Do nothing when on power:



          gsettings set org.gnome.settings-daemon.plugins.power lid-close-ac-action blank






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 10 at 2:38









          Rinzwind

          198k25380512




          198k25380512











          • I did the same thing on Ubuntu 17.10 and looks like after I open the laptop's lid, everything is freezing but i can still hear audio
            – sticsk
            Feb 12 at 22:56
















          • I did the same thing on Ubuntu 17.10 and looks like after I open the laptop's lid, everything is freezing but i can still hear audio
            – sticsk
            Feb 12 at 22:56















          I did the same thing on Ubuntu 17.10 and looks like after I open the laptop's lid, everything is freezing but i can still hear audio
          – sticsk
          Feb 12 at 22:56




          I did the same thing on Ubuntu 17.10 and looks like after I open the laptop's lid, everything is freezing but i can still hear audio
          – sticsk
          Feb 12 at 22:56

















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1004730%2fprevent-wi-fi-to-turn-off-when-laptops-lid-is-closed%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491