title: Allow App Timer To Run When Screen Is Locked
body: <p>I'm making my own running app for Android and I have a timer that should announce the time every 5 minutes using TextToSpeech. I'm using a <code>Chronometer.OnChronometerTickListener</code> to track the time and trigger the audio output. It works fine when the phone is plugged into the computer, but when I unplug the phone and lock the screen, the chronometer listener seems to go to sleep after about 30 seconds (so the audio doesn't work). Is there any way to prevent this?</p>