Something is not quite right (tested on both Arch rolling 6.4.11-arch2-1 and 6.1.46-1-lts):
$ systemctl status auto-cpufreq.service
× auto-cpufreq.service - auto-cpufreq - Automatic CPU speed & power optimizer for Linux
Loaded: loaded (/usr/lib/systemd/system/auto-cpufreq.service; enabled; preset: disabled)
Active: failed (Result: exit-code) since Thu 2023-08-24 14:57:12 CEST; 13s ago
Duration: 233ms
Process: 8523 ExecStart=/usr/bin/auto-cpufreq --daemon (code=exited, status=1/FAILURE)
Main PID: 8523 (code=exited, status=1/FAILURE)
CPU: 225ms
aug 24 14:57:11 ArchLinux systemd[1]: Started auto-cpufreq - Automatic CPU speed & power optimizer for Linux.
aug 24 14:57:12 ArchLinux auto-cpufreq[8523]: Traceback (most recent call last):
aug 24 14:57:12 ArchLinux auto-cpufreq[8523]: File "/usr/bin/auto-cpufreq", line 14, in <module>
aug 24 14:57:12 ArchLinux auto-cpufreq[8523]: from auto_cpufreq.core import *
aug 24 14:57:12 ArchLinux auto-cpufreq[8523]: File "/usr/lib/python3.11/site-packages/auto_cpufreq/core.py", line 21, in <module>
aug 24 14:57:12 ArchLinux auto-cpufreq[8523]: import requests
aug 24 14:57:12 ArchLinux auto-cpufreq[8523]: ModuleNotFoundError: No module named 'requests'
aug 24 14:57:12 ArchLinux systemd[1]: auto-cpufreq.service: Main process exited, code=exited, status=1/FAILURE
aug 24 14:57:12 ArchLinux systemd[1]: auto-cpufreq.service: Failed with result 'exit-code'.
Pinned Comments
liljaylj commented on 2021-06-03 12:13 (UTC)
@coxe87b you don't need to --install daemon manually, this package contains systemd service already. instead, you need to start and enable service using:
systemctl enable --now auto-cpufreq.service