[ltp] Re: Generic battery interface
Pavel Machek
linux-thinkpad@linux-thinkpad.org
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