Automatically set short screen timeout when tracking

From Pascal Rombout on 2014/12/16 12:16:10 +0000

During the day I like to have a long screen timeout i.e. 5 minutes. When I go to bed and start the sleep tracking I would like the screen timeout to be really short i.e. 15 seconds or so. This could be accomplished via third party apps reading the current activities, that is reading that the sleep tracking is running and change the timeout.
I believe it would be easier if the app itself could set this and change it again if sleep tracking stops in the morning. Just like with automatic airplane mode.

Copied from original feature request: http://urbandroid.uservoice.com/forums/264867-sleep-as-android/suggestions/6848809-automatically-set-short-screen-timeout-when-tracki