Here’s a tip who can be usefull if you use video or audio in your application. You may need to be able to keep the screen on when you watch a video and prevent Windows to dim the screenor enter in sleep mode.

DisplayRequest displayRequest = new DisplayRequest();

// do whatever you want...

Have fun !