Ubuntu randomly goes to sleep after I have closed the lid of my latop(to put it to sleep)





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







2















I am running Ubuntu 18 on a Razer blade Stealth 2017. I have it running side by side with windows 10.
I have experienced some issues with this and I have fixed all but one.



Whenever I want to put my laptop to sleep while using Linux, I would close the lid and it would go to sleep. Now when I come back, It would open and within 10 seconds it would go to sleep again, I then wake it up and log in and the process continues until I restart the system. This also happens if I just lock the screen for too long in my experience(without putting the lid down). This issue doesn't happen on windows so I doubt its a hardware problem.



I would love some help because the only workaround is to disable sleep mode.



When I run dmesg | grep sleep
i get a message that ACPI is preparing for sleep(S3), then that is it waking up.
This(the constant suspend problem) only happens after i manually suspend the system(by closing the lid).










share|improve this question

























  • Do you have a Nvidia Graphics? If so, have you installed the NVIDIA proprietary drivers?

    – GabrielaGarcia
    Feb 9 at 21:10











  • No, I have Intel integrated.

    – Itay Bachar
    Feb 10 at 2:36











  • What happens when you suspend using menu instead of closing lid. Then press power key to resume because lid is already open?

    – WinEunuuchs2Unix
    Feb 13 at 13:43











  • It does o the same thing no matter how i go into suspend. Once i suspend the system, it will randomly(very often) start suspends by itself. This lasts until i reboot the system.

    – Itay Bachar
    Feb 13 at 17:05


















2















I am running Ubuntu 18 on a Razer blade Stealth 2017. I have it running side by side with windows 10.
I have experienced some issues with this and I have fixed all but one.



Whenever I want to put my laptop to sleep while using Linux, I would close the lid and it would go to sleep. Now when I come back, It would open and within 10 seconds it would go to sleep again, I then wake it up and log in and the process continues until I restart the system. This also happens if I just lock the screen for too long in my experience(without putting the lid down). This issue doesn't happen on windows so I doubt its a hardware problem.



I would love some help because the only workaround is to disable sleep mode.



When I run dmesg | grep sleep
i get a message that ACPI is preparing for sleep(S3), then that is it waking up.
This(the constant suspend problem) only happens after i manually suspend the system(by closing the lid).










share|improve this question

























  • Do you have a Nvidia Graphics? If so, have you installed the NVIDIA proprietary drivers?

    – GabrielaGarcia
    Feb 9 at 21:10











  • No, I have Intel integrated.

    – Itay Bachar
    Feb 10 at 2:36











  • What happens when you suspend using menu instead of closing lid. Then press power key to resume because lid is already open?

    – WinEunuuchs2Unix
    Feb 13 at 13:43











  • It does o the same thing no matter how i go into suspend. Once i suspend the system, it will randomly(very often) start suspends by itself. This lasts until i reboot the system.

    – Itay Bachar
    Feb 13 at 17:05














2












2








2








I am running Ubuntu 18 on a Razer blade Stealth 2017. I have it running side by side with windows 10.
I have experienced some issues with this and I have fixed all but one.



Whenever I want to put my laptop to sleep while using Linux, I would close the lid and it would go to sleep. Now when I come back, It would open and within 10 seconds it would go to sleep again, I then wake it up and log in and the process continues until I restart the system. This also happens if I just lock the screen for too long in my experience(without putting the lid down). This issue doesn't happen on windows so I doubt its a hardware problem.



I would love some help because the only workaround is to disable sleep mode.



When I run dmesg | grep sleep
i get a message that ACPI is preparing for sleep(S3), then that is it waking up.
This(the constant suspend problem) only happens after i manually suspend the system(by closing the lid).










share|improve this question
















I am running Ubuntu 18 on a Razer blade Stealth 2017. I have it running side by side with windows 10.
I have experienced some issues with this and I have fixed all but one.



Whenever I want to put my laptop to sleep while using Linux, I would close the lid and it would go to sleep. Now when I come back, It would open and within 10 seconds it would go to sleep again, I then wake it up and log in and the process continues until I restart the system. This also happens if I just lock the screen for too long in my experience(without putting the lid down). This issue doesn't happen on windows so I doubt its a hardware problem.



I would love some help because the only workaround is to disable sleep mode.



