-
-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should warn about the threshold feature can not be applied. #675
Comments
Battery thresholds should work on your machine if you have the right acpi modules are installed. Also conservation mode will have higher priority than battery thresholds so turn off conservation mode and try again. |
It would seem that Also post |
I already tried, they doesn't work, if it was set at BAT0, I think that it would work, but if the battery is configured at BAT1 there looks some issue.
auto-cpu-freqPlease ignore the custom commit, I am using my own custom version #674
|
For config file
|
to be honest i have no idea what would fix your issue the only things i can think of are: you dont have to right acpi modules installed. could you send us the output of lsmod? try booing off a live Debian on a usb stick and see if you have the correct acpi module running and see if the battery path is available. can we also have your laptop model? |
lsmod
|
Laptop: Lenovo IdeaPad Slim 5 14AHP9 |
For Debian, I will try later :) |
I ran into a similar issue today. The thresholds set in the config file were being ignored. Trying to I managed to get the battery to charge by writing to I suspect that the kernel or module were updated and something went slightly wrong. Also, I do not recall these Although this issue isn't with For completeness, I have the required module: marek@ulam:~ $ lsmod | grep thinkpad_acpi
thinkpad_acpi 159744 0
nvram 16384 1 thinkpad_acpi
snd 143360 31 snd_ctl_led,snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_sof,snd_hda_scodec_cs35l41,snd_timer,snd_soc_hdac_hdmi,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm,snd_hda_cs_dsp_ctls,snd_rawmidi
ledtrig_audio 12288 3 snd_ctl_led,snd_hda_codec_generic,thinkpad_acpi
platform_profile 12288 1 thinkpad_acpi
drm 761856 20 drm_kms_helper,drm_display_helper,evdi,nvidia,drm_buddy,thinkpad_acpi,nvidia_drm,i915,ttm
video 73728 3 thinkpad_acpi,i915,nvidia_modeset
marek@ulam:~ $ sudo auto-cpufreq --debug
[sudo] password for marek:
Using settings defined in /etc/auto-cpufreq.conf file
-------------------------------------------------------------------------------
Linux distro: Ubuntu 23.10 Mantic Minotaur
Linux kernel: 6.5.0-27-generic
Processor: 13th Gen Intel(R) Core(TM) i9-13900H
Cores: 20
Architecture: x86_64
Driver: intel_pstate
------------------------------ Current CPU stats ------------------------------
CPU max frequency: 5200 MHz
CPU min frequency: 400 MHz
Core Usage Temperature Frequency
CPU0 0.0% 61 °C 400 MHz
CPU1 0.0% 61 °C 687 MHz
CPU2 0.0% 57 °C 400 MHz
CPU3 0.0% 57 °C 400 MHz
CPU4 0.0% 55 °C 400 MHz
CPU5 0.0% 55 °C 400 MHz
CPU6 1.0% 56 °C 418 MHz
CPU7 0.0% 56 °C 400 MHz
CPU8 1.0% 56 °C 597 MHz
CPU9 0.0% 56 °C 400 MHz
CPU10 0.0% 52 °C 1046 MHz
CPU11 0.0% 52 °C 400 MHz
CPU12 0.0% 57 °C 400 MHz
CPU13 0.0% 57 °C 400 MHz
CPU14 0.0% 57 °C 400 MHz
CPU15 0.0% 57 °C 400 MHz
CPU16 0.0% 58 °C 400 MHz
CPU17 0.0% 58 °C 400 MHz
CPU18 0.0% 58 °C 400 MHz
CPU19 0.0% 57 °C 400 MHz
CPU fan speed: 2333 RPM
auto-cpufreq version: 2.2.0 (git: 215026a)
Python: 3.11.6
psutil package: 5.9.8
platform package: 1.0.8
click package: 8.1.7
distro package: 1.9.0
Computer type: Notebook
Battery is: charging
auto-cpufreq system resource consumption:
cpu usage: 0.0 %
memory use: 0.03 %
Total CPU usage: 0.3 %
Total system load: 0.23
Average temp. of all cores: 56.65 °C
Currently using: performance governor
Currently turbo boost is: on
------------------------------------------------------------------------------- And my config file is
|
from here im currently working on adding warnings like what was suggested and then i will work on changing the api paths. |
Amazing! |
So you will work for
right? |
yep it should. |
Yeah but in my case, it will not work too :(
|
|
but bat0 has the paths tho right? |
https://linrunner.de/tlp/settings/bc-vendors.html#lenovo-non-thinkpad-series According to this documentaton, some products have issues. |
My product has no bat0, so no way to check :) |
igtg rn but ill check in the morrning |
does your laptop support |
Closing the issue due to inactivity. |
Some Lenovo laptop has the issue with setting the battery threshold.
https://access.redhat.com/discussions/6195601
It would be great if the user could notice that the battery threshold feature is not working.
By the way.., sigh situation, only conservation_mode works for my Fedora machine.. :(
The text was updated successfully, but these errors were encountered: