I recently reinstalled openSUSE Tumbleweed after a snapshot I made wouldn’t delete and ended up filling my / partition, leaving me with an unbootable system.
Before, I had acpi_call installed in order for TLP to handle battery thresholds on my ThinkPad, and it worked flawlessly for several months. But after reinstalling my system, I followed all the same steps, including using the same repository to install acpi_call, and using the exact same battery thresholds in /etc/default/tlp, but when I run
sudo tlp setcharge BAT0
I get
Error: ThinkPad battery features not available.
So I tried
sudo tlp stat
and the appropriate output was
+++ Suggestions
* Install acpi-call kernel module for ThinkPad battery features
So I decided to check whether acpi_call was on my system with mlocate and I found this
When I try manually loading acpi_call using modprobe, I get this
modprobe: FATAL: Module acpi_call not found in directory /lib/modules/4.15.6-1-default
It’s entirely possible that the module hasn’t caught up to the kernel version, but since this never happened over the last few months, I’m a little concerned.
$ uname -a
Linux localhost.localdomain 5.14.1-1-default #1 SMP Sat Sep 4 08:22:51 UTC 2021 (67af907) x86_64 x86_64 x86_64 GNU/Linux
$ zypper se -si acpi_call
S | Name | Type | Version | Arch | Repository
---+-----------+---------+-------------+--------+--------------------------------------------------------
i+ | acpi_call | package | 1.1.0-3.112 | x86_64 | Base:System Factory Devel Project (openSUSE_Tumbleweed)
I already figured it out, it was necessary to install the acpi_call-kmp-default package. But now I have But now I have a new problem: I get errors like “/usr/share/tlp/func.d/35-tlp-func-batt: line 25: xxxx Killed $TPACPIBAT -g FD 1 > /dev/null 2>&1”.
TLP developer says that “you need a recent version of acpi_call”, but I can’t figure out what to do next: build it from source or just wait for it to be update?