Summary: | On Framework laptop, while lid is closed, system does not stay asleep if power cable is connected | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Jeremi Campagna <jeremi.campagna> |
Component: | Power management & brightness | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | ASSIGNED --- | ||
Severity: | normal | CC: | natalie_clarius, nate, nicolas.fella, postix |
Priority: | NOR | ||
Version: | 6.2.4 | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
URL: | https://community.frame.work/t/tracking-framework-amd-ryzen-7040-series-lid-wakeup-behavior-feedback/39128/31 | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jeremi Campagna
2023-11-03 00:07:01 UTC
If the firmware behavior is intentional on the part of the hardware, then I guess we'll need to handle these unusual conditions in our code. That's not ideal at all as it will then be broken for people not using Plasma. From that link, it looks like the system needs to wake up and then immediately go back to sleep again? Yuck. :) (In reply to Nate Graham from comment #1) > If the firmware behavior is intentional on the part of the hardware, then I > guess we'll need to handle these unusual conditions in our code. That's not > ideal at all as it will then be broken for people not using Plasma. From > that link, it looks like the system needs to wake up and then immediately go > back to sleep again? Yuck. :) Yes, I agree. There's further discussion and there could be something in the firmware that causes Linux systems to just wake up and stay awake. Though waking up the system when it gets on AC is intended behaviour. The AC-DC cycling is not to worry about, I haven't seen it happen again recently, must have been a singled out oddity. Does the wakeup also happen when you set it to sleep while plugged and then unplug it? I just learned that my (non-Framework) Laptop also does this when plugging *in* the AC, but not when unplugging (In reply to Natalie Clarius from comment #3) > Does the wakeup also happen when you set it to sleep while plugged and then > unplug it? Yes. It happens more often that it wakes up when unplugging from AC. And then it fails to go back to sleep, more often than not. I am having some odd sleep behaviours too. Sometimes, it will fail to sleep or hibernate when there has not been a change in AC-DC status. (In reply to Jeremi Campagna from comment #5) > more often than not So sometimes it does go back to sleep? Immediately or after some period? (In reply to Natalie Clarius from comment #6) > (In reply to Jeremi Campagna from comment #5) > > > more often than not > > So sometimes it does go back to sleep? Immediately or after some period? If it does, it seems to be immediate. It's not exactly reliable. A possibly relevant merge request was started @ https://invent.kde.org/plasma/powerdevil/-/merge_requests/279 |