Summary: | Screens return from DPMS Suspend Mode to Normal Mode When Receiving Google Hangouts Messages | ||
---|---|---|---|
Product: | [Plasma] Powerdevil | Reporter: | Gil <gilberto.limon.perez> |
Component: | general | Assignee: | Plasma Development Mailing List <plasma-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bhush94, kde, plasma-bugs |
Priority: | NOR | ||
Version: | 5.4.1 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/powerdevil/eca79138c15575f6f523a8680919b407f84da2e2 | Version Fixed In: | 5.6.0 |
Sentry Crash Report: |
Description
Gil
2015-09-03 18:36:35 UTC
When a hangouts message is received and it plays a sound, Chrome sets an inhibition. It does this to ensure while playing a video it doesn't turn off the screen. Unfortunately it does so even for short sounds. Once an inhibition is released, PowerDevil (KDE's power management system) simulates user activity so when a timeout (such as auto screen turn off) outlasts the inhibtion (watching a movie) it would still turn it off eventually. It is likely that this causes the screen to turn on. I'll investigate what could be done to satisfy both needs. Please give a try to https://git.reviewboard.kde.org/r/126145/ 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 |