Power devices from session to system
Bastien Nocera
hadess at hadess.net
Fri Dec 19 09:32:38 PST 2008
On Fri, 2008-12-19 at 11:33 -0500, David Zeuthen wrote:
<snip>
> 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?
>
> (FWIW, I'd like to use this kind of interface too for my gphoto2 GVfs
> backend; it's possible to read how much juice on these devices)
I agree with David there, as there are a couple more places where we
could be posting battery information.
Though there is a case (in the input plugin for bluetoothd, in my case)
where posting information from a system bus would be useful, at the
DK-power level.
Cheers
More information about the devkit-devel
mailing list