You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm encountering an error with battery threshold settings on my Lenovo Yoga Slim 7 Pro X (14IAH7). The system fails to read battery threshold values, resulting in the error below.
Laptop Model
Lenovo Yoga Slim 7 Pro X (14IAH7)
Error output:
cat: /sys/class/power_supply/BAT1/charge_start_threshold: No such file or directory
ERROR: failed to read battery BAT1 thresholds: CalledProcessError(1, ['cat', '/sys/class/power_supply/BAT1/charge_start_threshold'])
System information:
-------------------------------- Battery Info ---------------------------------
battery count = 1
cat: /sys/class/power_supply/BAT1/charge_start_threshold: No such file or directory
ERROR: failed to read battery BAT1 thresholds: CalledProcessError(1, ['cat', '/sys/class/power_supply/BAT1/charge_start_threshold'])
-------------------------------------------------------------------------------
Linux distro: NixOS 24.11 Vicuna
Linux kernel: 6.11.7
Processor: 12th Gen Intel(R) Core(TM) i7-12700H
Cores: 20
Architecture: x86_64
Driver: intel_pstate
------------------------------ Current CPU stats ------------------------------
CPU max frequency: 2300 MHz
CPU min frequency: 400 MHz
Core Usage Temperature Frequency
CPU0 1.0% 45 °C 1131 MHz
CPU1 3.0% 45 °C 400 MHz
CPU2 1.0% 46 °C 400 MHz
CPU3 0.0% 46 °C 400 MHz
CPU4 8.0% 44 °C 463 MHz
CPU5 0.0% 44 °C 400 MHz
CPU6 2.0% 45 °C 429 MHz
CPU7 0.0% 45 °C 400 MHz
CPU8 1.0% 43 °C 400 MHz
CPU9 0.0% 43 °C 400 MHz
CPU10 3.0% 42 °C 701 MHz
CPU11 0.0% 42 °C 400 MHz
CPU12 2.0% 45 °C 598 MHz
CPU13 4.0% 45 °C 603 MHz
CPU14 3.0% 45 °C 1110 MHz
CPU15 3.0% 45 °C 400 MHz
CPU16 1.0% 44 °C 400 MHz
CPU17 9.1% 44 °C 400 MHz
CPU18 5.9% 45 °C 554 MHz
CPU19 2.0% 45 °C 628 MHz
auto-cpufreq version: 2.4.0
Python: 3.12.7
psutil package: 6.0.0
platform package: 1.0.8
click package: 8.1.7
distro package: 1.9.0
Computer type: /nix/store/mm0pa3z7kk6jh1i9rkxqxjqmd8h1qpxf-bash-5.2p37/bin/sh: line 1: dmidecode: command not found
Battery is: discharging
auto-cpufreq system resource consumption:
cpu usage: 0.0 %
memory use: 0.23 %
Total CPU usage: 0.8 %
Total system load: 0.63
Average temp. of all cores: 44.40 °C
Currently using: powersave governor
Currently turbo boost is: off
-------------------------------------------------------------------------------
This issue appears to stem from a missing /sys/class/power_supply/BAT1/charge_start_threshold file, which causes an error when attempting to read or set the battery threshold. Consequently, battery conservation mode cannot be activated. Adding ideapad_laptop_conservation_mode = true to the configuration did not resolve the issue, and loading the ideapad_laptop kernel module also did not have any effect.
Expected Behavior:
The battery threshold file should be accessible and adjustable, allowing battery conservation mode to activate as expected.
The text was updated successfully, but these errors were encountered:
Summary
I'm encountering an error with battery threshold settings on my Lenovo Yoga Slim 7 Pro X (14IAH7). The system fails to read battery threshold values, resulting in the error below.
Laptop Model
Lenovo Yoga Slim 7 Pro X (14IAH7)
Error output:
System information:
Config
Kernel Modules
Issue Description:
This issue appears to stem from a missing
/sys/class/power_supply/BAT1/charge_start_threshold
file, which causes an error when attempting to read or set the battery threshold. Consequently, battery conservation mode cannot be activated. Addingideapad_laptop_conservation_mode = true
to the configuration did not resolve the issue, and loading theideapad_laptop
kernel module also did not have any effect.Expected Behavior:
The battery threshold file should be accessible and adjustable, allowing battery conservation mode to activate as expected.
The text was updated successfully, but these errors were encountered: