Related
Hi everyone,
I am new here, and would like some help with my Nexus 5.
It is running stock rom and everything, Android 5.0.1 LRX22C
I am still setting up, so still using my old phone while I get all the mandatory apps on before i switch my SIM over.
I realised that battery seems to be draining rather quickly even it spends most of its time on just Wifi right beside the router. Cellular connection is not on. So one day I decided to turn it to airplane mode and see what happens.
As you can see from the attachment, WiFi was on all the time even though the phone was on airplane mode. I believe this is the cause of the battery drain. I did not turn WiFi on.
"Scanning always available" was turned off, and the top battery drainer is "Android system", but at only 1%.
(The screenshot was only taken after I reconnected Wifi and downloaded GSam, that explains the notifications.)
Does anyone know the cause of this? I'd prefer if I do not need to factory reset the phone as I am pretty much done setting up everything and I don't want to have to do it all again.
Any help would be really appreciated.
Thanks!
If you go to 'Advanced' there should be an option called 'Keep WIFI on during sleep', click there and then click 'Never' or 'Only when plugged in'. Good luck.
I too had the same problem when i updated to lollipop but after some days of usage i found that in wifi under advance there was a new option scanning always available which was turn on. What this setting do is even if ur wifi is off the app can scan for wifi signals for the location. So if u want to keep ur wifi off just turn off that setting.
I already had it turned off, but the battery settings still reports WiFi as on. Weird thing is GSam says my WiFi is off, so I'm not sure what is the problem now.
It might be the Android System, reporting it uses even more battery than my screen now.
Sent from my Nexus 5 using XDA Free mobile app
I m using htc one e8 Indian version after I get update lollipop 5.0.2, I m facing wifi always on problem.
Battery stats and history shows always on, but in reality I hardly use wifi. But It shows a strong green bar that wifi is on all the time.
Wifi background scanning is also off, but I still not able to fix this.
Please help me to get rid of this.
Before lollipop update I was not facing this kind of problem.
rishabhchawla said:
I m using htc one e8 Indian version after I get update lollipop 5.0.2, I m facing wifi always on problem.
Battery stats and history shows always on, but in reality I hardly use wifi. But It shows a strong green bar that wifi is on all the time.
Wifi background scanning is also off, but I still not able to fix this.
Please help me to get rid of this.
Before lollipop update I was not facing this kind of problem.
Click to expand...
Click to collapse
I read on Elevate and xda only today, people owning M8 and M9 have seen a similar issue too last day. But I just saw my phone, and it's not there. I had patches of white too, for times when I wasn't on a wifi network. Try checking using a battery monitor app like GSAM, whether wifi is always on or not.
Battery history shows wifi is alaways on
Gsam app show wifi is not stwiched on at all. But Battery history shows wifi is on all the time. Problems that i m facing after lollipop update phone tends to heat more and battery life has also been degraded. So, where exactly problem is?
rishabhchawla said:
Gsam app show wifi is not stwiched on at all. But Battery history shows wifi is on all the time. Problems that i m facing after lollipop update phone tends to heat more and battery life has also been degraded. So, where exactly problem is?
Click to expand...
Click to collapse
Well, after any software update, it's recommended to wipe your phone's cache. Or software reset the phone. Then give the OS a few days to settle. I wiped the cache, and my battery life has been at par with on Kitkat, and even better standby times. And no heating problems. The performance has only improved after Lollipop. Try doing one of these, or check on GSAM what's eating up the battery.
rishabhchawla
do you use any IM apps like Viber etc? please check its wi-fi policy settings, it seems that it set to always on, try to change it and then reboot device
Viber was the culprit
Thanks man!
Just by changing wifi settings in wifi solved the problem like magic.
I am facing the same problem. I do not have viber installed on my phone.
I've set everything to off just as stated by the OP:
Here's how it goes with my E8:
1. Fresh start of the phone, and I don't find the traces of Wi-Fi.
2. Once Wi-Fi is on either for using internet/ShareIt/others, it keeps showing as "On" in Battery history even if it is turned "Off".
3. Only solution is to restart the phone.
Please advise guys!
Thanks,
Vinay
[Solved] Wifi always on problem on Android lollipop 5.0.2 On htc one e8
vinay.habib said:
I am facing the same problem. I do not have viber installed on my phone.
I've set everything to off just as stated by the OP:
Here's how it goes with my E8:
1. Fresh start of the phone, and I don't find the traces of Wi-Fi.
2. Once Wi-Fi is on either for using internet/ShareIt/others, it keeps showing as "On" in Battery history even if it is turned "Off".
3. Only solution is to restart the phone.
Please advise guys!
Thanks,
Vinay
Click to expand...
Click to collapse
I've found a way around it.
Turned on Wi-Fi and let the phone connect to a hotspot and turned it off after a few seconds.
The Wi-Fi radio completely turned off.
Guess, after using ShareIt, the app didn't turn it off the Wi-Fi properly.
I'm not sure if this is a Nexus 5 problem or a 6.0 Marshmallow problem but the problem occurred after the update to 6.0 on both Nexus 5s for me and my wife.
There seems to be some bug with my phone while it is asleep (screen is off but phone is on). When it is in this mode, it will not stay connected to wifi. For example, when I enter an area that has wifi, my phone will not connect. It will only connect when I wake the phone. And this isn't just a matter of the phone taking a while to connect. It NEVER connects. Before the update, my phone used to make a connection with my home router before I even walked inside. Now, I can be inside for hours and the phone never connects, until I wake it up. As soon as I wake the phone, the phone makes the connection with no problem. After a few minutes of the phone being asleep, I will wake the phone and the wifi connection will be gone. Now that it is awake again, it connects again with no problem.
I have tried forgetting the network and creating a new one, I have tried different routers, I have tried wiping the cache partition. I haven't tried a full factory reset, and I'd prefer not to, but I guess I will if I have to.
Just thought I would check here first and see if anyone had other thoughts.
Settings - wifi - menu - advanced - Second choice down from the top - choose how to keep WiFi depending on your battery charge %. Regards. Alessandro
Alessandro
vn800art said:
Settings - wifi - menu - advanced - Second choice down from the top - choose how to keep WiFi depending on your battery charge %. Regards. Alessandro
Alessandro
Click to expand...
Click to collapse
Thanks for the reply. Yes, that is what I thought at first also. I meant to say in my original post that my wifi settings are set to "Always On" during sleep. I've tried toggling that between the settings but still have the trouble.
Sorry, my Nex 5 has not this issue on Android 6 build MRA58K.
Alessandro
Yup, have the same issue. When the phone goes to sleep, it seems to disconnects from the wifi and never connects after I wake the phone. When I go into the wifi settings, I see "WIFI Connection Failure". I have to reconnect manually. Like the OP, have it set to always on as well. I also know it's not a router issue because I've tried this on four different routers (two linksys, one Dlink, one TPLink) All same results.
Wonder if this is a phone issue?
Please go here and click on the star to vote for this issue.
https://code.google.com/p/android/issues/detail?id=190667
Google upped this to a high priority Friday morning (Nov 6). The bad news is I think there a couple different WiFi symptoms being discussed here. Most of what is being discussed is the issue being discussed here (not reconnecting when the screen is off).
No idea when this will be fixed, so I build a Tasker profile to toggle WiFi every 15 minutes when not already connected to force a reconnect. I’ve observed it getting disconnected on its own overnight. This should avoid unnecessarily using cellular data.
I’m perpetually waiting for the next release of Android to fix annoying bugs.
vn800art said:
Settings - wifi - menu - advanced - Second choice down from the top - choose how to keep WiFi depending on your battery charge %. Regards. Alessandro
Alessandro
Click to expand...
Click to collapse
GaryP2 said:
Please go here and click on the star to vote for this issue.
https://code.google.com/p/android/issues/detail?id=190667
Google upped this to a high priority Friday morning (Nov 6). The bad news is I think there a couple different WiFi symptoms being discussed here. Most of what is being discussed is the issue being discussed here (not reconnecting when the screen is off).
No idea when this will be fixed, so I build a Tasker profile to toggle WiFi every 15 minutes when not already connected to force a reconnect. I’ve observed it getting disconnected on its own overnight. This should avoid unnecessarily using cellular data.
I’m perpetually waiting for the next release of Android to fix annoying bugs.
Click to expand...
Click to collapse
Thanks for the update Gary. The comment #6 describes my situation exactly. In doing some troubleshooting of my own, I find the disconnection trouble to happen less while on a 5Ghz network vs 2.5. I still have the trouble of it not connecting initially when I come into range, but I find that it is able to hold the connection while asleep.
I am also experiencing this on my Nexus 5 and also found and starred the thread above.
I just listened to 20min of streaming with Spotify to then realize that it had gone into Doze and used the mobile data!
This is more than annoying...
Maybe by disabling Doze for some specific connectivity-related system app? Anyone tried that?
Yes, I moved virtually all of the services type of apps (the ones with the green generic Android icon) to the battery not optimized list. It didn't make any difference for me.
In some ways it seems like it might be a Doze problem, and in other ways it doesn't. Doze shouldn't be affecting anything when the phone is in my pocket and I walk in the house to my WiFi. It also shouldn't be affecting anything when the phone is being charged, which is when I see frequent WiFi disconnects.
It will be real disappointing if this isn't fixed with 6.0.1.
This is still an issue with 6.0.1. Nexus 5 (2013) 6.0.1 MMB29K updated through OTA ZIP pushed with ADB.
Things work properly for a while right after a reboot and then WiFi never connects until the screen is turned on.
Google Connectivity Services C.1.6.7 (2466695) update didn’t make a difference either.
Same problem as the thread starter. HTC A9 anroid 6.0. (newest available OS)
Same problem here with a Nexus 5 .
Please star the problem if you have it.
https://code.google.com/p/android/issues/detail?id=170078
Has anyone tested with a non-stock kernel ?
I'm asking because the problem seems +/- resolved on CM13 (non caf).
No counting CM13, do you know of a more stable rom with the problem resolved?
Does anyone here have Wemo devices? I am reading that wemos, and possibly other devices that emit their own wireless network, may cause problems. I have several of these devices around the house, and wonder if that might be contributing. However, that only would solve the dropped connection bug I have, not the failing to connect while asleep but I have.
Hi mates, my Nexus 5 (android 6.0.1,M8974A-2.0.50.2.29) gets the same troubles with wifi connection but today I tried to put some apps in non optimized list of Doze and seems workig fine.
Thats my non optimized Doze list:
-Google Play Services
-System UI
Try it and let me know if it works properly.
frontomix said:
Hi mates, my Nexus 5 (android 6.0.1,M8974A-2.0.50.2.29) gets the same troubles with wifi connection but today I tried to put some apps in non optimized list of Doze and seems workig fine.
Thats my non optimized Doze list:
-Google Play Services
-System UI
Try it and let me know if it works properly.
Click to expand...
Click to collapse
I had Google Play Services already set to not optimize, but hadn't tried System UI. I will try that out and see what happens.
whitenack said:
I had Google Play Services already set to not optimize, but hadn't tried System UI. I will try that out and see what happens.
Click to expand...
Click to collapse
Welp, that didn't work. Still have the error after not optimizing System UI in addition to Google Play Services.
I don't know if the issue is resolved, but at least for me, it never worked fine so many days after testing some new workaround.
So, this was what I did in my Nexus 5 (latest build, MOB30H).
Uninstall or deactivate Google Connectivity Services, reset your network settings (you will lose your Wifi networks and BT pairings), reboot.
My Nexus 5 has been connecting to the wifi networks even with the screen off for the last 6 days.
Miguun said:
I don't know if the issue is resolved, but at least for me, it never worked fine so many days after testing some new workaround.
So, this was what I did in my Nexus 5 (latest build, MOB30H).
Uninstall or deactivate Google Connectivity Services, reset your network settings (you will lose your Wifi networks and BT pairings), reboot.
My Nexus 5 has been connecting to the wifi networks even with the screen off for the last 6 days.
Click to expand...
Click to collapse
Miguun, has the error returned, or still fixed? I just got the May update, so fingers crossed that fixes it. Otherwise, I guess I'll try your fix. I don't look forward to entering the wifi network information again.
Yup, it is still working !!
Hello! I've been struggling with this problem for two months already. Basically, when I turn on WiFi tethering it works fine. I get high-speed transfers and well signal strength. However, hotspot becomes unresponsive shortly after screen turns off. Not a single ping can be received. I also noticed, that signal rate drops drastically shortly before it disconnects completely.
This issue stands to all devices I try to use with my OPO - laptops, smartphones etc.
I've already tried:
setting settings put global tether_dun_required 0 on ADB
changing hotspot WiFi frequency
changing hotspot SSID and password
changing battery mode
disabling battery optimization for "Android System" (sadly no Tethering app were found on the list)
I don't use any kind of battery savers. Nor of my Xposed modules should affect system in such a way. My Oneplus is running the latest CM ZNH2KAS3P0, however this problem had been present on previous ROMs already.
Any tips? Thanks in advance
Maybe....
Wifi -> Advanced Wifi Settings -> Keep Wi-Fi on during sleep ?
It's also set to Always, without effect
Encountered similar issue of WIFI from OPO mobile hotspot keep disconnecting. Troubleshot by putting the same SIM card in other phones where there was no such issue, so OPO is the issue here. Tried many suggestions but don't work, until I went to phone "Settings", then "Network & Internet", and lastly went for "Reset Wi-Fi, mobile & Bluetooth" to find this issue fixed finally!
Hi,
since yesterday I have problem with wifi in my S7 (SM-G930F). It keeps turning on and off every second or two. I cannot switch it off because it keeps switching. I have rebooted my device, but it didn't help me. My phone is not rooted, it has stock 6.0.1 firmware. How to fix it? Despite it's impossible to use wifi now, it keeps draining my battery.
edit:
logs attached here: logs
duchian said:
Hi,
since yesterday I have problem with wifi in my S7 (SM-G930F). It keeps turning on and off every second or two. I cannot switch it off because it keeps switching. I have rebooted my device, but it didn't help me. My phone is not rooted, it has stock 6.0.1 firmware. How to fix it? Despite it's impossible to use wifi now, it keeps draining my battery.
edit:
logs attached here: logs
Click to expand...
Click to collapse
Boot to recovery and clear caches, reboot and see how it is then
done. Sadly, it didn't help me.
edit: I've just used this app but it also failed. If nothing help me I will wait till Monday to show it to my coleagues from Customer Support. Maybe they will find solution
duchian said:
done. Sadly, it didn't help me.
edit: I've just used this app but it also failed. If nothing help me I will wait till Monday to show it to my coleagues from Customer Support. Maybe they will find solution
Click to expand...
Click to collapse
I'd backup with smart switch, and factory reset the phone
Or flash the latest stock ROM over the top with ODIN
*Detection* said:
I'd backup with smart switch, and factory reset the phone
Or flash the latest stock ROM over the top with ODIN
Click to expand...
Click to collapse
I think it may be related with some strange wifi:
11-11 11:20:11.682 3462 3896 I WifiConfigStore: " Social WiFi" is a captive portal!
11-11 11:20:11.682 3462 3896 I WifiConfigStore: not authenticated yet
11-11 11:20:11.682 3462 3896 I WifiConfigStore: login url: "https://accounts.google.com/ServiceLogin?passive=1209600&continue=https://accounts.google.com/o/oauth2/auth?scope%3Dopenid%2Bemail%2Bprofile%26response_type%3Dcode%26state%3Dp6Vwdj6Gibz9wS9yez6dSfomZT3WiPZC%26redirect_uri%3Dhttps://socialwifi.com/social-auth/complete/google-oauth2/%26client_id%3D240279395513.apps.googleusercontent.com%26from_login%3D1%26as%3D-1601b637b91f0d80&oauth=1&sarp=1&scc=1#identifier"
Click to expand...
Click to collapse
I saw it yesterday at work, but not authenticated. Now it is remembered in list. Sadly S7 has no option to forget networks out of range. Todays we have national holidays, but on Monday I will be at work and try to forget this network. I do not want to change rom because rom from my operator has wifi calling enabled and it is awesome.
Is there any chance that WiFi scanning is turned on? I recently saw that WiFi scanning will briefly turn my WiFi on then off repeatedly (shows with an indicator on top and I hadn't noticed that before). This first showed up when I installed Android Auto since it turned on my WiFi scanning option by default. As soon as I turned WiFi scanning off, the WiFi worked as it had before. It may be worth a look.
I've run into the same issue. Started yesterday, which may have come with the latest PJG update... Not sure.
But it's rendered my phone pretty much useless. The constant toast message popping up, saying "Network connectivity is available" gets in the way of the keyboard and I can't type a damn thing!
Like you, I've found it's stuck with reboots and a factory reset, which makes me think it could be the firmware or modem.
Edit: Disabling WiFi Scanning stopped the errors. Root cause is still unknown, though. I've never had to disable that before...
crizyal said:
Is there any chance that WiFi scanning is turned on? I recently saw that WiFi scanning will briefly turn my WiFi on then off repeatedly (shows with an indicator on top and I hadn't noticed that before). This first showed up when I installed Android Auto since it turned on my WiFi scanning option by default. As soon as I turned WiFi scanning off, the WiFi worked as it had before. It may be worth a look.
Click to expand...
Click to collapse
Yep. It was turned on, but I have it enabled since I bought this phone. Turning off neutralized my problem, but why it was broken for last few days when I haven't done anything with my phone? I rely on this feature because of localization accuracy and disabling it is just temporary fix.
edit:
Guys, one more thing:
do you have "Samsung Gear" app installed? I think this app is forcing to enable and disable wifi. Under localization it shows battery usage as high and it was updated last week
duchian said:
Guys, one more thing:
do you have "Samsung Gear" app installed? I think this app is forcing to enable and disable wifi. Under localization it shows battery usage as high and it was updated last week
Click to expand...
Click to collapse
My phone does not have the Samsung Gear app installed. I do use Samsung Pay regularly and that was also updated (engine and app). I don't know how that would relate to WiFi though.
jimmy-bish said:
I've run into the same issue. Started yesterday, which may have come with the latest PJG update... Not sure.
But it's rendered my phone pretty much useless. The constant toast message popping up, saying "Network connectivity is available" gets in the way of the keyboard and I can't type a damn thing!
Like you, I've found it's stuck with reboots and a factory reset, which makes me think it could be the firmware or modem.
Edit: Disabling WiFi Scanning stopped the errors. Root cause is still unknown, though. I've never had to disable that before...
Click to expand...
Click to collapse
Turning off WiFi scanning stops the constant switching of WiFi. I tried removing the system settings permission from all the apps that had it (even the Google app) but it doesn't seem to have any effect.
I am seeing the same issue, I did not touch my screen in the following video
Video on Dropbox
disabling "Wi-Fi scanning" in location helps.
Hi,
I had the same issue before.
What I did was(Not sure how its displayed in english):
-Settings;
-Backup and Reset
-Reset network settings
I was having constant disconnections from wifi and it solved it.
Give it a try
DiogoCDS said:
Hi,
I had the same issue before.
What I did was(Not sure how its displayed in english):
-Settings;
-Backup and Reset
-Reset network settings
I was having constant disconnections from wifi and it solved it.
Give it a try
Click to expand...
Click to collapse
Did the above solve the problem?
I am using G930F in US on ATT and encountered the same problem in past few days, where wifi kept turning on and off. Was searching this post, and found out that if i turn off wifi scanning i can get wifi to stay off (when i switched off ) and wifi on (when switched to on) and not flip back and forth.
go to settings.
- click on search
- type in improve accuracy
- select from choice
- turn off wifi scanning
Try that and hope that helps.
I have the same problem. The side effect is that it will drain the battery really fast.
As others have mentioned, after I have turned off the WiFi scanning in the location setting the problem is temporarily gone. However it should not be the solution as I really need the WiFi location to work. I don't know what is causing the bug.
P. S. I only see this problem starting from the last week or so. I leave the WiFi scanning location function on since I have bought the phone in May. Mine is Exynos version.
several Samsung devices have this issue.
I and several others have it on a note 4, and some people have also reported having this problem on S6 variants.
The problem is Google Play Services 10.0.84 version. Another cell phones with this version of Google Play Services have the same problem (ej. Google Pixel phone) but not all.
The problem is the Android Wear App. Deinstall the app and wifi works perfekt.
This issue starts with the last update of the wear app.
Hope i could help you.
Gerry65 said:
The problem is the Android Wear App. Deinstall the app and wifi works perfekt.
This issue starts with the last update of the wear app.
Hope i could help you.
Click to expand...
Click to collapse
I tried uninstalling Android Wear but it didn't make a difference. The wifi kept switching on and off.
As mentioned above, it's Google Play Services 10.0.84. Just disable wifi scanning until there is an update. Hopefully google won't take too long to push a fix.