Re: [PATCH v2] Re: Battery class driver.
From: Richard B. Johnson
Date: Fri Nov 03 2006 - 09:21:46 EST
----- Original Message -----
From: "Henrique de Moraes Holschuh" <hmh@xxxxxxxxxx>
To: "Richard B. Johnson" <jmodem@xxxxxxxxxxxxxxxxxxxxx>
Cc: "Bill Davidsen" <davidsen@xxxxxxx>; "Jean Delvare" <khali@xxxxxxxxxxxx>;
<davidz@xxxxxxxxxx>; "Richard Hughes" <hughsient@xxxxxxxxx>; "David
Woodhouse" <dwmw2@xxxxxxxxxxxxx>; "Dan Williams" <dcbw@xxxxxxxxxx>;
<linux-kernel@xxxxxxxxxxxxxxx>; <devel@xxxxxxxxxx>; <sfr@xxxxxxxxxxxxxxxx>;
<len.brown@xxxxxxxxx>; <greg@xxxxxxxxx>; <benh@xxxxxxxxxxxxxxxxxxx>;
"linux-thinkpad mailing list" <linux-thinkpad@xxxxxxxxxxxxxxxxxx>; "Pavel
Sent: Friday, November 03, 2006 8:23 AM
Subject: Re: [PATCH v2] Re: Battery class driver.
On Thu, 02 Nov 2006, Richard B. Johnson wrote:
No known laptop bothers to do this. That's why the batteries fail at the
most inoportune times and why it will decide to shut down when it feels
like it, based totally upon some detected voltage drop when a disk-drive
Weird, I though the whole point behind a SBS hardware stack requiring
something fairly intelligent in the battery pack and allowing for (runtime
switchable!) Ah or Wh modes of operation was to allow vendors to do
that: measure (V,A) permanently while the cells are above the safety
fuse level, and accumulate it...
Well, IBM embedded a microcontroller of some sort on every SBS ThinkPad
battery pack, and the ThinkPad reports battery data in Wh, so I expected
to actually do the hard work to know how much energy is still left in the
pack... especially given how much $$$ they want for the packs :-) I have
idea of what software is really running inside the battery pack, of
so maybe the SBS battery EC just sits there doing something else instead
taking real-time measurements of the battery charge (that wouldn't
me too much...).
I'm not sure anybody actually embeds a micro. There is some chip, originally
make by National, that
was supposed to monitor the battery state. I know that I have used five
laptops so far and have
never been able to obtain any intellegent operation. They just shut down
when they feel like it.
They do go to "suspend" mode to save power as well, always at the most
Maybe the "ThinkPad" actually has some intellegence within. The cost of the
batteries only reflects
the cost of defending lawsuits <grin> and not the cost of its components.
Batteries made in
China seem to become "excited" at inopertune times.
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Penguin : Linux version 126.96.36.199 (somewhere). IT removed email "privileges"
New Book: http://www.AbominableFirebug.com
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/