[screenlocker] Mark session as idle in logind while screen is locked
Review Request #122510 - Created Feb. 10, 2015 and discarded
See the idle recommendations on . Binding it to the lock screen does
not exactly match the recommendation, but it has some advantages:
* we know it's idle when it's locked
* it kicks in after the user's configured idle timeout
* if the user unlocks we know it's no longer idle
Run the test application and verified using loginctl from tty1 while the screen was locked and after unlocked.
I'm not convinced this is right.
From the doc you linked:
This is necessary for the system to implement auto-suspend when all sessions are idle.
When we lock the screen, powerdevil is still running, no?
Powerdevil has an inhibition blocking logind suspending, so I think overall this will just do nothing.