When I run dmesg | grep sleep
i get a message that ACPI is preparing for sleep(S3), then that is it waking up.
This(the constant suspend problem) only happens after i manually suspend the system(by closing the lid).







18.04 suspend laptop






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 12 at 23:11







Itay Bachar

















asked Feb 9 at 21:04









Itay BacharItay Bachar

215




215













  • Do you have a Nvidia Graphics? If so, have you installed the NVIDIA proprietary drivers?

    – GabrielaGarcia
    Feb 9 at 21:10











  • No, I have Intel integrated.

    – Itay Bachar
    Feb 10 at 2:36











  • What happens when you suspend using menu instead of closing lid. Then press power key to resume because lid is already open?

    – WinEunuuchs2Unix
    Feb 13 at 13:43











  • It does o the same thing no matter how i go into suspend. Once i suspend the system, it will randomly(very often) start suspends by itself. This lasts until i reboot the system.

    – Itay Bachar
    Feb 13 at 17:05



















  • Do you have a Nvidia Graphics? If so, have you installed the NVIDIA proprietary drivers?

    – GabrielaGarcia
    Feb 9 at 21:10











  • No, I have Intel integrated.

    – Itay Bachar
    Feb 10 at 2:36











  • What happens when you suspend using menu instead of closing lid. Then press power key to resume because lid is already open?

    – WinEunuuchs2Unix
    Feb 13 at 13:43











  • It does o the same thing no matter how i go into suspend. Once i suspend the system, it will randomly(very often) start suspends by itself. This lasts until i reboot the system.

    – Itay Bachar
    Feb 13 at 17:05

















Do you have a Nvidia Graphics? If so, have you installed the NVIDIA proprietary drivers?

– GabrielaGarcia
Feb 9 at 21:10





Do you have a Nvidia Graphics? If so, have you installed the NVIDIA proprietary drivers?

– GabrielaGarcia
Feb 9 at 21:10













No, I have Intel integrated.

– Itay Bachar
Feb 10 at 2:36





No, I have Intel integrated.

– Itay Bachar
Feb 10 at 2:36













What happens when you suspend using menu instead of closing lid. Then press power key to resume because lid is already open?

– WinEunuuchs2Unix
Feb 13 at 13:43





What happens when you suspend using menu instead of closing lid. Then press power key to resume because lid is already open?

– WinEunuuchs2Unix
Feb 13 at 13:43













It does o the same thing no matter how i go into suspend. Once i suspend the system, it will randomly(very often) start suspends by itself. This lasts until i reboot the system.

– Itay Bachar
Feb 13 at 17:05





It does o the same thing no matter how i go into suspend. Once i suspend the system, it will randomly(very often) start suspends by itself. This lasts until i reboot the system.

– Itay Bachar
Feb 13 at 17:05










1 Answer
1






active

oldest

votes


















1














After some more looking, I found this page
https://github.com/rolandguelle/razer-blade-stealth-linux/blob/master/ubuntu-18-10.md
It has many common bug fixes that have to do with the blade stealth.






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%2f1116998%2fubuntu-randomly-goes-to-sleep-after-i-have-closed-the-lid-of-my-latopto-put-it%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1














    After some more looking, I found this page
    https://github.com/rolandguelle/razer-blade-stealth-linux/blob/master/ubuntu-18-10.md
    It has many common bug fixes that have to do with the blade stealth.






    share|improve this answer




























      1














      After some more looking, I found this page
      https://github.com/rolandguelle/razer-blade-stealth-linux/blob/master/ubuntu-18-10.md
      It has many common bug fixes that have to do with the blade stealth.






      share|improve this answer


























        1












        1








        1







        After some more looking, I found this page
        https://github.com/rolandguelle/razer-blade-stealth-linux/blob/master/ubuntu-18-10.md
        It has many common bug fixes that have to do with the blade stealth.






        share|improve this answer













        After some more looking, I found this page
        https://github.com/rolandguelle/razer-blade-stealth-linux/blob/master/ubuntu-18-10.md
        It has many common bug fixes that have to do with the blade stealth.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Mar 4 at 1:42









        Itay BacharItay Bachar

        215




        215






























            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%2f1116998%2fubuntu-randomly-goes-to-sleep-after-i-have-closed-the-lid-of-my-latopto-put-it%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