WiFi not shutting off - Nexus 6P Q&A, Help & Troubleshooting

I have shut WiFi off the the settings pane and it still shows on in the battery monitor. I don't think it is using a lot of battery (hasn't shown up) but some of the stuff in the system shows WiFi usage when it is clearly shut off.
Anyone have any ideas?

Wifi scans for networks (location assist) in the background by default. Go to Settings > Location > overflow (three dots at top right) > Scanning and change the setting for Wifi/bluetooth.

Does this actually mess up location stuff though?

Mine is the same, turned of wifi scanning also.

This is an old bug from the very first lollipop release and its still in marshmallow, can't believe Google haven't fixed this basic thing. It sometimes works correctly if you turn off WiFi before you lose connection by going out of range. Or turn off WiFi and reboot, that definitely does fix it.

No kidding, a reboot after wifi was switched off worked. thanks man.

theomajigga said:
Does this actually mess up location stuff though?
Click to expand...
Click to collapse
Shouldn't "mess up" location services. The wifi scanning is supposed to just help find your location more quickly and/or provide more accurate location data without GPS on.

Related

Maps keeping my phone awake

Hi, maps seems to be keeping my phone awake when I lock it. I've searched this forum and I've disabled almost all the settings regarding GPS, location etc, as it seems this is what people are recommending. The only ones that I have kept enabled are 'Access my location', 'GPS Satellites' and 'Wifi & mobile network location'.
Better battery starts shows that 'NetworkLocationPassiveCollector' is giving partial wakelock.
Is there any way to stop this without turning GPS off?
Thank you
Anyone help? I've completely disabled location access, gps etc for now to see if it helps.
Mine was doing this a lot recently. I force closed the app, killed cache/data, then relaunched it and went into settings and toggled all of the stupid "track my location in the background" settings (on again, then back off). Haven't had a problem with it since.
It was sneaky about it, too. I would wake up my screen and see the GPS icon in the status bar and it would disappear right away. 20 minutes later I would wake up my phone and it would do the same thing.
Happens to me a lot also. I noticed facebook app will ping my gps occasionally unless I actually close the app out. I just turn location off unless I need it.

[Q] Location/Network problems/delays (stock 4.3)

Hi,
I have some problems with finding my location, and I think it started since the 4.3 update, but I'm not sure.
I see it mostly with Tasker. I have some profiles for different locations (like home and college..) triggered by "net" without GPS, that is ment to turn Wifi on and off.
I noticed today when I left college, I opened the screen on the way home and I saw for a brief moment that the WiFi is still ON and my "college" profile was still activated, and immediately after that, the profile went off and also the WiFi. The Net location only triggered when I opened the screen, and it seems it thought my location was still in college until I did so.
When I got home, I opened the screen to see if it activated my "home" profile and turned on the WiFi, and nope, nada, even when opened the screen it still didn't know my location, only after I turned on the WiFi manually it knew where I am and activated the "home" profile (which in that case was already pointless)..
My guess is that on the way back from college it found my location when I opened the screen cause the WiFi was still on, and when I came back home the WiFi was off so it didn't find my location without it.
But if that's the case, then there is simply no point in those "wifi on / off" profiles if it can only find my location with WiFi.
I posted a similar thread on Tasker support group, but honestly I think it's a problem with the google's new location services.
What's that point? now we can get a good location fix only with WiFi or GPS?
and also why I must turn on the screen to "refresh" the location? isn't "net location" works on the 3g network? which is always on, so what's the problem.
By the way these network delays doesn't only happen with location, it happens alot with messaging apps, that sometimes I get the messages only when I turn on the screen. Is there a fix for that?
Sorry for throwing out so many questions without order
Thanks in advanced
same issue
Yah, I'm experiancing the same issues.

[FIX] Stock Lollipop 5.0.2 Wi-Fi Battery Drain Issue

