You are not logged in.

#1 2013-04-20 19:23:18

ccc1
Member
Registered: 2009-04-16
Posts: 111

Battery cycle count on thinkpad x230

Hi everyone!

Since tp_smapi doesn't work on new thinkpads anymore, i'd like to know if there is another way to display the battery cycle count on newer thinkpads. Did someone find a solution?

ccc1

Offline

#2 2013-04-20 23:04:38

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: Battery cycle count on thinkpad x230

The functionality of tp_smapi has partly been replaced by the acpi_call kernel module. You can use it to set charge thresholds, but i do not know if it supports reading the cycle count. Maybe researching acpi_call can help you.
https://aur.archlinux.org/packages/acpi_call-git/
EDIT:
YES, you can read the cycle count on newer thinkpads. The script 'tlp stat' shows it. You can find tlp on aur:
https://aur.archlinux.org/packages/tlp/

Last edited by teateawhy (2013-04-20 23:07:25)

Offline

#3 2013-04-21 02:50:18

ccc1
Member
Registered: 2009-04-16
Posts: 111

Re: Battery cycle count on thinkpad x230

teateawhy wrote:

YES, you can read the cycle count on newer thinkpads. The script 'tlp stat' shows it. You can find tlp on aur:
https://aur.archlinux.org/packages/tlp/

Thanks for the hint, but unfortunately tlp-stat show as cycle count just "0", which is definitely wrong. Lets hope it will be fixed in the future wink

ccc1

Offline

#4 2013-04-21 06:18:12

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Battery cycle count on thinkpad x230

I think this is because tlp probably just gets the cycle count from /sys/class/power_supply/BAT*/cycle_count, for which mine too reads 0.  I have a Thinkpad Edge E430, and tp_smapi does not work for my machine either.  I am curious to know the result if you end up trying the acpi_call kernel module though (also suggested by teateawhy), as that is something I am just hearing about now.

Offline

#5 2013-04-21 10:13:33

linrunner
Member
Registered: 2013-04-21
Posts: 55

Re: Battery cycle count on thinkpad x230

Hi,

unfortunately there is currently no way to read the battery cycle count for the ThinkPad *30 series within Linux. If you learn of one, please tell me ;-).

Offline

Board footer

Powered by FluxBB