My PC is running Ubuntu 22.04, with KDE Plasma 5.24. When I select Sleep from the Application Launcher, it always starts t go to sleep, but then it seems like a 50-50 chance that it will stay asleep. Many times, it wakes right back up again within 10 seconds. If I try to make it sleep two or more times, sometimes it will eventually sleep but not always.

I’ve done some searching and cannot find a resolution to this.

It seems I’m not the only one too - https://superuser.com/questions/1795451/kde-plasma-does-not-sleep

  1. Is there a sure-fire way to tell Ubuntu KDE to sleep?

  2. If not, what are some things which might wake it up again?

Thanks!

  • @[email protected]
    link
    fedilink
    510 months ago

    I’ve had that same problem. Thought I was the only one. It almost seems like some event interrupts the process of going to sleep. I’ve tried being really careful not to move the mouse after I’ve selected sleep from the menu. Also, I make sure to turn off my Bluetooth headphones prior to selecting sleep. Seems to help but I may just be imagining it all.

    • @[email protected]OP
      link
      fedilink
      English
      2
      edit-2
      10 months ago

      Ok, let’s compare notes - I have nvidia, using the nvidia provided driver, asus m’board, amd ryzen 5 CPU. I run with KDE on X11.

      I have a bluetooth dongle I use for my headset too and right, sometimes it seems to help to remove that before sleeping.

      I wish there was a “I really want you to go to sleep no matter what option”, like to have the PC ignore whatever signals it’s getting that make it wake up again.

      Not relevant, but I have this same problem on a Windows laptop rn too. I have no idea why that’s happening either.

      • ABeeinSpace
        link
        English
        310 months ago

        Make sure power management is properly configured on the Nvidia card.

        I had this exact issue on an MSI motherboard. What ended up being the fix for me was changing the “Wake Up Event By” toggle in my UEFI. It was set to “BIOS”. Changing it to “OS” immediately fixed all the issues I was having with suspend

          • ABeeinSpace
            link
            English
            210 months ago

            Of course. I troubleshot a similar issue for a while. Finally found the toggle in BIOS and felt a bit dumb

      • @undrwater
        link
        110 months ago

        Which Nvidia device? The 970 is currently problematic.