If you are on Stock Motorola Lollipop 5.0.2, check your Battery History in System Settings - you may notice Wi-Fi is constantly active, even when you turn it off.
In my case, the following setting in Viber was the cause: Settings > General > Wi-Fi sleep policy > Change to 'Use device's settings'
Instructions:
Firstly, go to: Settings > Wi-Fi > Advanced Wi-Fi > Keep Wi-Fi on during sleep > Change to 'Never.'
The issue appears to be that certain apps are keeping Wi-Fi active in Lollipop. Not every app may offer this setting related to 'sleep policy', a workaround is to use the App Settings Xposed Module - which allows you to disable such a permission for individual apps.
The permission can be known as: Change_Network_State.
After making these changes you may need to turn off Wi-Fi and restart phone.​
Related: https://code.google.com/p/android/issues/detail?id=79368
Thanks . it solve my real problem.
i have question. If we have change Keep Wi-Fi on during sleep to 'Never.' Will programs like Whatsapp or Viber get the gcm notifications when phone is going to sleep?
Dizzyrul3z said:
i have question. If we have change Keep Wi-Fi on during sleep to 'Never.' Will programs like Whatsapp or Viber get the gcm notifications when phone is going to sleep?
Click to expand...
Click to collapse
This is true, when phone sleeps - there is no Wi-Fi data connection.
Rather than leaving Wi-Fi on however, some people might prefer the phone wakes up every 15 minutes / 30 minutes / 1 hour, and enables Wi-Fi for 1 minute - allowing any messages to arrive. Many apps can do this, one example is DS Battery Saver.
There is also an argument that if you use Wi-Fi a lot, it's better to leave Wi-Fi on during sleep, because excessively enabling and disabling it is costly in terms of battery-life.
I've been using stock Lollipop on XT1008(Moto G Forte, I read it was just a "commercial" variant of the XT1032).
As far as I can tell, my phone doesn't report high Wi-Fi usage, but I disabled an option that I think it´s more responsible than the one mentioned here, that's "Search Always Available", this one was turning on my wifi when I even shut it down, wasting more battery than keeping it on.
Currently, my phone has been on like 13 hours and has 13% left, with a WiFi usage around 85% of the time.
Thanks for making us aware of that option in Viber.
But even after disabling that option in Viber, in the battery graphic seems like wi-fi is always active. Is it because I will also need to set "Keep Wi-Fi on during sleep" to "never"? But if it's set to never, doesn't it mean that when phone screen is off, it automatically switches off wi-fi even if you kept it on from the toggle?
lollerblade said:
Thanks for making us aware of that option in Viber.
But even after disabling that option in Viber, in the battery graphic seems like wi-fi is always active. Is it because I will also need to set "Keep Wi-Fi on during sleep" to "never"? But if it's set to never, doesn't it mean that when phone screen is off, it automatically switches off wi-fi even if you kept it on from the toggle?
Click to expand...
Click to collapse
Yes, 'never' means Wi-Fi is off when phone is sleeping. There is also the advance Wi-Fi option 'Scanning always available - which' you might want to disable.
Double check you have changed the setting in Viber, and you may need to reboot phone. It's also possible another app is causing Wi-Fi to always be active, for some it's Whatsapp.
lost101 said:
Yes, 'never' means Wi-Fi is off when phone is sleeping. There is also the advance Wi-Fi option 'Scanning always available - which' you might want to disable.
Double check you have changed the setting in Viber, and you may need to reboot phone. It's also possible another app is causing Wi-Fi to always be active, for some it's Whatsapp.
Click to expand...
Click to collapse
Ok so that option works as I thought, so for correctly receiving notifications with screen off it should be set on "always". I double checked on Viber's option and it's set correctly, then rebooted, plus scanning always available is off, geolocation (which can keep wi-fi on) is off and apparently there are no things that can keep wi-fi on.
Whatsapp does not allow to set wi-fi behavior, and the strange thing is that I have the same apps I had on Kitkat, where I didn't have such problem of viewing in battery graphic.
I am having the doubt if this may be only a Lollipop graphic issue or if wi-fi actually stays on...
lollerblade said:
Whatsapp does not allow to set wi-fi behavior, and the strange thing is that I have the same apps I had on Kitkat, where I didn't have such problem of viewing in battery graphic.
Click to expand...
Click to collapse
That's why I mention the 'App Settings' module in OP. I believe Whatsapp can and does cause this issue - there is just no setting within the app itself. You can check what permissions apps have by using 'App Settings.'
lost101 said:
That's why I mention the 'App Settings' module in OP. I believe Whatsapp can and does cause this issue. You can check what permissions apps have by using 'App Settings.'
Click to expand...
Click to collapse
Mmm yes I saw that...but I'm guessing that without root there's nothing else to do, right?
lollerblade said:
Mmm yes I saw that...but I'm guessing that without root there's nothing else to do, right?
Click to expand...
Click to collapse
No. Root would be necessary for changing permissions. However this issue may have been resolved in Android 5.1 - removing the need for this fix.
Wifi should be lefy alone as default to "never sleep"
Wifi should never sleep, even if the phone's cpu sleeps. Wifi will receive messages from whatsapp or whatever and wake up the cpu.
But if you put wifi chip to sleep, the phone will connect using 2g or worse, 3g or HSPA, and drain even more battery.
Wifi comes by default to "never sleep" for this reason, it is more battery efficient than 2g/3g.
And if you dont have wifi at home, all you have to do is slide down the menu and turn of Wifi. No need to change internal configuration on behaviour who only make things worse.
On the other hand, Viber is known for years to be a battery abuser.
I have been using android for years, and wifi policy was always the same, and my phones have idle times of several days
i even published some screen shots of my moto defy and moto G with a full week Idle without charging.with whatsapp and Wifi polocy never sleep.. With viber i wouldnt even try to make it last 2 days.

