public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* Battery cycle count on IBM Thinkpads.
@ 2005-11-19 23:07 Stefan Schmidt
  2005-11-20 21:46 ` Pavel Machek
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Schmidt @ 2005-11-19 23:07 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Attachment #1: Type: text/plain, Size: 390 bytes --]

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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Battery cycle count on IBM Thinkpads.
  2005-11-19 23:07 Battery cycle count on IBM Thinkpads Stefan Schmidt
@ 2005-11-20 21:46 ` Pavel Machek
       [not found]   ` <20051120214624.GC2556-/Rtfo+muvtdI+ieYp0uEEg@public.gmane.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Pavel Machek @ 2005-11-20 21:46 UTC (permalink / raw)
  To: Stefan Schmidt; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Sun 20-11-05 00:07:34, Stefan Schmidt wrote:
> 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?

You may be able to talk to smartbattery directly (using i2c), and
get that info... expect to do some programming...
							Pavel

-- 
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Battery cycle count on IBM Thinkpads.
       [not found]   ` <20051120214624.GC2556-/Rtfo+muvtdI+ieYp0uEEg@public.gmane.org>
@ 2005-11-21  8:56     ` Stefan Schmidt
  2005-11-22 20:42     ` Stefan Schmidt
  2005-12-13 10:11     ` Stefan Schmidt
  2 siblings, 0 replies; 5+ messages in thread
From: Stefan Schmidt @ 2005-11-21  8:56 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Attachment #1: Type: text/plain, Size: 934 bytes --]

Hello.

On Sun, 2005-11-20 at 21:46, Pavel Machek wrote:
> 
> 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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Battery cycle count on IBM Thinkpads.
       [not found]   ` <20051120214624.GC2556-/Rtfo+muvtdI+ieYp0uEEg@public.gmane.org>
  2005-11-21  8:56     ` Stefan Schmidt
@ 2005-11-22 20:42     ` Stefan Schmidt
  2005-12-13 10:11     ` Stefan Schmidt
  2 siblings, 0 replies; 5+ messages in thread
From: Stefan Schmidt @ 2005-11-22 20:42 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Attachment #1: Type: text/plain, Size: 405 bytes --]

Hello.

On Sun, 2005-11-20 at 21:46, Pavel Machek wrote:
> 
> 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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Battery cycle count on IBM Thinkpads.
       [not found]   ` <20051120214624.GC2556-/Rtfo+muvtdI+ieYp0uEEg@public.gmane.org>
  2005-11-21  8:56     ` Stefan Schmidt
  2005-11-22 20:42     ` Stefan Schmidt
@ 2005-12-13 10:11     ` Stefan Schmidt
  2 siblings, 0 replies; 5+ messages in thread
From: Stefan Schmidt @ 2005-12-13 10:11 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

[-- Attachment #1: Type: text/plain, Size: 615 bytes --]

Hello.

On Sun, 2005-11-20 at 21:46, Pavel Machek wrote:
> > 
> > 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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-12-13 10:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-19 23:07 Battery cycle count on IBM Thinkpads Stefan Schmidt
2005-11-20 21:46 ` Pavel Machek
     [not found]   ` <20051120214624.GC2556-/Rtfo+muvtdI+ieYp0uEEg@public.gmane.org>
2005-11-21  8:56     ` Stefan Schmidt
2005-11-22 20:42     ` Stefan Schmidt
2005-12-13 10:11     ` Stefan Schmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox