32
submitted 7 months ago by zeppo@lemmy.world to c/linux@programming.dev

About 50% of the time, if I choose sleep, it turns back on as soon as it shuts down. This can happen a couple times in a row. Other times, it sleeps normally and only comes back on with keyboard input. I’ve looked at running processes and there doesn’t seem to be anything I dual happening at the times it starts back up. Any ideas?

top 7 comments
sorted by: hot top controversial new old
[-] simonmicro@programming.dev 15 points 7 months ago

Run "sudo dmesg -w", put it to sleep and then look what the kernel tells you why he could not sleep.

[-] zeppo@lemmy.world 1 points 7 months ago

Cool, I’ll try that!

[-] ptz@dubvee.org 2 points 7 months ago

Dunno, but I see the same thing with my X1 carbon. Sometimes it sleeps properly, sometimes it seems like it's a "light sleep" or will wake up and go back to sleep repeatedly.

In my BIOS settings, there's a "Windows" and "Linux" sleep mode option. Last time I tried "Linux" mode, sleep didn't seem to work, so I've left it at "Windows".

[-] zeppo@lemmy.world 2 points 7 months ago

I haven’t checked out the BIOS yet. The weird thing is it’s inconsistent… sometimes it sleeps perfectly, other times wakes immediately after shutting down. Just tested it now for instance and sort of like “hey mechanic my car makes this weird noise… oh uh, it’s not doing it now” it slept normally so there wasn’t anything to observe.

[-] onlinepersona@programming.dev 1 points 7 months ago

Does it wake up from mouse movement? I turn off my mouse when putting my PC to sleep otherwise moving it wakes it up.

CC BY-NC-SA 4.0

[-] Zeppo@sh.itjust.works 1 points 7 months ago

It does, and it’s sensitive, but I’m very careful to avoid accidentally triggering it and this doesn’t happen on Windows.

[-] mumblerfish@lemmy.world 4 points 7 months ago* (last edited 7 months ago)

You can disable the usb from being allowed to wake up. If it still does, its for some other reason. They have examples on how to do it here: https://askubuntu.com/questions/1328823/disable-specific-device-from-waking-up-the-system

this post was submitted on 19 Mar 2024
32 points (100.0% liked)

Linux

5199 readers
43 users here now

A community for everything relating to the linux operating system

Also check out !linux_memes@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 1 year ago
MODERATORS