LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Mobile (https://www.linuxquestions.org/questions/linux-mobile-81/)
-   -   DOZE mode: programmatically (https://www.linuxquestions.org/questions/linux-mobile-81/doze-mode-programmatically-4175612625/)

surlac 08-25-2017 02:29 PM

DOZE mode: programmatically
 
How would I programmatically turn on or off Doze mode on my device running custom Android?
I have access to the source code. The idea is to write simple application (potentially system component), which would turn on/off Doze as part of business logic.

!!! 08-28-2017 05:08 PM

Might things like this or this help? I found them via:
DOZE mode android api code turn on off program


All times are GMT -5. The time now is 03:12 AM.