Re: APM battery status

Riley Williams (rhw@BigFoot.Com)
Sun, 4 Apr 1999 03:40:12 +0100 (GMT)


Hi Olivier.

> I am interested to know more about the apm errors because my
> battery status is _alwyas_ "100%" (AC on/off-line works well).

> However I suspect an hardware problem: since apm works well with
> 2.2.x with x<4 and at some point with 2.2.4, I think, do not
> work any more for the % (I reboot on a 2.2.1, same problem).

I have a curious problem with APM with both 2.0.36 and 2.2.4 which may
or may not be related to yours.

The symptoms are clear enough though: The battery charge level is fine
until it drops below 35%, but as soon as it drops below that point, it
continuously reads 0% and I get spammed with battery low warnings on
ALL consoles (logged in or not) AND all telnet sessions, with
something like four or five copies of the message a second, and the
system becomes completely unusable in Linux.

However, if I then boot across to Windows 95, the system becomes quite
usable again, with battery power levels showing up as a reasonable 34%
and no spam at all. This state continues until the battery power level
reports around 3% at which point Windows 95 forces a shutdown.

I hate to say it, but in this respect, Windows 95 appears to be
superior to Linux...

If suggestions on this front are welcome, then mine would be to limit
messages about low battery status to (a) not more than one a minute,
and (b) the active console only. That way, the operator has a chance
to shut the system down properly !!!

Best wishes from Riley.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
* ftp://ftp.MemAlpha.cx/pub/rhw/Linux
* http://www.MemAlpha.cx/kernel.versions.html

-
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/