diff options
| -rwxr-xr-x | public/thesiah.sh | 4 | ||||
| -rwxr-xr-x | static/thesiah.sh | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/public/thesiah.sh b/public/thesiah.sh index 02fa3ce..52eb874 100755 --- a/public/thesiah.sh +++ b/public/thesiah.sh @@ -532,7 +532,9 @@ tlpsetup() { START_CHARGE_THRESH_BAT0=20 STOP_CHARGE_THRESH_BAT0=80 START_CHARGE_THRESH_BAT1=50 -STOP_CHARGE_THRESH_BAT1=75" > /etc/tlp.d/01-battery.conf +STOP_CHARGE_THRESH_BAT1=75 +USB_AUTOSUSPEND=0 +RUNTIME_PM_DRIVER_DENYLIST=\"nouveau nvidia\"" > /etc/tlp.d/01-battery.conf case "$initsys" in "runit") ln -sf /etc/runit/sv/tlp /run/runit/service/ >/dev/null 2>&1 diff --git a/static/thesiah.sh b/static/thesiah.sh index 02fa3ce..52eb874 100755 --- a/static/thesiah.sh +++ b/static/thesiah.sh @@ -532,7 +532,9 @@ tlpsetup() { START_CHARGE_THRESH_BAT0=20 STOP_CHARGE_THRESH_BAT0=80 START_CHARGE_THRESH_BAT1=50 -STOP_CHARGE_THRESH_BAT1=75" > /etc/tlp.d/01-battery.conf +STOP_CHARGE_THRESH_BAT1=75 +USB_AUTOSUSPEND=0 +RUNTIME_PM_DRIVER_DENYLIST=\"nouveau nvidia\"" > /etc/tlp.d/01-battery.conf case "$initsys" in "runit") ln -sf /etc/runit/sv/tlp /run/runit/service/ >/dev/null 2>&1 |
