OLPC battery class

Greg KH greg at kroah.com
Tue Jun 19 11:03:21 EDT 2007

On Tue, Jun 19, 2007 at 03:55:04PM +0100, Richard Hughes wrote:
> Hi,
> I've been looking at adding OLPC battery support into HAL so it can be
> used with OHM and the power meter in sugar.
> Putting it bluntly, the "generic battery class" is a bit of a misnomer,
> as it's very OLPC specific. It also violates key sysfs rules such as
> one-value per file, and it's not going to be pretty adding the current
> battery/ac_adapter interface to HAL.

Have you looked at the battery code that has been posted to lkml?  I
think that might be a little bit more up to date.


greg k-h

More information about the Devel mailing list