I am trying to understand I weird behavior I have noticed on my AMD 7040 board (which I upgraded to from an 11th gen Intel board).
In a nutshell, the laptop seems to exit its s2idle sleep unexpectedly.
Sometimes, I notice the event because, while walking with the laptop in my backpack, my Bluetooth headphones connect to the laptop, then disconnect again.
Other times, I pull the laptop out of my bag, and I start hearing notification noises before I even try to open the lid.
I have used journalctl in the past, in an effort to figure out the odd sleep behavior of the 11th gen board. But I must be missing some key knowledge, because I cannot for the life of me figure out what is triggering the suspen exit event.
If I didn’t know any better, I would blame a faulty lid sensor. But it’s in my nature to think of a hardware failure first, and maybe the issue here is on the software side of things.
Any tips are appreciated.
My suggestion is to make sure you are using s2idle (deep). Framework’s official guides talk about this as well.
That or configure hibernation. On an NVME and depending on how much system RAM you have it really is not the big of a time synch anymore. And you have peace of mind knowing your system is completely off.
This is what we are doing on our older intel boards. It should not be something needed for the AMD boards. On top of it, /sys/power/mem_sleep only lists s2idle as an option.
Besides, I’d still want to understand what the trigger is. What if it really is a problem with the lid sensor?