Re: Generic battery interface

From: Vojtech Pavlik
Date: Fri Jul 28 2006 - 06:08:23 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/