Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

X1 Carbon Gen 8 can't change charge levels via TLP 1.3.1 in Ubuntu 20.04

X1 / X1-Carbon (X1C) / X1-Extreme (X1E) Series/Generations
Post Reply
Message
Author
eggrevolver
Posts: 2
Joined: Sat Aug 28, 2021 5:23 am
Location: Saint-Petersburg, Russia

X1 Carbon Gen 8 can't change charge levels via TLP 1.3.1 in Ubuntu 20.04

#1 Post by eggrevolver » Sat Aug 28, 2021 5:32 am

I've got a new X1 gen8 with core i7 10510U CPU. I've installed Ubuntu 20.04 and tlp, were successfully changing charge levels up until this moment. I guess, I've installed some regular update and it doesn't work anymore :( When I try to do anything via tlp it tells `Error: battery charge thresholds not available.`

Code: Select all

$ uname -r
5.11.0-27-generic

Code: Select all

$ sudo tlp-stat -b
--- TLP 1.3.1 --------------------------------------------

+++ Battery Features: Charge Thresholds and Recalibrate
natacpi    = inactive (laptop not supported)
tpacpi-bat = inactive (laptop not supported)
tp-smapi   = inactive (laptop not supported)
One of those must be supported afaik... I've checked tlp faqs and found nothing about this issue.
Does anyone know what may be causing this?

eggrevolver
Posts: 2
Joined: Sat Aug 28, 2021 5:23 am
Location: Saint-Petersburg, Russia

Re: X1 Carbon Gen 8 can't change charge levels via TLP 1.3.1 in Ubuntu 20.04

#2 Post by eggrevolver » Mon Aug 30, 2021 5:40 am

Ok, I've found the problem. I was messing up with thinkfan and broke `thinkpad_acpi` config, modprobe was unable to load it:

Code: Select all

$ sudo modprobe thinkpad_acpi
modprobe: ERROR: could not insert 'thinkpad_acpi': Invalid argument
contents of `thinkpad_acpi.conf` were:

Code: Select all

cat /etc/modprobe.d/thinkpad_acpi.conf 
options thinkpad_acpi fan_control=1
options thinkpad_acpi fan_control=7
leaving the only first line cured everything, `thinkpad_acpi` is loaded and `tlp` works via `natacpi`:

Code: Select all

sudo tlp-stat -b
--- TLP 1.3.1 --------------------------------------------

+++ Battery Features: Charge Thresholds and Recalibrate
natacpi    = active (data, thresholds)
tpacpi-bat = active (recalibrate)
tp-smapi   = inactive (ThinkPad not supported)

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “ThinkPad X1 / X1-Carbon / X1-Extreme and later Series”

Who is online

Users browsing this forum: No registered users and 10 guests