Re: Generic battery interface

From: Matthew Garrett
Date: Thu Jul 27 2006 - 20:34:18 EST

On Fri, Jul 28, 2006 at 03:27:00AM +0300, Shem Multinymous wrote:

> Yes, I know -- tp_smapi does that too. And it's still negligible,
> usually a few microseconds.

With ACPI "smart" batteries, we're currently spending long enough on
querying batteries that people are losing keystrokes. The same is true
of several crummy APM implementations. On the other hand, I agree that
it makes sense to leave polling in userspace rather than the kernel.
Once we go tickless on portable hardware, there's going to be a pretty
huge incentive to fix userspace in any case.

Matthew Garrett | mjg59@xxxxxxxxxxxxx
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at