HAL battery and ac_adapter
Marco Pesenti Gritti
mpg at redhat.com
Tue Jul 3 19:10:36 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
>
Are there python bindings for libhal? Otherwise I guess it might be
easier to just talk directly to dbus...
Marco
More information about the Devel
mailing list