[ltp] Re: Generic battery interface
Matthew Garrett
linux-thinkpad@linux-thinkpad.org
Fri, 28 Jul 2006 01:36:15 +0100
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@srcf.ucam.org