Doze not working on stock Android N DP 5 - Nexus 6P Q&A, Help & Troubleshooting

Doze isn't working overnight on my stock Android N Developer Preview 5. Anyone in a similar predicament?
Wifi and mobile data were on and location was set to High Accuracy. Wifi scanning and Bluetooth scanning were off.
Google Now was off too.

kEvinErd said:
Doze isn't working overnight on my stock Android N Developer Preview 5. Anyone in a similar predicament?
Wifi and mobile data were on and location was set to High Accuracy. Wifi scanning and Bluetooth scanning were off.
Google Now was off too.
Click to expand...
Click to collapse
Turn wifi off
Sent from my angler using XDA Labs

Related

Wifi Sleep Policy Problems

Has anyone noticed the wifi sleep policy has no effect on the Nexus 4.
I've set mine to keep wifi on during sleep only when plugged in. However wifi remains on all the time. My wife also has a Nexus 4 and exactly the same thing happens. However my Nexus 7 and Galaxy S3 both disable wifi when sleeping.
I've had this problem on lots of different phones,. in the end i used Juice Defender which sorted it out. My Nexus 4 at the moment is behaving itself. On my Motorola Xoom (AOSP) i did a factory reset which fixed it.
Moved to Q&A
Sent from my Nocturnalized One XL using Forum Runner
Doesn't work on any android phone I've had. Sad truth
Sent from my Nexus 4 using Tapatalk 2
I'm pretty sure it worked on the Galaxy Nexus.
Let's put whether its working or not to the side for a bit.
Why would you want to turn off WiFi during sleep in the first place?
I understand why on a WiFi only tablet. Phone, not so much
Only way it works is when you disable the Location settings - all of them + turn off Google Now.
My Nexus consumes too much battery over night with all its WiFi goings on.
WiFi uses less battery then cellular. If you turn off WiFi it it uses the cellular data connection which uses more battery.
If you turn off WiFi and leave your cellular data on it is counter productive to saving battery.
albundy2010 said:
WiFi uses less battery then cellular. If you turn off WiFi it it uses the cellular data connection which uses more battery.
If you turn off WiFi and leave your cellular data on it is counter productive to saving battery.
Click to expand...
Click to collapse
Can you turn off your cellular data and keep wifi on?
donec said:
Can you turn off your cellular data and keep wifi on?
Click to expand...
Click to collapse
Whenever your device has a wifi connection it uses the cellular connection only for phone calls, nothing else. that's what albundy meant.
donec said:
Can you turn off your cellular data and keep wifi on?
Click to expand...
Click to collapse
You can turn on airplane mode, then turn on wifi. That will disable your ability to make calls over the cell network though (I used to do that when I was at home and use Groove IP). Not sure if that is what you are looking for.

WiFi

Ok was wondering if it's me or not. WiFi seems to stop working when tablet is sleeping I have to disable it than select my WiFi again why?
Set From My Rooted SG3
mobgod said:
Ok was wondering if it's me or not. WiFi seems to stop working when tablet is sleeping I have to disable it than select my WiFi again why?
Set From My Rooted SG3
Click to expand...
Click to collapse
In WiFi advanced settings there is an option to keep wifi on while sleeping.
Sent from my Nexus 7 using xda premium
Mine has the same issue, even with it set to stay on during sleep.
I unchecked the wifi optimization to conserve power setting and that solved it. Somewhere on the google boards, there is a bug report on it.
I have the setting 'Keep wi-fi on during sleep' set to Always and have the Wi-fi optimization checked and my wi-fi has been flawless.
Going to try that now thanks
Set From My Rooted SG3
I have been having the same issue, i will have to try out those settings
Driving me crazy Wtf
Set From My Rooted SG3
Hey guys, I have a slightly related issue.
My device just won't turn its Wi-Fi off when it goes to sleep! I've tried both the advanced settings of, while plugged in and never, and both are not working add evidenced by the battery graphs.
Any fix or solutions?
- As of now I've taken my device out of its flip case/stand, assuming that the magnet in it has something to do with the Wi-Fi remaining on.
Sent from my Nexus 7 using xda app-developers app
ok back at this again sorry but seems like my wifi again goes off by itself i have to turn it off than back on to get it working anything i can to fix this problem ??
Sent from my Nexus 7 using Tapatalk HD
My WiFi works just fine on public or basic password connections. It likes to dissconnect from my schools encrypted network though. I blame cm
Sent from my Nexus 7 using xda app-developers app
Censura_Umbra said:
My WiFi works just fine on public or basic password connections. It likes to dissconnect from my schools encrypted network though. I blame cm
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I'm all stock rooted but seems to do it often could this be fixed anyway?
Set From My Rooted SG3
anyone on this ??
Sent From My Rooted Nexus 7

Auto switch off/on data-3g/wifi

I'm looking for app, which can turn off data, when connection to know wifi spot is made and from the other side, when there is no known wifi spots, turn data /3g back on.
I know, that if both wifi and data is on, phone use wifi, if there is known spot, but don't phisicaly turn off data connection automaticly.
I tried SmartConnectivity, Smart Wifi toggler, but it's not working, as I want.
Try "Tasker"
Sent from my Nexus 4 using Tapatalk 2
scream4cheese said:
Try "Tasker"
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Jap, tried. But I don't know, how to make task for that kind of function...:/
https://play.google.com/store/apps/details?id=org.cprados.wificellmanager
good app. doesn't use location services but instead remembers cell towers (like y5 which doesnt work anymore with 4.2+) so good on battery.
akulp said:
I'm looking for app, which can turn off data, when connection to know wifi spot is made and from the other side, when there is no known wifi spots, turn data /3g back on.
I know, that if both wifi and data is on, phone use wifi, if there is known spot, but don't phisicaly turn off data connection automaticly.
I tried SmartConnectivity, Smart Wifi toggler, but it's not working, as I want.
Click to expand...
Click to collapse
Qualcomm's battery guru does this there's a learning period but after that it should perform in the manner you're describing
Sent from my Nexus 4 using xda premium
maybe in a few years that app will get somewhere. as it is, google location based wifi switchers aren't a good idea, unless you're using location services 24/7 anyway (latitude, gnow, etc).
I use wi-fi matic + macrodroid. When I come home, wi-fi matic detects the cell tower I'm connected to and switched on wifi. Once connected, macrodroid switches airplane mode on, and sipdroid connects to my sip provider. Once I leave and lose the wifi connection, macrodroid disables airplane mode. Then wi-fi matic sees that I left my area and switches off wifi. Totally automated
agreed... I don't use it myself(I'm a self-switcher) but I did install when it first came out and found it behaves like the op desires
Sent from my Nexus 4 using xda premium
Mobile data is automatically switched off when WiFi is connected.
No need to disable it manually.
Sent from my Nexus 7 using xda premium
El Daddy said:
Mobile data is automatically switched off when WiFi is connected.
No need to disable it manually.
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
That's not true. If U look in Settings-Data usage Mobile data is still ON. Of coures it's not used, because wifi have prioritiy, but data is ON anyway.
For 2 days I was switch off it data/wifi manually and battery life is better.
ziddey said:
maybe in a few years that app will get somewhere. as it is, google location based wifi switchers aren't a good idea, unless you're using location services 24/7 anyway (latitude, gnow, etc).
I use wi-fi matic + macrodroid. When I come home, wi-fi matic detects the cell tower I'm connected to and switched on wifi. Once connected, macrodroid switches airplane mode on, and sipdroid connects to my sip provider. Once I leave and lose the wifi connection, macrodroid disables airplane mode. Then wi-fi matic sees that I left my area and switches off wifi. Totally automated
Click to expand...
Click to collapse
Great. I think Wi-Fi matic + Auto WiFi/3G switch app should do what I'm looking for.
Thank you!
akulp said:
That's not true. If U look in Settings-Data usage Mobile data is still ON. Of coures it's not used, because wifi have prioritiy, but data is ON anyway.
For 2 days I was switch off it data/wifi manually and battery life is better.
Click to expand...
Click to collapse
No its not on.
Sent from my Nexus 4 using xda premium
akulp said:
I'm looking for app, which can turn off data, when connection to know wifi spot is made and from the other side, when there is no known wifi spots, turn data /3g back on.
I know, that if both wifi and data is on, phone use wifi, if there is known spot, but don't phisicaly turn off data connection automaticly.
I tried SmartConnectivity, Smart Wifi toggler, but it's not working, as I want.
Click to expand...
Click to collapse
Okay here is .prf i just created put it in your tasker folder(auto-import).
It works perfect.
Open tasker and import it.
On any WiFi you connect(you can change that by pressing green arrow and add your know WiFis if you would like) it disables Mobile Data(You cant receive MMS if Mobile data is off) on WiFi you connect and when you lose your connection whit WiFi it disables WiFi and kicks in Mobile Data On so you dont need to worry to disable WiFi it does automatically.
ENJOY!
If it works thank me.
http://goo.gl/AS76Q
El Daddy said:
No its not on.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Yes, but service is ON, look in Settings-Data Usage: Mobile data=ON And that service is using battery...I'm not the first one, who found that "problem".
But it's not used, that's true.
Anyway, I found a solution with Wi-FI matic and Wifi/3g switch, not it's working like I want.
So thanks for help.
akulp said:
Great. I think Wi-Fi matic + Auto WiFi/3G switch app should do what I'm looking for.
Thank you!
Click to expand...
Click to collapse
Llama (just search the Play store for it, I can't post the link...) seems to be a good single app location aware solution. The first play store review pretty much says it all "More flexible than Atooma, but not brain-melting like Tasker. Just makes using your phone easier, and more helpful."
I've been struggling with Tasker for several days trying to get it to do the same thing (toggle wifi and mobile data settings automatically based on my location). I had Llama set up and working beautifully in maybe an hour and a half, which included the time to read the devs instructions and FAQ (click "View Developer's Website from the Play store).
It uses cell towers to determine your location, so there is no battery hit, or you can optionally enable wifi polling or GPS for more accurate locating. It can also perform actions based on when your wifi changes state (connects or disconnects) regardless of your location. And since it's "Tasker-like" it can perform a lot more than just handling your data connections: adjust volumes or screen brightness, launch/kill apps, even shut off or reboot the phone (only if rooted). For example, mine is set up to remove my lockscreen password when I am home and re-enable it when I leave the area of my home wifi and it was fast and simple to get configured.
Karlo666 said:
Okay here is .prf i just created put it in your tasker folder(auto-import).
It works perfect.
Open tasker and import it.
On any WiFi you connect(you can change that by pressing green arrow and add your know WiFis if you would like) it disables Mobile Data(You cant receive MMS if Mobile data is off) on WiFi you connect and when you lose your connection whit WiFi it disables WiFi and kicks in Mobile Data On so you dont need to worry to disable WiFi it does automatically.
ENJOY!
If it works thank me.
http://goo.gl/AS76Q
Click to expand...
Click to collapse
Wow, great!
I'll try and report...
But I think there is one thing missing what Wi-FI matic do. Wi-FI matic activate WIFI based on cell towers.
With this Tasker script you have to turn on WiFi by yourself, is that correct?
Than script turns off data and turn it back ON, when you lose connection. But than again, when wifi is presented, you have to turn it on by yourself...
I think, this script is doing something similar as this app
https://play.google.com/store/apps/details?id=notus.com.tr.autowifi3gswitch&hl=sl
akulp said:
Wow, great!
I'll try and report...
But I think there is one thing missing what Wi-FI matic do. Wi-FI matic activate WIFI based on cell towers.
With this Tasker script you have to turn on WiFi by yourself, is that correct?
Than script turns off data and turn it back ON, when you lose connection. But than again, when wifi is presented, you have to turn it on by yourself...
I think, this script is doing something similar as this app
https://play.google.com/store/apps/details?id=notus.com.tr.autowifi3gswitch&hl=sl
Click to expand...
Click to collapse
If you want you can add to turn wifi on based on cell towers in tasker and even much more.If you need more help feel free to contact me.
Karlo666 said:
If you want you can add to turn wifi on based on cell towers in tasker and even much more.If you need more help feel free to contact me.
Click to expand...
Click to collapse
Yap I know, tasker is powerfull, but my knlowedge about that is weak...
So If you are so kind, could you please add in previous task (thath one sent to me in your first post) or make a new task for turning on wifi based on cell towers...

Wifi not downloading while phone sleeps

Hi,
My nexus 4 is rooted with Carbon ROM 4.3 and Franco kernel. When the phone sleeps it pauses the downloads when I am connected to wifi. In the wifi advanced settings I have the "keep wifi on during sleep" setting set to always. I'm not sure why this is happening. Anyone have any ideas to troubleshoot?
Thanks
Krunk83 said:
Hi,
My nexus 4 is rooted with Carbon ROM 4.3 and Franco kernel. When the phone sleeps it pauses the downloads when I am connected to wifi. In the wifi advanced settings I have the "keep wifi on during sleep" setting set to always. I'm not sure why this is happening. Anyone have any ideas to troubleshoot?
Thanks
Click to expand...
Click to collapse
This is the default behavior of Android. I know some kernels have tweaks to prevent Wi-Fi from sleeping,I don't know for this device though.
via xda app
eksasol said:
This is the default behavior of Android, you can try to change the Wi-Fi sleep setting to "never", but it likely won't help. I know some kernels have tweaks to prevent Wi-Fi from sleeping,I don't know for this device though.
via xda app
Click to expand...
Click to collapse
My friend's n4s download while sleeping on Wifi. Same setup.
nexus⁴
Looks like I need to turn off Wifi optimization in settings.
Nexus7
Have you tried unticking WiFi optimisation?
You may have to reconnect after changing the setting.
I may try that.
Nexus7
Also uncheck "Avoid poor connections", because it will disconnect from the wifi if the signal goes lower than a certain range.
meangreenie said:
Have you tried unticking WiFi optimisation?
You may have to reconnect after changing the setting.
Click to expand...
Click to collapse
This worked. Downloads while sleeping. Thanks
nexus⁴

[FIX] Background WiFi scan causing Bluetooth connection problems

Ever since 4.3 rolled out the background scanning on WiFi to help with location updates, I've been having problems maintaining a connection with the Bluetooth in my car. Normally Wi-Fi is turned off while driving but the new scanning feature happens regardless of the Wi-Fi state.
After much experimentation, I've found that turning off that feature seems to allow the connection to be stable.
This occurs only on certain BT devices... Another media receiver I have is always rock solid regardless of the Wi-Fi scan setting.
Has anyone else experienced this issue?
I'm wondering if there's a bug that can be fixed on the android side. The Bluetooth devices that is having problems with 4.3 is circa 2007.
Sent from my Nexus 4 using Tapatalk 4
I'm having the same issues. I'm going to try this later and see if it works.
Sent from my Nexus 4 using XDA Premium 4 mobile app
Update: it didn't work for me.

Categories

Resources