← Back to team overview

ubuntu-phone team mailing list archive

powerd - June goals

 

There has been a lot of work behind the scenes on powerd in May, and
some of the pieces which landed this month will lay the foundation for a
better system power management policy. In June we plan to continue that
work and have powerd ready for system services to fully integrate with.
To that end, we have three main goals for June:

1) Implement display state requests. This allows callers to request the
   screen stay on, stay at full brightness, etc.

2) Begin integarting powerd with other system services. This will
   include moving some of the functionality currently in powerd to other
   services, which will request the state they need from powerd rather
   than relying on powerd to register the requests internally.

   At this point, any services which need to prevent suspend or modify
   the display power state must do so by utilizing the powerd dbus
   interfaces. Such functionality will no longer be integrated directly
   into powerd.

3) If time permits, we also plan on implementing the final pieces of the
   dbus interface, which will allow system services to delay state
   transition until they ACK it. Right now we just have dumb timeout,
   and the transition could be faster if we get ACKs back before the
   timeout expires.