powerd-dbus network extension
pbrobinson at gmail.com
Wed Aug 3 15:58:35 EDT 2011
On Wed, Aug 3, 2011 at 8:39 PM, Daniel Drake <dsd at laptop.org> wrote:
> On Wed, Aug 3, 2011 at 7:48 PM, Peter Robinson <pbrobinson at gmail.com>
> > Hi Daniel,
> > Not sure if powerd makes use of it at all already (for things like
> > videos in totem) but why not use the kernel/upower inhibit functionally
> > like totem and the like does. Then powerd just needs to
> > listen/check/whatever for the inhibit and it would then also work (if it
> > doesn't already) for those apps like totem in the gnome desktop.
> Good suggestion, I assume you are talking about
> Apart from totem, what else uses this? NetworkManager doesn't (and
> can't, since it is systemwide and this is only for sessions), so it
> wouldn't solve the immediatne problem.
> Unfortunately it would be a lot of work to implement, because
> gnome-session implements this interface. We would have to rebase sugar
> around that. Then we would have to extend upower to support our
> idle-suspend model, and somehow get it to replace or play nice with
> powerd (because gnome-session calls into upower for this stuff). And
> then we'd have to solve the network problem separately anyway...
Maybe, I thought it was a system wide thing (maybe a freedesktop thing) that
was implemented by gnome using gnome-power-manager.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel