You have to start a keep-awake session and configure what should happen or not happen. Click “more” in the App Store description and it gives some instructions: