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?
Run “sudo dmesg -w”, put it to sleep and then look what the kernel tells you why he could not sleep.
Cool, I’ll try that!
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”.
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.
Does it wake up from mouse movement? I turn off my mouse when putting my PC to sleep otherwise moving it wakes it up.
It does, and it’s sensitive, but I’m very careful to avoid accidentally triggering it and this doesn’t happen on Windows.
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