From: Christian Heller Date: Mon, 12 Dec 2016 10:32:04 +0000 (+0100) Subject: Add second battery thresholds. X-Git-Url: https://plomlompom.com/repos/te"st.html?a=commitdiff_plain;h=5750db6d6bfe3ee31502c1ffa3832b0d49f0915f;p=config Add second battery thresholds. --- 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