[Discussion]Android 6.0 Doze Mode

Search This thread

Bobbi lim

Senior Member
Dec 22, 2012
2,609
1,690
193
Singapore
This thread is actually meant for discussion about how doze works, whether it works (debateable), setup and everything.

My suspicions is that doze does not work for custom ROM or any Android OS that is not certified by Google. My reasoning behind this is quite simple.

What I did:
1. On various 5.x ROM, if I were to leave my phone overnight and even with wakelocks, I have never lost more than 3% of battery.
2. On kitkat, the situation is similar and I have never also lost more than 3% overnight.
3. On multiple MarshMallow ROM, leaving the phone overnight drains more than 4%.

To make things clear, on Kitkat and Lollipop, my phone was left idling for more than 8hrs. But on MarshMallow, I have only left the phone for 6hrs and I lost more than what is on Kitkat and Lollipop giving me the idea that doze does not work. I have checked the battery graph in settings and it shows that there's barely any wakeups for the device but battery was dropping quite noticeably.

I have attached a image of my stats today in school. If you take a look closely, there's a certain period of time where under the "Awake" section, there's no wakeups, my battery was still dropping and doze was not even kicking in at all. And I can assure you, that was over a period of 2hrs as I did not touch my phone during class time.
 

Attachments

  • Screenshot_20151202-190608.png
    Screenshot_20151202-190608.png
    96.3 KB · Views: 1,391
Last edited:
  • Like
Reactions: rhavock

Bobbi lim

Senior Member
Dec 22, 2012
2,609
1,690
193
Singapore
For those that are interested to chip in the discussion, feel free to do so. Uploads screenshots of your battery graph to backup your words for better and more fruitful discussions to come. This is not about battery life related like SOT, standby etc. It's mainly for discussion about doze whether its working for you or not. Or if doze is actually working and not a gimmick. I don't know.
 

Mr hOaX

Senior Member
Jan 30, 2014
1,071
2,587
0
For those that are interested in configuring Doze to test whether my words are accurate or not, I've have the necessary apps linked below.

Doze Settings Editor: http://goo.gl/02bkYl
NapTime: http://goo.gl/AMQdOx

As far as my experience goes with MM and KK ROMs,

I completely agree what you told about battery life in KK.

However, that was KK! Battery life in MM is much better than that in LP. I agree that KK was much optimized. But forget about it for now as ALL the Custom ROMs based on MM are still in ALPHA stage.
It means that you can expect better battery life than current scenarios once CM provides STABLE builds

Regarding Doze Mode, yes it works for me
These are my today's battery life stats https://www.imgur.com/a/PC2V4
 
Last edited:

rhavock

Member
Aug 29, 2012
21
2
33
good call man,

I have notice that too. I tried all thats MM roms alpha in Xda. even in oficial Cyanogen nightly the battery life is something like good and not awesome like promised.

until now the best battery life in all Roms between KK , LP and MM is in Paranoid Android Stable Rom.

PS.: I have use Greenify in all that ****.
 

VividCleric

Senior Member
Dec 5, 2012
340
44
0
24
Mumbai
As far as my experience goes with MM and KK ROMs,

I completely agree what you told about battery life in KK.

However, that was KK! Battery life in MM is much better than that in LP. I agree that KK was much optimized. But forget about it for now as ALL the Custom ROMs based on MM are still in ALPHA stage.
It means that you can expect better battery life than current scenarios once CM provides STABLE builds

Regarding Doze Mode, yes it works for me
These are my today's battery life stats https://www.imgur.com/a/PC2V4

Hi there! I would like to know if u r using V4A FX on ur phone?:confused: I have seen people complaining about the battery life using the same ROM that u r using.

As for what i have noticed that earlier when there was no workaround for the r/w system remount error there was no way of making V4A work which is why i was only using the default audio fx and at that time i was getting almost the same battery stats as ur's sir. I just believe that V4A could be the reason of the drain as while installing it warns us firsthand about the battery drain it can cause.

I know that what i am saying is not the case with either kitkat or lollipop. This could be because V4A hasn't been exactly made for Marshmallow yet. :D
 

tekanina

Senior Member
Jan 14, 2013
395
136
0
Baltimore
Using doze settings editor to have doze kick in instantaneous whether in motion or not I have noticed I no longer receive emails through gmail if my screen is off. If I'm using my phone I'll get a notification but if the screen is off I won't get a notification until I open the app.

Also my battery life is better than ever. I'm not getting ridiculous sot or anything but standby is great. Off the charger at 6am and back on around 12am I'm left with 20 -30% left on average where as on lp it'd be dead by 8pm. Averaging 5.5 sot. Using official CM13. Just switched to Sultans CM13 and battery already seems much better.
 

Bobbi lim

Senior Member
Dec 22, 2012
2,609
1,690
193
Singapore
Using doze settings editor to have doze kick in instantaneous whether in motion or not I have noticed I no longer receive emails through gmail if my screen is off. If I'm using my phone I'll get a notification but if the screen is off I won't get a notification until I open the app.

