From the forums: Does Doze interfere with Android Device Manager?

Of all the features to come to Android with the 6.0 update, Doze is easily the most discussed. Some love it, claiming massive strides in battery performance during the day. Others aren't quite so pleased with the service, and complaints of missed messages and third-party app features breaking are often cited as why. Based on our own testing here at Android Central, we can tell you Doze is far from perfect. While the battery optimization when you aren't using your phone is clearly there, there are occasions where phones drift into Doze when they shouldn't and messages don't arrive until the phone wakes back up.

These concerns prompted one member of our forums to ask what happens to the more important features in Android, specifically Android Device Manager, when Doze is doing its thing.

If you've set your phone down somewhere and walked away for a couple of hours — yes, some people put their phones down on purpose for multiple hours at a time... on purpose — will Android Device Manager be able to locate the phone and perform all of the functions offered by the service? It's an important question, especially when you consider Device Manager can locate, ring, and factory reset your phone from an app or website if you can't find it. If Doze has forced everything quiet to save power, will this feature still work?

Android Device Manager

The short answer is yes. Doze is designed to allow apps and services that are deemed "High Priority" to always be able to communicate, which is why you still get phone calls and text messages from your carrier. Any app that isn't a critical cellular app, but wants to be considered "High Priority" uses Google Cloud Messaging so Google can monitor how often it pings your phone to ensure these apps aren't keeping your phone awake for no reason. Android Device Manager uses both cellular and Google Cloud Messaging services to function as location and ring push services, so there should never be a point in which this feature is unavailable due to Doze.

That having been said, software is imperfect and sometimes things break. The easiest way to test that Doze is functioning correctly for Device Manager is to use the service and take a look for yourself. Leave your phone somewhere with no motion that isn't connected to power, and after an hour or two look for the phone on Device Manager. The web interface gives you the last time the phone was located, and if everything is working correctly that time should be within a minute of your current time. If your phone can be located by the service, everything is working as intended. If that's not happening, there's a problem worth reporting.

Russell is a Contributing Editor at Android Central. He's a former server admin who has been using Android since the HTC G1, and quite literally wrote the book on Android tablets. You can usually find him chasing the next tech trend, much to the pain of his wallet. Find him on Facebook and Twitter

  • I'm running Z3 on beta Marshmallow and I haven't even seen Doze utilized yet. Maybe I move around too often or something? I'll sit my phone on the table for a good 10 minutes and when I get a notification it just gives the notification light like it always has... Posted via the Android Central App
  • It takes longer than ten minutes to activate, the device has to be in place for at least an hour
  • All of my devices on Marshmallow disconnect from my Chromecasts while streaming- I wonder if Doze is the culprit? It's annoying- especially if I want to adjust volume, skip a song, or pause. I'll pick up my phone after setting it down for a while and it'll read "reconnecting to kitchen"...which takes a while. Posted via the Android Central App
  • My Nexus 5, 6, and 2013 7 were doing that before Marshmallow. Now it seems things are fixed. YOU GOT MY BAD JUJU.
  • That's hilarious. I wonder what's going on.
  • Talking about 1st world problems.. Posted via the Android Central App
  • There's one on every tech forum. May I ask why you even visit this site if this sort of thing isn't important enough to discuss?
  • Well if you look under the app setting and go into the battery optimization section you will notice there are 2 services you cannot optimize (cannot Doze) and those are Google Play Services and DMService. DMService is the Device Manager so this may be the reason they dont let you doze it.
  • This comes in handy as some people might be asking the same! Thanks for the tip and useful as usual
  • A big shout out to you Russell! Thank you!
  • I'm not sure how anyone could be confident of any results given that as far as I know there is no way of telling when and if Doze activated (except possibly via PC and ADB, if so article should say so)....
  • PC/ADB would fail because the device would be plugged in and Doze doesn't activate when the device is plugged in. There's no set time it activates, just after a period (45 minutes to an hour) to activate
  • It's kicks in 6o minutes exactly after screen off on a device that's left pretty much motionless
    Doze parameters -
  • That is when it will kick in IF its going to kick in. Everything I've seen is guesswork.
  • BetterBatteryStats can tell you amount of time in Doze. It's also fairly straightforward with an automation app to make a Doze detect routine logging it kicking in and kicking out via Doze's impact on the automation app itself (alarmmanager calls limited to one per 9 minutes whilst dozing).
  • Thanks, I'll check that out. My main point though was its just guesswork unless you can prove when doze cuts in and out.
  • One day I left my nexus 9 lte in the trunk of my car when I got home at night. I completely forgot it was in the trunk and I was going crazy looking for it the next morning. I checked Android device manager and nothing was coming up. I checked the trunk after about half an hour and the tablet was still on. It had to be doze. Posted via the Android Central App
  • Google the term "Faraday Cage".
  • Headline rewrite: "Does Doze interfere with Android Device Manager?" ...should have been: "Doze does not interfere with Android Device Manager" A headline should never be a question. As a rule, I don't click on headlines that ask questions. I made an exception here because I was generally curious. Some advice. Since you are going down the click bait path why not go all in: "You won't believe what Marshmallow's Doze does to this critical Android feature..."
  • It starts 'From the forums', suggesting it's a question from the forums. There's nothing wrong with the headline. Posted via the Android Central App
  • +1 Posted via Nexus 6P
  • +1
  • not sure I agree with your opinion, and this definitely isn't click bait. it's a writers responsibility to their employer to create a headline that'll generate traffic, as well as not mislead their customers. I don't think Russell is guilty of that, and AC does a good job for the most part in that department.
  • Reading is SO HARD! Posted via the Android Central App
  • good tip ... Doze is far from perfect but definitely a step in the right direction. this is something Google should have perfected years ago. I know it's not as easy to get it functioning properly as iOS, but IMO should've been Android's top priority. And there's no excuse for them to not have fixed the issues (Bluetooth, lag) that many have experienced in the 6p and especially 5x. They've had months to update it, and Google should at the very least be able to have their own devices to function properly. That said, it's a huge improvement over LP.
  • I'm wondering if this is whats causing calls to go to voicemail and I never know about them till I get a voicemail txt.
  • It should not affect calls as those are High Priority.
  • I put my phone down for hours, nothing stops working, and when I pick it up again the battery is at 100%. It's called wireless charging.
  • I have a wireless charger, but I never use it for some reason.
  • Yes, it is great isn't it? I have the best of both worlds. Posted via Nexus 6 running on any data plan I want
  • Google needs to do the things in the right way Posted via the Android Central App
  • I know interferes with Android Wear. It broke the Ok Google feature on my Moto 360, being able to control Google Music via the watch and also if I answered a call on my phone my watch would continue vibrating to indicate I had an incoming call. In the end I had to switch Doze off to rectify these issues.
  • Well...I'm going to go ahead and say YES...Doze DOES affect Android device manager...on my Nexus 7 (2013) wifi.
    I have wifi set to never sleep however ADM will not locate or ring until the device has the screen turned on.