LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile
User Name
Password
Linux - Mobile This forum is for the discussion of all topics relating to Mobile Linux. This includes Android, Tizen, Sailfish OS, Replicant, Ubuntu Touch, webOS, and other similar projects and products.

Notices


Reply
  Search this Thread
Old 08-25-2017, 02:29 PM   #1
surlac
LQ Newbie
 
Registered: Aug 2016
Posts: 14

Rep: Reputation: 0
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, 05:08 PM   #2
!!!
Member
 
Registered: Jan 2017
Location: Fremont, CA, USA
Distribution: Trying any&ALL on old/minimal
Posts: 997

Rep: Reputation: 382Reputation: 382Reputation: 382Reputation: 382
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.
  


Reply

Tags
android, linux



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 04:19 AM
Internet speed is like dial up compare to DOZE! mpegtwo Linux - Newbie 6 07-11-2004 06:32 PM
Wanting to Switch from Doze for good shane25119 Linux - General 10 06-15-2004 10:53 PM
Can't boot into doze after Debian install... Bruce Hill Linux - Newbie 20 07-29-2003 08:05 AM
Corel Linux and Win-Doze on same disk C++freak Linux - Software 11 04-29-2002 03:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Mobile

All times are GMT -5. The time now is 05:54 AM.

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