Re: Generic battery interface

Matthew Garrett
2006-07-28T00:36:27Z

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