My Mac won't sleep, not even the screen saver turns on.
If I press the sleep option at the top left corner or hit the key combo: touch-id button with not registered finger, locks computer, then escape, sleeps.
Goes to sleep but comes back after some time.
- I do not have any sharing options enabled (System Preferences → Sharing).
- I do not have "Wake for network access" enabled (System Preferences → Energy Saver).
- I tried to reset the SMC and the PRAM, but the key combinations I tried didn't seem to make and effect at restart. Maybe I should try more.
Ran:
pmset -g assertions
found out there are a bunch of caffeinate processes running, keeping my mac from sleeping. If I kill them, one always comes back.
$ ps aux -o ppid | rg caffeinate
root 24456 0.0 0.0 408544784 7200 ?? S 4:32PM 0:00.02 caffeinate -d -i 1
Seems like my Mac is infected with something. Downloaded Avast rans a scan, nothing found. Does anyone know why does this happen, which app does it?
Thanks MacBook Pro M1 Max, 2022, Monterey 12.6