You are not logged in.
I installed pstate-frequency from AUR to control my CPU frequencies on AC/battery. Then I saw that I could do the same with tlp which I was already using. After uninstalling pstate-frequency, my laptop can't go to sleep:
Jun 01 20:58:43 c940-arch systemd[1]: suspend-then-hibernate.target: Job suspend-then-hibernate.target/start failed with result 'dependency'.
Jun 01 20:58:43 c940-arch audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-suspend-then-hibernate comm="systemd" exe>
Jun 01 20:58:43 c940-arch systemd[1]: Dependency failed for Suspend; Hibernate if not used for a period of time.
Jun 01 20:58:43 c940-arch systemd[1]: Failed to start Suspend; Hibernate if not used for a period of time.
Jun 01 20:58:43 c940-arch systemd[1]: systemd-suspend-then-hibernate.service: Failed with result 'exit-code'.
Jun 01 20:58:43 c940-arch systemd[1]: systemd-suspend-then-hibernate.service: Main process exited, code=exited, status=1/FAILUREWhen I check for dependencies:
$ systemctl list-dependencies -a suspend-then-hibernate.target
suspend-then-hibernate.target
○ └─systemd-suspend-then-hibernate.service
● ├─system.slice
● │ └─-.slice
○ └─sleep.target
○ └─pstate-frequency-sleep.service
$ systemctl status pstate-frequency.service
Unit pstate-frequency.service could not be found.How do I remove pstate-frequency correctly, so that the dependencies are updated?
Edit: Solved it by manually removing the service with systemctl disable ... . Is this normal behaviour? I thought that uninstalling should also remove enabled services.
Last edited by mrwsl (2022-06-02 08:08:48)
Offline