I\'m trying to create a program to check if there is a process that will prevent my display from going to sleep. I\'ve been doing this manually by running powercfg /re
powercfg /re