Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Mobile
User Name
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Firefox OS, Sailfish OS, Maemo, MeeGo, Ubuntu Mobile, WebOS, Open Mobile Alliance and other similar projects and products.
A reminder that LQ now has a dedicated Android sister site:


  Search this Thread
Old 08-25-2017, 03:29 PM   #1
LQ Newbie
Registered: Aug 2016
Posts: 10

Rep: Reputation: Disabled
Cool 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.
Old 08-28-2017, 06:08 PM   #2
Registered: Jan 2017
Posts: 666

Rep: Reputation: 289Reputation: 289Reputation: 289
Might things like this or this help? I found them via:
DOZE mode android api code turn on off program
1 members found this post helpful.


android, linux

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
drake doze and slax boot help batto Linux - Newbie 0 05-05-2006 05:19 AM
Internet speed is like dial up compare to DOZE! mpegtwo Linux - Newbie 6 07-11-2004 07:32 PM
Wanting to Switch from Doze for good shane25119 Linux - General 10 06-15-2004 11:53 PM
Can't boot into doze after Debian install... Bruce Hill Linux - Newbie 20 07-29-2003 09:05 AM
Corel Linux and Win-Doze on same disk C++freak Linux - Software 11 04-29-2002 04:18 PM > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 12:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration