[ltp] T4x Battery Conditons Survey

Shem Multinymous linux-thinkpad@linux-thinkpad.org
Sat, 17 Dec 2005 19:46:58 +0200


Yet another shameless plug:

On 12/17/05, Marius Gedminas <mgedmin@b4net.lt> wrote:
> I do not know how to determine the number of charge cycles in Linux.

Download tp_smapi [1],
# rmmod hdaps
# tar xzvf tp_smapi-0.12.tgz
# cd tp_smapi-0.12
# make load
# cat /sys/devices/platform/smapi/BAT0/cycle_count
and, for best effect, update the model-specific status at ThinkWiki [2].

[1] http://sf.net/project/showfiles.php?group_id=3D1212&package_id=3D171579
[2] http://thinkwiki.org/wiki/SMAPI_support_for_Linux