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

Linux

5499 readers
340 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 2 years ago
MODERATORS
 

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 15 points 9 months ago (1 children)

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

[–] [email protected] 1 points 9 months ago

Cool, I’ll try that!

[–] [email protected] 2 points 9 months ago (1 children)

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".

[–] [email protected] 2 points 9 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 1 points 9 months ago (1 children)

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

[–] [email protected] 1 points 9 months ago (1 children)

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

[–] [email protected] 4 points 9 months ago* (last edited 9 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