Power devices from session to system

David Zeuthen david at fubar.dk
Fri Dec 19 14:00:28 PST 2008

On Fri, 2008-12-19 at 18:19 +0000, Richard Hughes wrote:
> On Fri, 2008-12-19 at 17:32 +0000, Bastien Nocera wrote:
> > > I'm not sure we want to let sessions inject data into DeviceKit-power;
> > > seems very complicated for handling the rather edge cases like this.
> > > 
> > > Why can't gnome-power-manager (or whatever component that is drawing the
> > > UI) simply provide a very simple D-Bus interface that things like
> > > gnome-phone-manager can hook into to post data?
> Then we have to add in a layer of data, and we start putting logic in
> the session, not the system. This is what I wanted to avoid doing.

I'm not sure what logic we need? 

FWIW, I don't think we want to do any policy based on the charge level
of peripherals like connected mobile phones or mp3 players - we only
want to display things like the charge level and if it's charging and so
on. Right?


More information about the devkit-devel mailing list