HAL battery and ac_adapter
Marco Pesenti Gritti
mpg at redhat.com
Tue Jul 3 13:11:31 EDT 2007
Richard Hughes wrote:
> Guys,
>
> I've committed upstream to HAL the needed bits to support the
> power_supply class. If you use a hal from git you'll find the 'battery'
> and 'ac_adapter' devices present, which you'll also get PropertyChanged
> events from when the hardware state changes.
>
> This means:
>
> * OHM should just do the right thing (and now does something useful)
> * We can patch sugar to use libhal instead of poking at the hardware
>
> What we need to do:
>
> * Build a new hal snapshot for the formal build[1]
> * Someone with python skills (not me) needs to do the sugar UI bit.
>
>
Cool stuff. I'll add this to sugar sometime in the next couple of days...
Thanks,
Marco
More information about the Devel
mailing list