According to the manual,
Also, xss-lock manages the idle hint on the login session. The idle state of the session is directly linked to user activity as reported by X (except when the noti‐fier runs before locking the screen). When all sessions are idle, the login manager can take action (such as suspending the system) after a preconfigured delay.
Also at the bottom,
So I think this is supposed to interface with the
However, it just doesn't work. The action defined in
logind.conf is always taken after the timeout. xss lock does not report activity at all. It has been a while since the last update; perhaps something about logind changed?