< PowerDevilRevision as of 14:23, 8 October 2013 by Afiestas (talk | contribs)(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff) Contents 1 Brightness 1.1 Displays 1.2 Keyboards 2 Inhibition 3 Devices 4 dpms 5 dimdisplay 6 Suspend 7 Special buttons 7.1 Lid 7.2 Power 8 Restore settings 9 Extensibility 10 Backends Brightness Displays Technical stuff, XRandR, Udev, helper... Smooth brightness change Try to avoid double brightness changing (some hardware is wired in a way that it does not require us to actually change the brightness, but we still have to show the osd) Keyboards Technical stuff, upower? udev as well? Inhibition Types of inhibition, api, fd.o spects Note to myself: fd.o spec should inhibit dimming as well ? Devices dpms Technical info, most probably port to xcb dimdisplay Technical info Suspend Technical info (suspend vs hibernation vs hybrid) Special buttons Lid What should happen by default? and when you plug a monitor? Power Showing menu by default? Restore settings Should we agresively restore settings like we are doing right now? or should we trust the user knows what it wants every time? Should we restore everything but brightness? Extensibility Power Management is a tricky matter, we need it to be extensible so all use cases can be fit. for example, executing a script when AC is disconnected. Backends We need multiple backends, a clear example of it is KDE Connect. Question is, how do we want them to look like? First idea is Binary plugins, just good old QLibrary but that might be dangerous given that an in correct written plugin might break all app's linking to libsolidpower. Another idea would be create some kind of DBus api that people can use to add batteries, it could even have the same API UPower have... just in different service/path. This will be safe and will allow third parties to create batteries in a safe way. Retrieved from "https://community.kde.org/index.php?title=PowerDevil/new&oldid=34686" Content is available under Creative Commons License SA 4.0 unless otherwise noted.