[Goodies-dev] Xfce power manager and DeviceKit-power!
Christian Dywan
christian at twotoasts.de
Mon Feb 23 18:50:20 CET 2009
Am Mon, 23 Feb 2009 10:33:09 +0100
schrieb Ali Abdallah <aliov at xfce.org>:
> Yves-Alexis Perez wrote:
> > On lun, 2009-02-23 at 08:50 +0100, Ali Abdallah wrote:
> >
> >> You may already know that Devicekit is going further to replace
> >> HAL ( i guess ) , for this i just want to have your opinions about
> >> porting the Power manager to use DeviceKit power (gnome power
> >> manager have been already ported).
> >>
> >> I have started a DeviceKit-power based version of the power
> >> manager on my local svn server to exploit the usage of
> >> DeviceKit-power, i have notice the following:
> >>
> >> 1)-A lot of power management information can be collected from
> >> DeviceKit-power, this simplify a lot xfce power manager.
> >> 2)-DeviceKit-power is a system bus daemon, all the work are done
> >> only once (not per user session).
> >>
> >> Please comments!
> >>
> >
> > If it's simpler, cool. But hal is not yet used everywhere, and now
> > they already replace it by something else. I'm sure it's way better
> > than hal, but, hem, maybe it's safer to wait until devicekit is
> > available everywhere?
> >
> >
> Sure it is better to wait for devicekit to be available everywhere,
> Ubuntu for example, will still ship the HAL based gpm 2.24 instead of
> the devicekit-power based 2.26 for its 9.04 release, so it will take
> time, what i'm suggesting here it is just a plan.
Hey,
I find it great that you're already looking into this mainly because
this provides the chance to influence development of DevicekitPower
early on, ie. if you find flaws, bugs or whatever.
As a suggestion without knowing the code, maybe you can keep the
hal-based code somehow separate from the graphical interface, and keep
it supported, while starting to support DevicekitPower?
I don't know if that's feasible, just an idea.
ciao,
Christian
More information about the Goodies-dev
mailing list