I just discovered tlp chargeonce
for some reason won't work on my thinkpad:
--- TLP 1.2.2 --------------------------------------------
+++ Battery Features: Charge Thresholds and Recalibrate
natacpi = active (data, thresholds)
tpacpi-bat = active (recalibrate)
tp-smapi = inactive (ThinkPad not supported)
+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/class/power_supply/BAT0/manufacturer = LGC
/sys/class/power_supply/BAT0/model_name = 02DL013
/sys/class/power_supply/BAT0/cycle_count = 8
/sys/class/power_supply/BAT0/energy_full_design = 57000 [mWh]
/sys/class/power_supply/BAT0/energy_full = 57000 [mWh]
/sys/class/power_supply/BAT0/energy_now = 45330 [mWh]
/sys/class/power_supply/BAT0/power_now = 0 [mW]
/sys/class/power_supply/BAT0/status = Unknown (threshold effective)
/sys/class/power_supply/BAT0/charge_start_threshold = 75 [%]
/sys/class/power_supply/BAT0/charge_stop_threshold = 80 [%]
tpacpi-bat.BAT0.forceDischarge = 0
Charge = 79.5 [%]
Capacity = 100.0 [%]
[blazej@t490s ~]$ sudo tlp chargeonce
Error: no start charge threshold configured for BAT0.
[blazej@t490s ~]$
From what I can tell, start charge threshold is configured and in fact charging starts only after battery level drops below 75% and stops as soon as it arrives to 80%.
regular fullcharge
works:
sudo tlp fullcharge
Setting temporary charge thresholds for BAT0:
stop = 100
start = 96
Charging starts now, keep AC connected.
Nevertheless one time full charge command won't run.
Any idea why this is happening?
Thank you