[Powerdevil] [Bug 352235] Screens return from DPMS Suspend Mode to Normal Mode When Receiving Google Hangouts Messages

Kai Uwe Broulik via KDE Bugzilla bugzilla_noreply at kde.org
Mon Dec 14 21:04:18 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=352235

Kai Uwe Broulik <kde at privat.broulik.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |5.6.0
      Latest Commit|                            |http://commits.kde.org/powe
                   |                            |rdevil/eca79138c15575f6f523
                   |                            |a8680919b407f84da2e2
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #3 from Kai Uwe Broulik <kde at privat.broulik.de> ---
Git commit eca79138c15575f6f523a8680919b407f84da2e2 by Kai Uwe Broulik.
Committed on 14/12/2015 at 21:02.
Pushed by broulik into branch 'master'.

Wait 5s before enforcing an inhibition

Whenever Chrome plays a sound it posts an inhibition. This is great, except
that it does that
also when playing a short sound, eg. when receiving a message.
This patch makes PowerDevil wait 5 seconds before actually enforcing the
inhibition. In
any case I don't want to have the system wake up for any such short
inhibitions.

Also cleanup; the inhibition and inhibition with explicit dbus service methods
were
virtually identical.

REVIEW: 126145
FIXED-IN: 5.6.0

M  +42   -35   daemon/powerdevilpolicyagent.cpp
M  +3    -0    daemon/powerdevilpolicyagent.h

http://commits.kde.org/powerdevil/eca79138c15575f6f523a8680919b407f84da2e2

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Plasma-devel mailing list