Summary: | Random suspending after resuming or unplugging ac | ||
---|---|---|---|
Product: | [Unmaintained] solid | Reporter: | Otso Helenius <kde> |
Component: | powermanagement | Assignee: | Dario Freddi <drf> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | rserral |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Fedora RPMs | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.7.2 | |
Sentry Crash Report: |
Description
Otso Helenius
2011-04-08 12:20:01 UTC
Can you please verify if this patch http://paste.kde.org/34399/ solves the "unplug after a while" problem? About the button, it is no longer present as the action will no longer be undertaken if you plug the AC adaptor in, which is the only case where it is safe aborting. If that behavior does not work for you, it is a bug Sorry, I missed your pastebin patch, could you link it again? And yes, the problem is exactly that when plugging AC in, it apparently does not abort suspending. Still present on 4.6.5. This often happens a while after resuming from suspend and unlocking the session. I have just enough time to open the wallet and connect to network, when the system suspends again. This happens without any pop-ups reporting of "suspending within 30 seconds" and it happens even when plugged in. Also happens consistently when the laptop lid is closed while ac is plugged in. When I unplug the ac, open the lid and unlock my session, the computer is suspended in ~30 seconds. I'll file this also in Fedora bugzilla in case it's not related to the KDE power management. I have exactly the same problem with KDE 4.7, when I unplug the AC power most times the system directly suspends to RAM. The same happens when I suspend to disk with AC power, unplug it after the system is down, and then turn it on again, just after resuming the system goes to s2ram all on its own. Git commit ab6f70a5779df026bebddcf1c0aca9b6e56e956c by Dario Freddi. Committed on 30/09/2011 at 13:18. Pushed by dafre into branch 'master'. Handle timeout resets in a 2-stage way BUG: 270430 M +9 -4 powerdevil/daemon/powerdevilcore.cpp M +1 -0 powerdevil/daemon/powerdevilcore.h http://commits.kde.org/kde-workspace/ab6f70a5779df026bebddcf1c0aca9b6e56e956c Git commit 6329f3bd282cb1710e38587014ba6e512baf660a by Dario Freddi. Committed on 30/09/2011 at 13:18. Pushed by dafre into branch 'KDE/4.7'. Handle timeout resets in a 2-stage way BUG: 270430 FIXED-IN: 4.7.2 M +9 -4 powerdevil/daemon/powerdevilcore.cpp M +1 -0 powerdevil/daemon/powerdevilcore.h http://commits.kde.org/kde-workspace/6329f3bd282cb1710e38587014ba6e512baf660a |