Skip to content

Instantly share code, notes, and snippets.

View jerabaul29's full-sized avatar

JR jerabaul29

View GitHub Profile
@jerabaul29
jerabaul29 / tlp-stat
Created August 20, 2019 10:59
tlp problem updating start threshold for battery charging
jrlab@jrlab-ThinkPad-T490:~$ sudo tlp setcharge START_CHARGE 60
Setting temporary charge thresholds for BAT0:
stop = 60
jrlab@jrlab-ThinkPad-T490:~$ sudo tlp setcharge STOP_CHARGE 80
Setting temporary charge thresholds for BAT0:
stop = 80
jrlab@jrlab-ThinkPad-T490:~$ sudo tlp-stat
--- TLP 1.2.2 --------------------------------------------
+++ Configured Settings: /etc/default/tlp
@jerabaul29
jerabaul29 / tlp-stat
Created August 20, 2019 10:04
tlp output after update
jrlab@jrlab-ThinkPad-T490:~$ sudo tlp setcharge START_CHARGE 80
Setting temporary charge thresholds for BAT0:
stop = 80
jrlab@jrlab-ThinkPad-T490:~$ sudo tlp setcharge START_CHARGE 70
Setting temporary charge thresholds for BAT0:
stop = 70
jrlab@jrlab-ThinkPad-T490:~$ sudo tlp-stat
--- TLP 1.2.2 --------------------------------------------
+++ Configured Settings: /etc/default/tlp
@jerabaul29
jerabaul29 / tlp output
Created August 20, 2019 09:34
tlp output on thinkpad T490 with Ubuntu 18.04
--- TLP 1.1 --------------------------------------------
+++ Configured Settings: /etc/default/tlp
TLP_ENABLE=1
TLP_DEFAULT_MODE=AC
TLP_PERSISTENT_DEFAULT=0
DISK_IDLE_SECS_ON_AC=0
DISK_IDLE_SECS_ON_BAT=2
MAX_LOST_WORK_SECS_ON_AC=15
MAX_LOST_WORK_SECS_ON_BAT=60