[Powerdevil] [Bug 315438] Solid inhibit fails the next suspend if inhibit outlasts suspend countdown while application is still open
Kai Uwe Broulik
kde at privat.broulik.de
Sat Jun 6 20:28:31 UTC 2015
https://bugs.kde.org/show_bug.cgi?id=315438
Kai Uwe Broulik <kde at privat.broulik.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Version Fixed In| |5.4.0
Status|CONFIRMED |RESOLVED
Latest Commit| |http://commits.kde.org/powe
| |rdevil/bf9bf79c92a3d77df863
| |d15c543f7f5329a564dc
--- Comment #4 from Kai Uwe Broulik <kde at privat.broulik.de> ---
Git commit bf9bf79c92a3d77df863d15c543f7f5329a564dc by Kai Uwe Broulik.
Committed on 06/06/2015 at 20:25.
Pushed by broulik into branch 'master'.
Simulate user activity when inhibitions change
This way when an inhibition outlasts an idle action (eg. 10 minute timeout for
auto-suspend but download takes 11 minutes) we make sure that 10 minutes after
the download has finished, the system suspends, as well as vice-versa when a
video stops after 9 minutes the system waits another 10 to suspend rather than
suspending within the next minute.
Since this patch has the potential for unwanted side-effects (screen waking up
when download finishes, I could imagine) I'll leave this as 5.4 material and
not part of the 5.3.x patch releases to give it more thorough testing.
FIXED-IN: 5.4.0
M +6 -0 daemon/powerdevilcore.cpp
http://commits.kde.org/powerdevil/bf9bf79c92a3d77df863d15c543f7f5329a564dc
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Plasma-devel
mailing list