[Q] Why is my WiFi always on?

Why is my WiFi always on? Relevant screenshot: https://i.imgur.com/8ZI49P6.png
WiFi is manually toggled off.
WiFi scanning in Settings > Location > Advanced is turned off
I get that there are wake issues in my screenshot, but that's more likely to deal with Facebook than anything. Still doesn't explain why WiFi is always on.
Edit 31-JAN-2016: So I tried the following in my testing
Charge phone to 100%
Turn Off WiFi
Check battery screen, phone seems to show WiFi on still
Reboot
Notice that WiFi is off on the battery screen.
However maybe a minute later, it seems to "turn back on" (SEE SCREENSHOT)
Have you checked your Location scanning settings as well?
Is Wi-Fi scanning turned off there too?
dmo580 said:
Why is my WiFi always on? Relevant screenshot: https://i.imgur.com/8ZI49P6.png
WiFi is manually toggled off.
WiFi scanning in Settings > Location > Advanced is turned off
I get that there are wake issues in my screenshot, but that's more likely to deal with Facebook than anything. Still doesn't explain why WiFi is always on.
Click to expand...
Click to collapse
I have the same problem too.
If you go into the dialer and try searching on a company does it prompt to turn on wifi scanning?
Try rebooting
Same problem here.... Reboot doesn't help.
Same problem
My Nexus 6p wifi always remains on. Battery is draining. Please help.
kEvinErd said:
I have the same problem too.
Click to expand...
Click to collapse
Bassdj427 said:
Same problem here.... Reboot doesn't help.
Click to expand...
Click to collapse
chenmoy said:
My Nexus 6p wifi always remains on. Battery is draining. Please help.
Click to expand...
Click to collapse
Do you guys by any chance have any of these apps installed? I'm suspecting it has something to do with these.
My testing so far is as follows:
Turn off Wifi
See that WiFi is still on in Battery Screen
Greenify the list of apps above
See that WiFI is still on in battery screen
Reboot
WiFi no longer shows as on
I'm going to do further testing to see. This is inconclusive so far.

WiFi turning on by itself

Hi,
My H990DS has been bothering me for a couple of days as WiFi turns itself on without any kind of intervention.
Turning it off manually or having the phone restart does not help. I made sure the latest apps installed make no impact.
Playing with Developer Options made no difference.
I am ready to Factory Data reset.
Anyone experienced something similar ?
Thanks,
My 918 always shows wifi active in GSAM's graph, even when set to "Never" under the "Wifi on while inactive" option in system settings. I ended up just downloading Leandroid from the play store and setting it to disable the wifi radio, and renable it periodically to check for push messages. Seems to work fine with doze and standby time has improved.
Under settings, location, three dots top right, scanning, turn wifi scanning off. It turns back on anytime you use wifi and you manually have to turn it back off each time.
Mine (918) does this all the time. Im thinking its a 7.0 thing. There has been a few exceptions where it has stayed off. In my case I drive through a busy section in town and it constantly connects to the 20 or so open wifi spots so I turn it off. Well once I pull into the garage at home its magically back on.
Maybe something to do with networks it recognizes, Xfinity wifi wreaks havoc on it as well.
As soon as I uninstalled the latest apps, the issue disappeared. Not a single exception in 24 hours.
I suspect a Sip Client had caused the problem.
Gytole said:
Under settings, location, three dots top right, scanning, turn wifi scanning off. It turns back on anytime you use wifi and you manually have to turn it back off each time.
Click to expand...
Click to collapse
What!?
That sounds utterly horific for the battery, nevermind privacy concerns. I thankfully haven't experienced anything similar myself, but I've only ever used custom ROMs so perhaps that's the cause. But that sounds terrible.

Categories

Resources