How to detect system idle time admin November 11, 2007 November 11, 2007 No Comments on How to detect system idle time If you want to detect user inactivity even if your application is in background (has no focus), it’s really simple. You can achieve this using GetLastInputInfo function.