Re: Generic battery interface

Vojtech Pavlik
2006-07-28T10:10:31Z

On Fri, Jul 28, 2006 at 10:58:06AM +0100, Matthew Garrett wrote:
> On Fri, Jul 28, 2006 at 12:05:35AM -0400, Brown, Len wrote:
>
> > Wonderful, but isn't the key here how simple it is for HAL
> > or X to understand and use the kernel API rather than the
> > developers of the kernel driver that implements the API?
>
> HAL currently gets most of its information from sysfs, and managed to
> deal with parsing the existing /proc/acpi/battery stuff. I don't think
> there's any real difficulty there.

Yes, HAL does a lot of ugly work to be able to gather the information it needs.

--
Vojtech Pavlik
Director SuSE Labs