[ltp] T61: battery charging inspite of tp_smapi thresholds

Paul Seelig linux-thinkpad@linux-thinkpad.org
Sun, 26 May 2013 18:40:09 +0200


On 05/26/2013 05:45 PM, Dmitry E. Mikhailov wrote:
> On that 'bad' battery the 'remaining_percent_error' parameter is 7 while
> on the good one it's 5. So maybe it tries to re-calibrate forever.
> 
> Could you please take a look at that parameter on your battery?
> 
Please find here the values from two different T61 machines.

The first is a T61 8898-AQG and has a 9 cell battery:

# cat /sys/devices/platform/smapi/BAT0/manufacturer
Panasonic
# cat /sys/devices/platform/smapi/BAT0/manufacture_date
2007-07-28
# cat /sys/devices/platform/smapi/BAT0/first_use_date
2008-01-12
# cat /sys/devices/platform/smapi/BAT0/cycle_count
262
# cat /sys/devices/platform/smapi/BAT0/remaining_percent
85
# cat /sys/devices/platform/smapi/BAT0/remaining_percent_error
3
# cat /sys/devices/platform/smapi/BAT0/stop_charge_thresh
95

The second is a T61 8895-WFJ and has a 6 cell and an UltraBay battery,
with respective ouputs ordered from BAT0 to BAT1:

# cat /sys/devices/platform/smapi/BAT*/manufacturer
SANYO
SONY
# cat /sys/devices/platform/smapi/BAT*/manufacture_date
2010-11-03
2008-04-16
# cat /sys/devices/platform/smapi/BAT*/first_use_date
2010-12-27
2008-06-20
# cat /sys/devices/platform/smapi/BAT*/cycle_count
88
102
# cat /sys/devices/platform/smapi/BAT*/remaining_percent
76
86
# cat /sys/devices/platform/smapi/BAT*/remaining_percent_error
3
1
# cat /sys/devices/platform/smapi/BAT*/stop_charge_thresh
95
95

Batteries have been recalibrated last over a year ago, and mainly serve
only as a poor man's UPS. Only the 8895-WFJ is actually seeing some
mobile use once in a while.

Hope this helps,