The moment your screen goes unexpectedly black is gut-wrenching.

You're getting to the juiciest details of an e-book when the story cuts to black. You're looking at some breath-taking artwork and a wet blanket of darkness kills the mood. You're trying to find an elusive Pokémon before its spawn window ends and your screen times out just as an outline appears. Sure, this horror is momentary, and a simple press of the power button ends your blackout, but its effects can be devastating, and we don't need our screen timeout cranked up all the time; cranking it up for specific apps can let us fight back against the darkness.

This is also a great way to introduce yourself to Tasker.

What is Tasker? Read this first!

This is a simple Tasker profile with two one-action tasks and no plugins needed. We'll take advantage of the automation app's ability to change basic system settings to change our Android phone's screen timeout setting when we're in a particular app and when we exit it.

If you're looking to just reap the rewards without going through five full minutes of setting it up yourself, here's the finished profile for changing the display timeout length while in Pokemon Go for you to download before you open Tasker.

  1. Long-press Profiles to open a menu.
  2. Tap Import.
  3. Navigate to and select the Pokemon Timeout profile you downloaded.

    Long-pressImportPokemon Timeout

If you're looking to get down and dirty in Tasker, welcome to the club! We'll make some jackets one of these days, but for now let's get down to making your first profile, shall we?

  1. Open Tasker.
  2. In the Profiles tab, tap the + in the bottom right corner to create a new profile.
  3. Tap Application.

    Open TaskerPlusApplication

  4. Tap the app you want to crank up your screen timeout for.
  5. Tap the back arrow in the top-left corner of the screen.
  6. You'll need to turn on Tasker's Accessibility function so it can see which app is open. Tap OK to be taken to the needed settings screen.

    Tap Pokemon GoBackOk

  7. Tap Tasker.
  8. Tap the toggle to turn it on.
  9. Tap OK to allow Tasker to see which app you have open.

    TaskerToggleOK

  10. Tap the back button twice.
  11. Tap New Task.
  12. Name your task. You can name it whatever you like. Tap the enter key on your keyboard when you're done with your name.

    TwiceNew TaskName it

  13. Tap the + in the bottom right corner to add an action to your task.
  14. Tap the text box in the actions list and type in Display Timeout.
  15. Tap the Display Timeout action.

    PlusText boxDisplay Timeout

  16. Drag the Mins bar to 10 for a 10 minute timeout value. You can set the value lower or higher if you want, but some devices won't recognize a value about 10 minutes.
  17. Tap the back arrow in the top left corner of the screen to add your action.
  18. Tap the back arrow in the top left corner of the screen to finish your task.

    10 minutesBack onceBack again

  19. Long-press the green arrow to bring up a menu.
  20. Tap Add Exit Task.
  21. Repeat Steps 11-16 with your exit task.

    Long-pressExit TaskRepeat

  22. Drag the Secs and Mins bars to set your normal screen timeout length when not in your desired app.
  23. Tap the back arrow in the top-left corner of the screen to add your action.

    30 secondsBack once

  24. Tap the back arrow in the top-left corner of the screen to finish your task.
  25. Tap the checkmark in the top bar to commit your changes.

    Back againCheck and we're done

You can now create profiles to do the same with other apps easily now that the two tasks are already made. While I initially made this profile for Pokémon Go, it's also quite handy while reading and while enjoying red-light artworks.

What apps could you use this for? Your work email? Your calculator app? Your favorite game? Tell us in the comments! And if you have any other Tasker projects you'd like us to tackle, tell us those, too!