How does phone go into deep sleep with AOD on?

koragg97

Senior Member
Aug 16, 2013
1,663
430
113
23
Sofia
www.classicracing.cba.pl
Hello everyone, I'm an S5 user but am wondering how can the Note 8 (and any phone with AOD by default in that matter) enter deep sleep mode (Doze as well) while the Always-On Display is nonstop active? I mean, the custom ROMs for my device have fully working AOD but the phone stays at the minimum frequency (300MHZ) and never goes to sleep while AOD is on. I'm just curious how it's done and if it would be possible to port for the S5. I'm no developer btw, just a curious guy :D Please quote this post if you decide to reply as I don't visit these forums as I got no Note 8 ;) Thanks.
 

Limeybastard

Senior Member
Oct 3, 2013
6,704
1,150
253
Florida unfortunately.
Hello everyone, I'm an S5 user but am wondering how can the Note 8 (and any phone with AOD by default in that matter) enter deep sleep mode (Doze as well) while the Always-On Display is nonstop active? I mean, the custom ROMs for my device have fully working AOD but the phone stays at the minimum frequency (300MHZ) and never goes to sleep while AOD is on. I'm just curious how it's done and if it would be possible to port for the S5. I'm no developer btw, just a curious guy :D Please quote this post if you decide to reply as I don't visit these forums as I got no Note 8 ;) Thanks.
That's a very good question.

Sent from my SM-N950U using Tapatalk
 

Jammol

Senior Member
Apr 26, 2012
4,560
2,394
253
Somewhere in Colorado
Hello everyone, I'm an S5 user but am wondering how can the Note 8 (and any phone with AOD by default in that matter) enter deep sleep mode (Doze as well) while the Always-On Display is nonstop active? I mean, the custom ROMs for my device have fully working AOD but the phone stays at the minimum frequency (300MHZ) and never goes to sleep while AOD is on. I'm just curious how it's done and if it would be possible to port for the S5. I'm no developer btw, just a curious guy :D Please quote this post if you decide to reply as I don't visit these forums as I got no Note 8 ;) Thanks.
I don't think it's the phone that goes to sleep, I think it puts the apps to sleep. I came up with this thought after I noticed that my cooperate exchange email only updates successfully when the screen is on. There is a scan window for network traffic enabled by android's Doze feature though. So at that window, all network data transmissions are done.

It could be like I said all apps sleep that aren't actively needed. In my case, AOD and GMusic stay running for me.
 
  • Like
Reactions: koragg97

koragg97

Senior Member
Aug 16, 2013
1,663
430
113
23
Sofia
www.classicracing.cba.pl
I don't think it's the phone that goes to sleep, I think it puts the apps to sleep. I came up with this thought after I noticed that my cooperate exchange email only updates successfully when the screen is on. There is a scan window for network traffic enabled by android's Doze feature though. So at that window, all network data transmissions are done.

It could be like I said all apps sleep that aren't actively needed. In my case, AOD and GMusic stay running for me.
Hm, in my case (ported ROM) the device just never enters 'deep sleep' state as seen in CPU Spy, can you check if while AOD is active your Note 8 goes into deep sleep?
 

koragg97

Senior Member
Aug 16, 2013
1,663
430
113
23
Sofia
www.classicracing.cba.pl
There's mine. I'm on my phone all day for work but it sleeps while I drive between hospitals.
Total state time: 60 hours and still got like 70-80% battery left xd (I want new phone :c, nah, not really, I got IR and removable battery now :p)
Well seems like it does enter deep sleep. Guess I'll have to either turn my AOD off until ROM dev fixes this or until I get the Note 10 (maybe), thanks!
 

harlenm

Senior Member
Feb 8, 2007
2,241
214
0
Total state time: 60 hours and still got like 70-80% battery left xd (I want new phone :c, nah, not really, I got IR and removable battery now :p)
Well seems like it does enter deep sleep. Guess I'll have to either turn my AOD off until ROM dev fixes this or until I get the Note 10 (maybe), thanks!
CPU stats don't reset after each charge unless you choose that setting.

Sent from my SM-N950U using Tapatalk