Prevent the host computer to sleep while playing music
ClosedPublic

Authored by mgallien on Jan 18 2019, 6:17 AM.

Details

Summary

asks PowerDevil in Plasma to inhibit sleep when playing music

try to get windows to not sleep while playing music in Elisa

BUG: 401601

Test Plan

tested on a Plasma desktop. Untested on Windows

Diff Detail

Repository
R255 Elisa
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mgallien requested review of this revision.Jan 18 2019, 6:17 AM
mgallien created this revision.
mgallien updated this revision to Diff 54817.Mar 25 2019, 9:14 PM
  • implement more methods to inhibit sleep (support Gnome and Logind)

rebase on top of master

mgallien updated this revision to Diff 56270.Apr 15 2019, 5:36 AM
  • implement more methods to inhibit sleep (support Gnome and Logind)
  • prevent sleep again on Plasma workspace
  • remove the calls to logind inhibit interface: does nothing right now

makes it work again on Plasma workspace and remove logind support

This revision was not accepted when it landed; it landed in state Needs Review.Apr 15 2019, 5:46 AM
This revision was automatically updated to reflect the committed changes.