I installed proprietary Nvidia graphics drivers and used them for a while, but eventually uninstalled them. Since then, my laptop hasn’t been able to enter sleep/suspend. When prompted to sleep, it only locks the screen. I had a look in the journals, and found this error:
fedora systemd-logind: Error during inhibitor-delayed operation (already returned success to client): Unit nvidia-resume.service not found.
I think the driver uninstallation failed to clean one of the systemd service directories. Looked around for a bit, and found the culprit. Fixed it with:
sudo rm /etc/systemd/system/systemd-suspend.service.requires/nvidia-resume.service
Now the laptop suspends as it should
Has anyone else experienced this?