Also my battery life is better than ever. I'm not getting ridiculous sot or anything but standby is great. Off the charger at 6am and back on around 12am I'm left with 20 -30% left on average where as on lp it'd be dead by 8pm. Averaging 5.5 sot. Using official CM13. Just switched to Sultans CM13 and battery already seems much better.

I've tried multiple MM ROM - from AOSParadox -> BrokenOS -> Omni ROM -> SlimSaber (Omni-based) -> CM13 CAF/ CM13 Nightlies and with or without configuring doze using NapTime or Doze Settings Editor, I can easily get past 2 days of standby with 6.5hrs of SOT which in comparison to Lollipop is much better overall.
But no matter I set doze to kick in 5mins, 10mins, 15mins or 30mins, I don't see much doze really doing wonders during deep sleep. And to make my test consistent, I had left the phone in airplane mode over 2hrs and my standby loss throughout that 2hrs was 2% which compared to Lollipop is quite bad as placing the phone in airplane mode can result in 0.3-0.5% battery loss in 2hrs.
 

threetwentyfizzle

Senior Member
Oct 31, 2012
1,019
410
113
Albuquerque
I've tried multiple MM ROM - from AOSParadox -> BrokenOS -> Omni ROM -> SlimSaber (Omni-based) -> CM13 CAF/ CM13 Nightlies and with or without configuring doze using NapTime or Doze Settings Editor, I can easily get past 2 days of standby with 6.5hrs of SOT which in comparison to Lollipop is much better overall.
But no matter I set doze to kick in 5mins, 10mins, 15mins or 30mins, I don't see much doze really doing wonders during deep sleep. And to make my test consistent, I had left the phone in airplane mode over 2hrs and my standby loss throughout that 2hrs was 2% which compared to Lollipop is quite bad as placing the phone in airplane mode can result in 0.3-0.5% battery loss in 2hrs.
I kinda am getting the same if not similar impressions. I've tried most of the super alpha builds of most 6.0 Roms until Sultan Started his CAF CM13 builds which is what I've stuck with since then.

Battery life seems to be Marginally better than LP, I haven't used any KK roms on my phone so I don't really have a baseline to go off of for getting ridiculous battery life. I am however getting an average of about a solid day and a half on a single charge. 5 hours SOT is the most ive been able to achieve. Nothing to complain or gripe about, I can get a full day of heavy usage without worrying about plugging in to make it to the end of the day so I'm happy.

The one thing I CAN say however, is Marshmallow definitely feels so much more fluid and snappier than LP, and RAM management seems to be much better. I have apps still in memory from like the previous day, and when I open my app, its right where I left off, versus reloading the app. So I call that a win :good:

Sent from my A0001 using Tapatalk
 

RoryPipi

Member
Dec 29, 2014
46
21
0
Melbourne
Betterbatterystats isn't reporting many wakelocks at all on MM, (even without amplify or xposed). All I've got are Greenify and Naptime by Franco. The main thing waking up my device is Google Play Services Alarms, (related to Google Cloud Messenger) and that's understandable, as Google Play Services is the only package that is 'not optimised' by doze in the battery optimisation menu. The CPU states say that my device is in deep sleep almost the entire time that the screen is off, which means that doze really is doing its job. Only thing left to be desired is a rom + Kernel setup that is battery friendly during screen on, but that will come as MM roms exit the Alpha stage.

All this being said, I feel that MM does a much better job with battery than majority of LP roms. Only thing that's come close in LP for me is a heavily optimised setup with Sultan's CM (+Greenify, xposed, amplify, etc etc).
 

Bobbi lim

Senior Member
Dec 22, 2012
2,609
1,690
193
Singapore
By how Google advertised Doze, you should not be losing much battery when its in Doze mode but that isn't the case. We are able to enter deep sleep on our devices but we are not able to enter Doze.

Sent from my Nexus 7 using Tapatalk
 

pranshubatra707

Senior Member
Jan 31, 2011
173
57
0
I'm on stock cm 12.1 not rooted and I loose only 2% battery at night.. Very rare its 3%. By what you guys are posting, I think I'm better off with stock rather than marshmallow
 

geowolf1000

Senior Member
Jan 16, 2011
805
289
93
I have not test MM roms
But from my little expirience from donut android version to lollipop
you testing different various settings
Any upgrade hide new hardware support
First was
better camera like dslr
After was cpu cores and power
Leds
Faceunlock
.......

Greenify, amplify was growing up fast beacause older or middle range devices could not handle upgrades

MM has bluetooth standby wifi standby fingweprint standby
Even if you switch off code is there and system kepp reading
All rhis various hardwares consumption without this new feature without simmilar tricks will conssume your bateery in half time
Even to lollipop if you switch off wifi stand by will gain 2%more at standby
 

Semper80

