What is idle mode in Android

Clash Royale CLAN TAG#URR8PPP
What is idle mode in Android
What is idle mode in android? Is it when my phone's screen is off or is it when no application is in foreground or something else?
Actually I have got a requirement, where some power management scripts need to be run once the phone is in Idle mode.
3 Answers
3
IDLE mode is when your phone is ON but you are not using the phone and the screen is off (sleep mode). Also IDLE mode for some phones can also mean POWER ON mode, whenever your using the phone, its in IDLE mode.
Actually I have got a requirement , where some power management scripts are to be run once the phone is in Idle mode.
I don't understand that part of your question, can you clarify.
Well, these are some scripts where in CPU consumption ,battery usage etc. of device is monitored under various modes one of which is Idle mode.
– rohitverma
Jul 4 '12 at 3:32
Does this imply, say if I am playing an audio file and my screen is off, it is in idle mode ?
– rohitverma
Jul 4 '12 at 3:37
I would think so, according to the definition I posted above. If I were you I would do a little more research just to be sure.
– 0gravity
Jul 4 '12 at 3:43
According to the developer docs IDLE means that the phone is on sleep. Doze mode is for Android 6 and later.
Idle mode is a state where the phone has no network connectivity and apps are temporarily suspended. Idle mode gets triggered by one of two ways: an asleep, still, unplugged phone (Doze mode), and when an app has not been opened in a significant amount of time (App Standby Mode). During idle mode via Doze, the phone will wake up periodically for a short amount of time, allowing apps to run and use network connectivity.
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Look this is the documentation for the BroadcastReceivers developer.android.com/guide/components/broadcasts.html that should give you the basis for what you are looking for and then for your IDLE or Doze concern you should check the WakefullBroadcastReceiver developer.android.com/reference/android/support/v4/content/…
– cutiko
Aug 10 '17 at 15:57