[ltp] Re: battery is gone?

Martin Steigerwald linux-thinkpad@linux-thinkpad.org
Sun, 16 Oct 2011 23:28:33 +0200


Am Samstag, 15. Oktober 2011 schrieb Arno Trautmann:
> > In addition to that, you can get more details with tp-smapi (m-a a-i
> > tp-smapi on Debian) which presents the /sys/devices/platform/smapi/-
> > Interface when loaded, which contains, apart from others, the file
> > remaining_percent.
>=20
> I installed tp_smapi now, but there is no /sys/devices/platform/smapi/=20
> on my system, also no file remaining_percent anywhere.

Did you load the tp_smapi module?

merkaba:/sys/devices/platform/smapi/BAT0> find | egrep -v dump | xargs grep=
=20
""=20
grep: ./start_charge_thresh: Kein passendes Ger=C3=A4t bzw. keine passende=
=20
Adresse gefunden
=2E/stop_charge_thresh:100
=2E/inhibit_charge_minutes:0
grep: ./force_discharge: Kein passendes Ger=C3=A4t bzw. keine passende Adre=
sse=20
gefunden
=2E/installed:1
=2E/state:discharging
=2E/manufacturer:LGC
=2E/model:42T4912
[...]
=2E/chemistry:LION
=2E/voltage:11157
=2E/group0_voltage:3682
=2E/group1_voltage:3707
=2E/group2_voltage:3715
=2E/group3_voltage:0
=2E/current_now:-1137
=2E/current_avg:-1250
=2E/charging_max_current:3500
=2E/power_now:-12685
=2E/power_avg:-13946
=2E/remaining_percent:40
=2E/remaining_percent_error:3
=2E/remaining_charging_time:not_charging
=2E/remaining_running_time:145
=2E/remaining_running_time_now:175
=2E/remaining_capacity:37140
=2E/last_full_capacity:93590
=2E/design_voltage:11100
=2E/charging_max_voltage:13050
=2E/design_capacity:93600
=2E/cycle_count:3
=2E/temperature:27800
[...]
=2E/manufacture_date:2010-09-16
=2E/first_use_date:2011-05-22

Ciao,
=2D-=20
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7