PowerDevil/newTechnicalChanges: Difference between revisions

From KDE Community Wiki
(Created page with "== Library == We are going to move the following things into libsolid: *Brightness change *suspend/hibernate Additionally, we are going to make libsolid async. == Daemon == ...")
 
Line 15: Line 15:
**Set defaults and save configuration if they are changed only
**Set defaults and save configuration if they are changed only
**Potentially separate Workstation, Laptop, Tablet... config values
**Potentially separate Workstation, Laptop, Tablet... config values
* use dbus2cpp instead of all the mess we have right now and libsoild whenever possible

Revision as of 16:39, 10 October 2013

Library

We are going to move the following things into libsolid:

  • Brightness change
  • suspend/hibernate

Additionally, we are going to make libsolid async.

Daemon

  • Everything MUST be asynchronous
  • System inhibition will be delegated to systemd
  • Session inhibition will still be handled in the daemon
  • Actions will be renamed to plugins
  • Instead of virtuals such onProfileUnload/onIdleTimeout we will connect to signals (This will make implementation of actions simpler)
  • Simplify profiles by making some configurations dynamic
    • Set defaults and save configuration if they are changed only
    • Potentially separate Workstation, Laptop, Tablet... config values
  • use dbus2cpp instead of all the mess we have right now and libsoild whenever possible