Re: apm patch for kernel 2.2.12 (compute battery time left when bios didn't)

Franck SICARD (Franck.Sicard@miniruth.solsoft.fr)
Mon, 27 Sep 1999 18:07:35 +0200


On Mon, Sep 27, 1999 at 05:30:51PM +0200, Pavel Machek wrote:
> Hi!
>
> > at the end of this mail is a small patch to compute the time left of the
> > battery when the the bios don't do it, but report % of the battery.
> > (it look at the speed at wich the % of the battery reduce).
> > the time is computed in minutes.
>
> I believe this is wrong. apmd should do this work (and it _does_ do
> this work).

oups, no, i just check on an other notebook with the BIOS bug,
(i did the firt check with my patched kernel :-) )
and the apm tools dosn't do the estimation when the bios
dosn't return the battery time left.

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/