Battery thresholds on X240 Arch Linux
Posted: Thu Apr 14, 2016 4:38 am
I recently installed Arch on my X240 and I was able to resolve most of my issues by myself (and with assistance of wiki).
Now I wanted to change the thresholds of batteries and since it's *40 laptop I can't use tp_smapi.
I have acpi_call and tlp installed.
In /etc/default/tlp I have them set up in this way:
and tpacpi_bat returns this
But still I can't get it to charge the batteries over 80 % (which was the original threshold. (it fluctuates between not charging and charging with zero power)
Any ideas?
EDIT: I solved it. I fully discharged both batteries and now it charges to desired level.
Now I wanted to change the thresholds of batteries and since it's *40 laptop I can't use tp_smapi.
I have acpi_call and tlp installed.
In /etc/default/tlp I have them set up in this way:
Code: Select all
# Main / Internal battery (values in %)
START_CHARGE_THRESH_BAT0=75
STOP_CHARGE_THRESH_BAT0=90
# Ultrabay / Slice / Replaceable battery (values in %)
START_CHARGE_THRESH_BAT1=75
STOP_CHARGE_THRESH_BAT1=90Code: Select all
# tpacpi-bat -g ST 1 && tpacpi-bat -g SP 1 && tpacpi-bat -g ST 2 && tpacpi-bat -g SP 2
75 (relative percent)
90 (relative percent)
75 (relative percent)
90 (relative percent)Any ideas?
EDIT: I solved it. I fully discharged both batteries and now it charges to desired level.