ask Scheduler checks for an idle state using two criteria: user absence, and a lack of resource consumption.
- The user is considered absent if there is no keyboard or mouse input during this period of time. (rdp 里的键盘和鼠标也算用户输入)
- The computer is considered idle if all the processors and all the disks were idle for more than 80% of the last detection interval. (注: Win7 和之前这个阈值是 90%)
- An exception would be for any presentation type application that sets the ES_DISPLAY_REQUIRED flag. This flag forces Task Schedule to not consider the system as being idle, regardless of user activity or resource consumption.