u/Horsierer

Logitech G HUB was stopping my PC from sleeping and breaking my screensaver

My PC had a problem where it would not sleep correctly or wake itself instantly from sleep and the screensaver would not turn on. This probably also forces systems to stay awake even when idle if you have a screen off or sleep timer.

I checked power usage with powercfg /requests and found Logitech G HUB (lghub_agent.exe) was keeping the system active. If you have the same issue, run powercfg /requests in cmd and see if G HUB is listed. I fixed it by running this command in cmd as admin:

powercfg /requestsoverride process lghub_agent.exe execution awaymode

After that sleep and screensaver started working normally again. If it didn't do anything for you, you can undo it with this command:

powercfg /requestsoverride process lghub_agent.exe

reddit.com
u/Horsierer — 4 days ago