10

I have my Thinkpad laptop configured to charge up to 80% cause I mostly use it on AC. On the occasional use where I am taking it off AC, is there a command that basically tells tlp to charge the battery to 100% and once 100% is reached, return charging behavior to the 80% configuration?

I see there is command sudo tlp fullcharge [ BAT0 | BAT1 ], but this command requires a reboot before the "80%" configuration is restored. Is there a command to restore the "80%" configuration without having to reboot?

G.W.
  • 763

1 Answers1

9

Of course. It's

tlp setcharge

For convenience you may also configure

RESTORE_THRESHOLDS_ON_BAT=1

Then the thresholds will be re-applied automatically when you disconnect the charger.

https://linrunner.de/tlp/settings/battery.html#restore-thresholds-on-bat

linrunner
  • 1,525