Re: Generic battery interface
- From: Pavel Machek <pavel@xxxxxxx>
- Date: Thu, 3 Aug 2006 18:33:11 +0200
Hi!
One should also not rely on the warning/low capacity values.
I cannot say for sure whether all machines throw an event if these
limits are reached. We defined our own limits in userspace, this always
works. I'd go for not using the BIOS limits here at all and take user
defined capacity warning/low values (in percent) in hal or wherever.
Well, this works okay for normal machines, but... there are strange
machines around.
If you have 10 hours of battery life (zaurus sl-5500) and hardcode
warning to 10% of battery remainin... well you'll warn with 1 hour to
go.
Okay, this probably is not an issue on most notebooks today...
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: Generic battery interface
- From: Pavel Machek
- Re: Generic battery interface
- From: Jean Delvare
- Re: Generic battery interface
- From: Thomas Renninger
- Re: Generic battery interface
- Prev by Date: sata_promise / libata defaulting to UDMA/33
- Next by Date: Re: [PATCH -rt DO NOT APPLY] Fix for tg3 networking lockup
- Previous by thread: Re: Generic battery interface
- Next by thread: Re: Generic battery interface
- Index(es):
Relevant Pages
|