[Powerdevil] [Bug 378404] New: Turn off screen when PM-inhibiting app is not the active app

Martin Klapetek bugzilla_noreply at kde.org
Mon Apr 3 16:58:15 UTC 2017


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

            Bug ID: 378404
           Summary: Turn off screen when PM-inhibiting app is not the
                    active app
           Product: Powerdevil
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-devel at kde.org
          Reporter: mklapetek at kde.org
  Target Milestone: ---

A scenario: I'm listening to music from YouTube
playing in Chromium while writing some code on
my battery-only laptop. I leave my laptop for a
little while and when I come back, the backlight
is still full on and the music is still playing.

It made me realize that while I was gone, the screen
could have turned itself off while the music could
keep playing like normal.

In other words, if an application is inhibiting
the power management and thus preventing the laptop
to go to sleep, it could at least let the screen
turn itself off when the inhibiting app isn't the
current active app. If I'm listening to music and
the app is not in the foreground (ie. I am not
watching it on the screen), then it should be ok
to turn the screen off in the predefined timeout
during inactivity but still prevent going to sleep.

This would allow for a nice battery-saving media
playback with Plasma.

TL;DR - if the PM-inhibiting app is not the current
active app on screen (ie. it's in the background
and/or minimized), let the screen be turned off like
normal during inactivity, but still prevent sleep.

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


More information about the Plasma-devel mailing list