Power Management and Inhibition by Applications

Aleix Pol aleixpol at kde.org
Sun Jan 27 05:48:37 GMT 2019


On Wed, Jan 16, 2019 at 10:08 PM Matthieu Gallien <
gallien.matthieu at gmail.com> wrote:

> Hello,
>
> I am trying to work on a feature request to add the ability to suppress
> laptop
> sleep when playing music.
>
> Currently, Juk is doing it via dbus calls to
> "org.kde.Solid.PowerManagement".
>
> I also had a look to Solid frameworks and the power classes that add an
> asynchronous way to do that.
> Currently, the Solid framework only conditionally provides those features
> and
> it seems distributions (at least Debian) do not always build it.
>
> I am also unsure about the current recommended solution that would work
> for
> most desktop environments.
>
> What would be the best way forward ?
>
> I can also see some other features that could make sense to provide in
> libraries that music players could use (lyrics fetching, album art
> fetching,
> ...). This could be in a dedicated framework to help build media players.
>
> Best regards
>
> --
> Matthieu Gallien
>
>
>
Solid only does this conditionally because it was a WIP work that never was
finished.
I'd say having nice async API in solid, kdbusaddons or wherever could be
useful.

Aleix
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190127/4dba30cd/attachment.html>


More information about the Kde-frameworks-devel mailing list