Log SimulateUserActivity once per burst

Steam calls it thousands of times per hour during controller play, which made up
~98% of the journal. Log the first call and a summary with the count after 5
minutes of quiet, when the client leaves, or on shutdown.
This commit is contained in:
Daniele Fucini
2026-10-15 23:38:52 +02:00
parent 51e18766a4
commit 0234456af8
3 changed files with 50 additions and 5 deletions
+1 -1
View File
@@ -85,7 +85,7 @@ journalctl --user -u xautolock-inhibit
## Limitations
- Restarting the daemon loses the requests it holds; apps don't send them again. Avoid restarting it while a video or game is running.
- `SimulateUserActivity` is accepted and logged, but does nothing.
- `SimulateUserActivity` is accepted but does nothing. Calls are logged once when a client starts sending them and once, with a count, after 5 minutes without any.
- `GetActive` always returns `false`.
## License