Senior Member
Feb 11, 2014
214
44
0
41
I think DOZE isn't included in 6.0, or isn't optimized. In CM12.1 I lost 1-2% overnight, in CM13 I lose 4-5% overnight. DOZE is a Google / Android trade mark lie.
 

budbay

Senior Member
Jul 6, 2014
163
48
58
I'm running omni and pretty sure it is working. after leaving it off charger the other night, I lost 1 percent and it checked out in bbs .2%/hour drain. the best I had on lollipop was .5% and that was without Google installed. but I normally charge overnight so I don't have much more data, also been working overnights lately and use always on VPN, so need to keep watch on stats some more but that is my experience so far.
 

Renosh

Senior Member
Aug 2, 2014
1,525
860
0
I've tried multiple MM ROM - from AOSParadox -> BrokenOS -> Omni ROM -> SlimSaber (Omni-based) -> CM13 CAF/ CM13 Nightlies and with or without configuring doze using NapTime or Doze Settings Editor, I can easily get past 2 days of standby with 6.5hrs of SOT which in comparison to Lollipop is much better overall.
But no matter I set doze to kick in 5mins, 10mins, 15mins or 30mins, I don't see much doze really doing wonders during deep sleep. And to make my test consistent, I had left the phone in airplane mode over 2hrs and my standby loss throughout that 2hrs was 2% which compared to Lollipop is quite bad as placing the phone in airplane mode can result in 0.3-0.5% battery loss in 2hrs.
Something must be different in your set up cause overnight on Omni MM I get 1/2% battery drain overnight. As far as my usage dictates battery life at least in standby is much better than KK and LP. I don't use Naptime/doze editor or any random apps for triggering doze instantly. It's easy to make sweeping statements like you did in the OP and in subsequent posts but your experience isn't representative of everyone else's but its a discussion thread so I guess it ok.

Sent from my A0001 using Tapatalk
 

devlamania

Senior Member
Nov 18, 2012
682
319
0
33
Bengaluru
www.facebook.com
That is weird, it is troublesome to check battery life consistently cause I'm flashing very frequently, but what I have observed, I was on Sultanxda's CM13 build, probably last week, checked battery level, it was 46%, aggressive doze was on through Greenify, and I usually do a lot of tweaks here and there to increase battery life, woke up 6 hours later, and guess what, 46% !!! Probably it was at the beginning of 46th % before I went to sleep and by morning it was edge of 46th % but that's less than 1% in 6 hours. WiFi was on, and selected 3-4 syncs were also on.
 

Renosh

Senior Member
Aug 2, 2014
1,525
860
0
That is weird, it is troublesome to check battery life consistently cause I'm flashing very frequently, but what I have observed, I was on Sultanxda's CM13 build, probably last week, checked battery level, it was 46%, aggressive doze was on through Greenify, and I usually do a lot of tweaks here and there to increase battery life, woke up 6 hours later, and guess what, 46% !!! Probably it was at the beginning of 46th % before I went to sleep and by morning it was edge of 46th % but that's less than 1% in 6 hours. WiFi was on, and selected 3-4 syncs were also on.
You're right probably just means you lost less than 1% during that period which isn't strange in my experience. The norm on MM is 1% or less IOW flat battery graph in stats

Sent from my A0001 using Tapatalk
 

devlamania

Senior Member
Nov 18, 2012
682
319
0
33
Bengaluru
www.facebook.com
You're right probably just means you lost less than 1% during that period which isn't strange in my experience. The norm on MM is 1% or less IOW flat battery graph in stats

Sent from my A0001 using Tapatalk

Yep, flat battery graph in stats indeed. But it still takes a substantial hit due to mobile radio active bug, what I notice, it is more severe in some ROMs and less in others. So, yes, I believe doze is working, is it so great as per the hype ? Yes, cause Google only spoke about idle battery drain, and the idle battery drain is really less.
Probably tonight I'll check how good it does with 3G on and WiFi off, how much it works with mobile radio active bug.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    This thread is actually meant for discussion about how doze works, whether it works (debateable), setup and everything.

    My suspicions is that doze does not work for custom ROM or any Android OS that is not certified by Google. My reasoning behind this is quite simple.

    What I did:
    1. On various 5.x ROM, if I were to leave my phone overnight and even with wakelocks, I have never lost more than 3% of battery.
    2. On kitkat, the situation is similar and I have never also lost more than 3% overnight.
    3. On multiple MarshMallow ROM, leaving the phone overnight drains more than 4%.

    To make things clear, on Kitkat and Lollipop, my phone was left idling for more than 8hrs. But on MarshMallow, I have only left the phone for 6hrs and I lost more than what is on Kitkat and Lollipop giving me the idea that doze does not work. I have checked the battery graph in settings and it shows that there's barely any wakeups for the device but battery was dropping quite noticeably.

    I have attached a image of my stats today in school. If you take a look closely, there's a certain period of time where under the "Awake" section, there's no wakeups, my battery was still dropping and doze was not even kicking in at all. And I can assure you, that was over a period of 2hrs as I did not touch my phone during class time.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone