Re: APM patch for kernel 2.2.12 (compute battery time left when BIOS don't do it)

Franck SICARD (Franck.Sicard@miniruth.solsoft.fr)
Thu, 7 Oct 1999 09:20:58 +0200


On Tue, Oct 05, 1999 at 11:08:22PM -0100, Folkert van Heusden wrote:
> > it compute the time left of the battery if the bios dont do it (but
> ...
> > the estimation is done by looking at how many time it take to decremente
> > the battery by 1%.
>
> I'm sorry to be such a pain, but I don't thing the, ehrm, "emptying-" is
> a
> linear process :-/

from my test on my notbook, it is (seems) linear on the most
part (from 95% to 10%) but a possible extension (via an external user space
daemon and the possibility to send back some parameter to the kernel?) would
be to learn the way the battery lost is charge.

Franck

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/