[Goodies-dev] Xfce power manager and DeviceKit-power!

Ali Abdallah aliov at xfce.org
Mon Feb 23 22:31:47 CET 2009


Christian Dywan wrote:
> 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.
>
>   

I'm not sure if i understand what you mean, the HAL based xfpm version 
0.6.0 will be always maintained, the DeviceKit-power based one will be 
developed for futur versions, is that what you mean.
> ciao,
>     Christian
>   
Cheers,
Ali.



More information about the Goodies-dev mailing list