AMD laptops disrupt sleep on lid close and charger plugin
septatrix opened this issue · comments
See the relevant forum thread. It seem like multiple wakeup events are sent, from the lid switch and the keyboard (at least for the lid closing, unsure about the charging thing). This seems to cause operating systems to cancel sleep, i.e. closing the lid of a sleeping laptop wakes it up and so does plugging in the charger. Someone from the Framwork team already has a theory about the code which might case this issue:
Here's the Linux kernel workaround patch that disables the keyboard wakeup source completely on firmware version 3.03 that is included in >=6.7-rc7