[ltp] Battery dying
Rob Mayoff
linux-thinkpad@www.bm-soft.com
1 Nov 2001 22:32:48 -0600
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.
--657921-2125948996-1004675590=:1271
Content-Type: TEXT/PLAIN; charset=US-ASCII
+---------- On Nov 1, Thomas Hood said:
> PMO. I just bought a new battery in July, and already it's dying
> just as my last battery did. When charging, after it charges to
> about 20% it jumps up to "100%", and when I run on battery it
> only runs down to about 85% before dropping suddenly to 5%.
>
> Is this a firmware bug, or what?
I have found that the battery life on my 770Z is greatly shortened if I
keep both the battery and the AC adapter connected when the battery is
at 100%. The visible symptom is just as you described: the battery
jumps to 100% from some lower value when it's charging. When it's
discharging, it jumps to 5% from some higher number.
I bought a new battery and wrote a Tcl/Tk script that monitors the
battery level. When the battery reaches 100%, it prompts me to either
remove the battery or the AC connection. The script is attached.
--657921-2125948996-1004675590=:1271
Content-Type: TEXT/PLAIN; charset=US-ASCII; name=monitor
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.LNX.4.33.0111012232480.1271@cog.dqd.com>
Content-Description:
Content-Disposition: attachment; filename=monitor
IyEvdXNyL2Jpbi9lbnYgd2lzaA0KDQpmY29uZmlndXJlIHN0ZG91dCAtYnVm
ZmVyaW5nIG5vbmUNCg0Kd20gc3RhdGUgLiB3aXRoZHJhd24NCnNldCBmb250
IFtmb250IGNyZWF0ZSAtZmFtaWx5IHt0aW1lcyBuZXcgcm9tYW59IC1zaXpl
IDIwIC13ZWlnaHQgbm9ybWFsIC1zbGFudCByb21hbl0NCg0Kc2V0IHdpbmRv
d0V4aXN0cyAwDQoNCnByb2MgdGFpNjRuIHt9IHsNCiAgICBmb3JtYXQgQDQw
MDAwMDAwJTA4eDAwMDAwMDAwIFtjbG9jayBzZWNvbmRzXQ0KfQ0KDQpwcm9j
IGxvZyB7YXJnc30gew0KICAgIHB1dHMgIlt0YWk2NG5dIFtqb2luICRhcmdz
IC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ICAg
IGdsb2JhbCB3aW5kb3dFeGlzdHMNCg0KICAgIGlmICFbaXNCYWRTdGF0ZV0g
ew0KCWlmIHskd2luZG93RXhpc3RzfSB7DQoJICAgIGRlc3Ryb3kgLncNCgl9
DQoJYWZ0ZXIgNTAwMCBtb25pdG9yDQogICAgfSBlbHNlIHsNCglpZiB7ISR3
aW5kb3dFeGlzdHN9IHsNCgkgICAgbWFrZVdpbmRvdw0KCX0NCgliZWxsDQoJ
YWZ0ZXIgNTAwMCB3YXJuDQogICAgfQ0KfQ0KDQptb25pdG9yDQo=
--657921-2125948996-1004675590=:1271--
----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html