OLPC battery class

Richard Hughes hughsient at gmail.com
Tue Jun 19 11:22:38 EDT 2007


On Tue, 2007-06-19 at 08:03 -0700, Greg KH wrote:
> 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.

I'll checkout the cbou tree, apologies if some of my critisisms have
been sorted.

Richard.





More information about the Devel mailing list