From 5750db6d6bfe3ee31502c1ffa3832b0d49f0915f Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 12 Dec 2016 11:32:04 +0100 Subject: [PATCH] Add second battery thresholds. --- jessie_postinstall.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/jessie_postinstall.sh b/jessie_postinstall.sh index 0a9abc2..6d12cef 100755 --- a/jessie_postinstall.sh +++ b/jessie_postinstall.sh @@ -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 -- 2.30.2