We have a few different but related use cases here:
- Lock inhibition
- Screen turnoff inhibition
- Suspend inhibition
I'm usure how detailed that should be modeled in the API. What use cases do we have?
Currently we have multiple applications that implement this, both with support for various platforms:
- Itinerary, inhibit screen turnoff when scanning a ticket (Linux, Android)
- KDE Connect, inhibit screen turnoff when device is connected (Linux, Windows, macOS)
A while ago I worked on a potential library for it in https://invent.kde.org/nicolasfella/lockinhibit
This could be part of Solid, but having it as a new Framework could also be thinkable