I am working on a musical training game.
It fires out random notes.
Problem is, my android device has only five options for “time before screen goes off”, and the longest of these is 10 minutes.
So after 10 minutes the screen goes off, and the app stops running.
I don’t mind the screen going off, but I need the app to keep running and spitting out notes.
How can I keep it running beyond this 10 minute cut-off?
Is there any way I can override the time at which the screen cuts out? It would be handy to make it a user configurable option; I suspect powering the screen is a major source of battery drain; it is not a CPU intensive app (just playing a WAV file once every second or so), so it would be super to give the user control over the screen timeout.
π