How to setup charge thresholds for battery?
Hello, I have Lenovo ThinkPad E440 with Fedora 20. I found that for battery lifetime is not optimal to be charged to 100 %, so I found in repository tlp package, which can setup start charge threshold and stop charge threshold. It works only for ThinkPad and it needs acpi_call. So, I found acpi_call here, but I don't know how to compile? And probably there is an error with new kernels (3.5 +).
In more detail, acpi_call is used by Tpacpi-bat (and Tp smapi doesn't work: "If you are installing on a recent Thinkpad that has an Ivy Bridge or newer processor (X230, T430, T530, etc.), tp_smapi will not work. You will be mostly limited to thinkpad-acpi capabilities. You can however set battery charge thresholds with tpacpi-bat.")
Is there some another way without tlp, or someone who know how to run acpi_call?
Does the tlp package not work for you? I'm confused; you say that tlp works for thinkpads, and that you have a thinkpad, then go on to talk about tlp dependencies, which should be installed when the tlp package is installed. You should not need to install or compile anything from outside of the Fedora repos to get Fedora packages to work.
randomuser: tlp works partially, another settings are fine except battery charging, which needs acpi_call to work. So, my question is how to install acpi_call, which is not in Fedora repos and I will appreciate help. (I will try suggested answer below.) Sorry for confusion.
It seems
acpi_call
has been abandoned: "This module is to be considered a proof-of-concept and has been superseeded by projects like bbswitch. It allows you to tamper with your system and should be used with caution." The mentioned bbswitch tackles graphics-device switching, but not battery management, so it would seem that a new tool is needed?