Battery cycle count on IBM Thinkpads.
Hello.
Does somebody know, how i can read the cycle counter for battery charge on IBM Thinkpads?
You can read the number with "IBM Battery MaxiMiser" under windows. I hope it could be possible to read the value the same way as other values from /proc/acpi/battery/BAT0/info were read.
Is there documentation for vendor specific things like cycle count?
regards
Stefan Schmidt
Quoted 8 lines · Stefan Schmidt
Hello.
Does somebody know, how i can read the cycle counter for battery charge on IBM Thinkpads?
You can read the number with "IBM Battery MaxiMiser" under windows. I hope it could be possible to read the value the same way as other values from/proc/acpi/battery/BAT0/infowere read.
Is there documentation for vendor specific things like cycle count?
You may be able to talk to smartbattery directly (using i2c), and get that info... expect to do some programming...
Pavel
Signature · 9 lines
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
A message that is not in the archive (sent off-list or not yet received): 20051120214624.GC2556-/[email protected]
Hello.
Quoted 3 lines · Pavel Machek
You may be able to talk to smartbattery directly (using i2c), and get that info... expect to do some programming...
I'm not sure if this is a smart battery. At the moment i get this infos with normal battery modul form kernel:
stefan@fairlight:~$ cat /proc/acpi/battery/BAT0/info present: yes design capacity: 71280 mWh last full capacity: 58540 mWh battery technology: rechargeable design voltage: 10800 mV design capacity warning: 2927 mWh design capacity low: 200 mWh capacity granularity 1: 1 mWh capacity granularity 2: 1 mWh model number: IBM-93P5003 serial number: 1645 battery type: LION OEM info: SONY
I will test the smartbattery modul later. And if that di not help too, i'll look deeper in source code.
regards
Stefan Schmidt
Hello.
Quoted 2 lines · Pavel Machek
You may be able to talk to smartbattery directly (using i2c),
Somebody experiences with i2c on new thinkpads like T40p? The last info i found says: Don't try it, use acpi.
http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/README.thinkpad
So i will think twize about testing i2c on my system. Suggestions?
regards
Stefan Schmidt
Hello.
Quoted 6 lines · Pavel Machek
Quoted 3 lines
Does somebody know, how i can read the cycle counter for battery charge on IBM Thinkpads?
You may be able to talk to smartbattery directly (using i2c), and get that info... expect to do some programming...
Shem Multinymous wrote the tp_smapi driver to have more support for the smapi features in Thinkpad. With version 0.09 it is possible to read the charge cycle count an more information about the battery.
http://tpctl.sourceforge.net/
http://www.thinkwiki.org/wiki/SMAPI_support_for_Linux
regards
Stefan Schmidt