Ubuntu 18.04 & Dell XPS 13 9350 Suspend issues when lid closed





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I have an external monitor connected to my Dell XPS 13 9350 laptop. Whenever I close my laptop lid, the laptop's monitor will turn off but the external monitor will stay on and become the primary monitor. I tested what happens when I close the lid without an external monitor and found out that there is a 20-30 second delay before the laptop will suspend. If I close the lid and open it again within 10-15 seconds, the laptop will not even lock. I am wondering if this delay is the reason why my laptop will not suspend with an external monitor?



Someone with a similar computer asked a similar question here:
Ubuntu 18.04 + Dell XPS 9360 = Suspension doesn't work when I close the lid



That doesn't appear to be the same problem, though, as their computer wouldn't suspend at all. I did try many of the suggestions.



My computer is going into a "deep" sleep and not "s2idle" mode. When I run sudo journalctl | grep "PM: suspend" | tail -2, I get the following result:



Feb 11 14:09:11 MyComp kernel: PM: suspend entry (deep)
Feb 11 14:09:17 MyComp kernel: PM: suspend exit


I tried editing /etc/systemd/logind.conf and uncommenting the following 2 lines so that it reads:



HandleLidSwitch=suspend
HandleLidSwitchDocked=suspend


I also tried to create /etc/systemd/sleep.conf as mentioned in one of the answers in the link above, but nothing changed.



I don't have nVidia graphics, so any solution for nVidia graphic cards doesn't help me. If it helps, my graphics card is Intel HD Graphics 520 (Skylake GT2).



I downloaded the Gnome Tweaks tool and made sure the "Suspend when laptop lid is closed" setting under Power is turned on.



If it helps, I am using kernel 4.15.0-45-generic.



I know it's not a hardware issue as my computer is a dual boot with Windows 10, and my laptop has not problem going to sleep when I close the lid with or without an external monitor on Windows 10.



Mainly, I would like to close my laptop and it puts my computer to sleep without having to unplug the external monitor. The delay in my laptop suspending without an external monitor is something I can live with.










