I am trying to get battery wear leveling (or also called battery balancing) working on a T420s. I know that tp-smapi doesn't support the function force_discharge anymore, so I am trying to use tpacpi-bat [1] together with an adapted balancing script found at [2]. However, the basic problem already starts earlier. Funny enough I can control which battery to forcefully discharge when on AC power, but on battery this seems to get ignored.
Trying to discharge the 1st battery and not the ultrabay battery:
Code: Select all
# /usr/lib/tlp-pm/tpacpi-bat -s FD 1 1
# /usr/lib/tlp-pm/tpacpi-bat -g FD 1
no
# cat /sys/devices/platform/smapi/BAT0/power_now
0
# cat /sys/devices/platform/smapi/BAT0/remaining_running_time_now
not_discharging
# cat /sys/devices/platform/smapi/BAT1/power_now
-9422
# cat /sys/devices/platform/smapi/BAT1/remaining_running_time_now
75
Somebody had this problem as well, or should this normally work for the T420s? Any known solutions?
Is Lenovo specifically disabling this on battery, so ultrabay batteries will be aged faster and people have to buy new ones earlier?
Thanks for any information!
[1] https://github.com/teleshoes/tpacpi-bat
[2] http://www.thinkwiki.org/wiki/Tp_smapi# ... l_features



