OLPC battery class

David Woodhouse dwmw2 at infradead.org
Wed Jun 20 07:09:18 EDT 2007


On Wed, 2007-06-20 at 18:24 +0800, David Woodhouse wrote:
> http://dev.laptop.org/~dilinger/RPMS/i586/kernel-2.6.22-20070620.4.olpc.70e92d813462a1f.i586.rpm

I just committed an untested patch to generate uevents whenever AC or
battery is removed or inserted, and whenever the state of charge varies
by 1%. That will have 'd2e64c5b3239a02' in its name, when the
autobuilder is done.

You currently get a uevent on _both_ AC and battery devices whenever
there's any such change. We'll fix up the communication between the EC
and the kernel so that we can tell the difference.

-- 
dwmw2




More information about the Devel mailing list