I want to know how to detect user idle in UWP. I mean not the case user idle for the app, but for the whole system/OS: no keyboard input, no mouse operation, no touch even when no focus on the app or app is minimized.
I find some other post about it. Like this: How to check if user is idle on UWP? And it uses below method:
Window.Current.CoreWindow.PointerMoved += onCoreWindowPointerMoved;
I tested and found that if my mouse moves outside of the app window, then onCoreWindowPointerMoved() will not be executed. It means this method can not detect user idle on the whole system.