home · contact · privacy
Merge branch 'master' of http://github.com/plomlompom/config
authorChristian Heller <c.heller@plomlompom.de>
Wed, 14 Dec 2016 19:52:50 +0000 (20:52 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Wed, 14 Dec 2016 19:52:50 +0000 (20:52 +0100)
jessie_postinstall.sh

index 85e464e7bcc6f67336724421547d05ff16804056..0b628e520d87425aea8106a8e060efea46042dc4 100755 (executable)
@@ -118,6 +118,10 @@ if [ "$1" = "thinkpad" ]; then
 '#START_CHARGE_THRESH_BAT0/' /etc/default/tlp
     sed -i 's/^#STOP_CHARGE_THRESH_BAT0/STOP_CHARGE_THRESH_BAT0=95 '\
 '#STOP_CHARGE_THRESH_BAT0/' /etc/default/tlp
+    sed -i 's/^#START_CHARGE_THRESH_BAT1/START_CHARGE_THRESH_BAT0=10 '\
+'#START_CHARGE_THRESH_BAT1/' /etc/default/tlp
+    sed -i 's/^#STOP_CHARGE_THRESH_BAT1/STOP_CHARGE_THRESH_BAT0=95 '\
+'#STOP_CHARGE_THRESH_BAT1/' /etc/default/tlp
     sed -i 's/^#DEVICES_TO_DISABLE_ON_STARTUP/DEVICES_TO_DISABLE_ON_STARTUP='\
 '"bluetooth wifi wwan" #DEVICES_TO_DISABLE_ON_STARTUP/' /etc/default/tlp
     tlp start