share|improve this question





























    0















    I have an external monitor connected to my Dell XPS 13 9350 laptop. Whenever I close my laptop lid, the laptop's monitor will turn off but the external monitor will stay on and become the primary monitor. I tested what happens when I close the lid without an external monitor and found out that there is a 20-30 second delay before the laptop will suspend. If I close the lid and open it again within 10-15 seconds, the laptop will not even lock. I am wondering if this delay is the reason why my laptop will not suspend with an external monitor?



    Someone with a similar computer asked a similar question here:
    Ubuntu 18.04 + Dell XPS 9360 = Suspension doesn't work when I close the lid



    That doesn't appear to be the same problem, though, as their computer wouldn't suspend at all. I did try many of the suggestions.



    My computer is going into a "deep" sleep and not "s2idle" mode. When I run sudo journalctl | grep "PM: suspend" | tail -2, I get the following result:



    Feb 11 14:09:11 MyComp kernel: PM: suspend entry (deep)
    Feb 11 14:09:17 MyComp kernel: PM: suspend exit


    I tried editing /etc/systemd/logind.conf and uncommenting the following 2 lines so that it reads:



    HandleLidSwitch=suspend
    HandleLidSwitchDocked=suspend


    I also tried to create /etc/systemd/sleep.conf as mentioned in one of the answers in the link above, but nothing changed.



    I don't have nVidia graphics, so any solution for nVidia graphic cards doesn't help me. If it helps, my graphics card is Intel HD Graphics 520 (Skylake GT2).



    I downloaded the Gnome Tweaks tool and made sure the "Suspend when laptop lid is closed" setting under Power is turned on.



    If it helps, I am using kernel 4.15.0-45-generic.



    I know it's not a hardware issue as my computer is a dual boot with Windows 10, and my laptop has not problem going to sleep when I close the lid with or without an external monitor on Windows 10.



    Mainly, I would like to close my laptop and it puts my computer to sleep without having to unplug the external monitor. The delay in my laptop suspending without an external monitor is something I can live with.










    share|improve this question

























      0












      0








      0


      1






      I have an external monitor connected to my Dell XPS 13 9350 laptop. Whenever I close my laptop lid, the laptop's monitor will turn off but the external monitor will stay on and become the primary monitor. I tested what happens when I close the lid without an external monitor and found out that there is a 20-30 second delay before the laptop will suspend. If I close the lid and open it again within 10-15 seconds, the laptop will not even lock. I am wondering if this delay is the reason why my laptop will not suspend with an external monitor?



      Someone with a similar computer asked a similar question here:
      Ubuntu 18.04 + Dell XPS 9360 = Suspension doesn't work when I close the lid



      That doesn't appear to be the same problem, though, as their computer wouldn't suspend at all. I did try many of the suggestions.



      My computer is going into a "deep" sleep and not "s2idle" mode. When I run sudo journalctl | grep "PM: suspend" | tail -2, I get the following result:



      Feb 11 14:09:11 MyComp kernel: PM: suspend entry (deep)
      Feb 11 14:09:17 MyComp kernel: PM: suspend exit


      I tried editing /etc/systemd/logind.conf and uncommenting the following 2 lines so that it reads:



      HandleLidSwitch=suspend
      HandleLidSwitchDocked=suspend


      I also tried to create /etc/systemd/sleep.conf as mentioned in one of the answers in the link above, but nothing changed.



      I don't have nVidia graphics, so any solution for nVidia graphic cards doesn't help me. If it helps, my graphics card is Intel HD Graphics 520 (Skylake GT2).



      I downloaded the Gnome Tweaks tool and made sure the "Suspend when laptop lid is closed" setting under Power is turned on.



      If it helps, I am using kernel 4.15.0-45-generic.



      I know it's not a hardware issue as my computer is a dual boot with Windows 10, and my laptop has not problem going to sleep when I close the lid with or without an external monitor on Windows 10.



      Mainly, I would like to close my laptop and it puts my computer to sleep without having to unplug the external monitor. The delay in my laptop suspending without an external monitor is something I can live with.










      share|improve this question














      I have an external monitor connected to my Dell XPS 13 9350 laptop. Whenever I close my laptop lid, the laptop's monitor will turn off but the external monitor will stay on and become the primary monitor. I tested what happens when I close the lid without an external monitor and found out that there is a 20-30 second delay before the laptop will suspend. If I close the lid and open it again within 10-15 seconds, the laptop will not even lock. I am wondering if this delay is the reason why my laptop will not suspend with an external monitor?



      Someone with a similar computer asked a similar question here:
      Ubuntu 18.04 + Dell XPS 9360 = Suspension doesn't work when I close the lid



      That doesn't appear to be the same problem, though, as their computer wouldn't suspend at all. I did try many of the suggestions.



      My computer is going into a "deep" sleep and not "s2idle" mode. When I run sudo journalctl | grep "PM: suspend" | tail -2, I get the following result:



      Feb 11 14:09:11 MyComp kernel: PM: suspend entry (deep)
      Feb 11 14:09:17 MyComp kernel: PM: suspend exit


      I tried editing /etc/systemd/logind.conf and uncommenting the following 2 lines so that it reads:



      HandleLidSwitch=suspend
      HandleLidSwitchDocked=suspend


      I also tried to create /etc/systemd/sleep.conf as mentioned in one of the answers in the link above, but nothing changed.



      I don't have nVidia graphics, so any solution for nVidia graphic cards doesn't help me. If it helps, my graphics card is Intel HD Graphics 520 (Skylake GT2).



      I downloaded the Gnome Tweaks tool and made sure the "Suspend when laptop lid is closed" setting under Power is turned on.



      If it helps, I am using kernel 4.15.0-45-generic.



      I know it's not a hardware issue as my computer is a dual boot with Windows 10, and my laptop has not problem going to sleep when I close the lid with or without an external monitor on Windows 10.



      Mainly, I would like to close my laptop and it puts my computer to sleep without having to unplug the external monitor. The delay in my laptop suspending without an external monitor is something I can live with.







      18.04 suspend dell xps lid






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Feb 11 at 20:44









      Sleepy HoundSleepy Hound

      11




      11






















          0






          active

          oldest

          votes












          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%2f1117479%2fubuntu-18-04-dell-xps-13-9350-suspend-issues-when-lid-closed%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1117479%2fubuntu-18-04-dell-xps-13-9350-suspend-issues-when-lid-closed%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

          Human spaceflight

          Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

          File:DeusFollowingSea.jpg