EmbeddedController icon indicating copy to clipboard operation
EmbeddedController copied to clipboard

AMD laptops disrupt sleep on lid close and charger plugin

Open septatrix opened this issue 2 years ago • 4 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:

https://github.com/FrameworkComputer/EmbeddedController/blob/833fc2f25b82e0786a1a59e8b46ec327a53e4cec/zephyr/program/lotus/azalea/src/power_sequence.c#L313

septatrix avatar Dec 18 '23 00:12 septatrix

that sounds like an issue I have been having - my battery really drains nicely on my AMD 16 on some days

xeruf avatar Feb 12 '25 19:02 xeruf

that sounds like an issue I have been having - my battery really drains nicely on my AMD 16 on some days

Do you mean your system wakes up by itself? If no, then that's not the same issue.

JohnAZoidberg avatar Mar 27 '25 12:03 JohnAZoidberg