Android: Change delay before the phone is put to sleep while my app is running
问题 This question sounds so easy I can't believe I can't find information on it (maybe I have the wrong key words in mind...) I'm looking for a way to change the delay before the phone is put to sleep when my app is running. I was using wake locks until now to prevent my app from being closed to frequently (its and opengl app and the loading time is a killer specially on slow phones). I don't like the idea of indefinitely leaving the phone on (mainly because it empties the battery fast to have a