Wifi constantly turns itself on - Moto G Q&A, Help & Troubleshooting

Hi!
I have a 14.71.8.falcon_umts retail german firmware @ android 4.3 + supersu rooted phone and recently I've noticed my Wi-Fi always turns itself on after some time (even in airplane mode!)
I tried disabling most user apps, disabling location services (in settings and google apps) and turning off all advanced wifi options (scanning always available, keep wifi during sleep = never, wi-fi optimisation) but no luck...
Is there maybe any way to figure out which app is turning wifi on?
Thanks for any ideas!

burma said:
Hi!
I have a 14.71.8.falcon_umts retail german firmware @ android 4.3 + supersu rooted phone and recently I've noticed my Wi-Fi always turns itself on after some time (even in airplane mode!)
I tried disabling most user apps, disabling location services (in settings and google apps) and turning off all advanced wifi options (scanning always available, keep wifi during sleep = never, wi-fi optimisation) but no luck...
Is there maybe any way to figure out which app is turning wifi on?
Thanks for any ideas!
Click to expand...
Click to collapse
That sounds like hardware...Do a reset to see if that helps. Not sure about rooted devices though.
Cheers,
Nicole

Try going into settings, wifi, Advanced and check the option to leave the wifi on during idle only when connected.

burma said:
Hi!
I have a 14.71.8.falcon_umts retail german firmware @ android 4.3 + supersu rooted phone and recently I've noticed my Wi-Fi always turns itself on after some time (even in airplane mode!)
I tried disabling most user apps, disabling location services (in settings and google apps) and turning off all advanced wifi options (scanning always available, keep wifi during sleep = never, wi-fi optimisation) but no luck...
Is there maybe any way to figure out which app is turning wifi on?
Thanks for any ideas!
Click to expand...
Click to collapse
Google Maps recently gained a new permission to be able to connect/disconnect wifi. Try uninstalling or freezing Google Maps and see if the problem stops.

abmantis said:
Google Maps recently gained a new permission to be able to connect/disconnect wifi.
Click to expand...
Click to collapse
I didn't know about that: and then they wonder why people use Xposed FW to access App Ops.

Related

WiFi stays on regardless of sleep policy.

Ever since updating my Moto G to KitKat wifi remains on all the time even if I select 'Only when plugged in' for the wifi sleep policy. It was fine while on Jelly Bean. Anyone else have this problem?
Sent from my XT1032 using Tapatalk
madgibbon said:
Ever since updating my Moto G to KitKat wifi remains on all the time even if I select 'Only when plugged in' for the wifi sleep policy. It was fine while on Jelly Bean. Anyone else have this problem?
Sent from my XT1032 using Tapatalk
Click to expand...
Click to collapse
i had the same issue and posted the question here in the forum i got some replies, but nothing helped. here is the link to my thread
http://forum.xda-developers.com/showthread.php?t=2608546
hope some one responds to our issue.
Interestingly I've solved the problem, on my phone at least. I switched from ART back to Delvik runtime as a few apps wouldn't run and now WiFi is switching off when the screen is off.
Sent from my XT1032 using Tapatalk
madgibbon said:
Interestingly I've solved the problem, on my phone at least. I switched from ART back to Delvik runtime as a few apps wouldn't run and now WiFi is switching off when the screen is off.
Sent from my XT1032 using Tapatalk
Click to expand...
Click to collapse
I experienced what I believe to be the same issue with my N5 - I used to have my wifi policy set to "Never" so that wifi would be turned off when the screen is off and it used to work. Recently I thought I'd give ART a shot and after using it for a while, found that wifi stayed on regardless of what the policy was set to. I disabled all background syncing apps (google account, fb, etc.) and all location services and the wifi never switched off the way it used to. I also tried wifi optimisation on/off, avoid poor connections on/off, and always searching on/off but nothing fixed it.
Even after switching back to Dalvik though, it still doesn't work properly. Currently doing a factory reset and will see if it works after and report back
Any solution yet? Mine does the same and I tried everything, from turning off location to uninstalling maps (seeing they have an option to activate wifi) to factory reset and nothing helped.
Advanced Wifi Settings
In Advanced settings is Scanning always available
ensue this is off,otherwise location services will look for networks even if wifi is off,so presumably it turns it on to do this!
robin0800 said:
In Advanced settings is Scanning always available
ensue this is off,otherwise location services will look for networks even if wifi is off,so presumably it turns it on to do this!
Click to expand...
Click to collapse
Like I said, I have tried all settings. Scanning always available is off and even disabled location services.
jimakos29 said:
Like I said, I have tried all settings. Scanning always available is off and even disabled location services.
Click to expand...
Click to collapse
Finally my phone alive now with fastboot downgrade with 4.3 brazilian retail version .only problem is that wifi is not working.plse help
please check the router setting of which the device connect access to internet, under wifi setting in the router homepage check if the channel is not selected to AUTO, please choose channel ex: 1,2,3,4,5 etc and connection frequency to single band i.e 20MHZ or 40 MHZ, but it might also work in auto band mode selection. I had the same issue on my HTC A9 android version marshmellow but when i changed the setting it works fine.
In my experience with Stock ROMs, this issue (Wi-Fi always active in Battery Stats even though sleep policy is set to: Never) is caused by an installed app.
Viber has a setting in General > Wi-Fi sleep policy.
Not every app will have such an option, but check. All you can do if the issue persists is to clean install ROM and one by one start adding your apps to see when the problem reoccurs.
There may be apps (or an xposed module) that will allow you to stop apps changing the Wi-Fi sleep policy. I've not done any research on the topic.
Wi-Fi Scanning can be enabled or disabled and does not have an affect.

Turning wifi off when screen is off

Is there a tool or app that will turn wifi (and perhaps data) off when the phone display is not on?
My wifi is using a lot of battery.
Thanks.
When I read this, my first thought was this function in the Android Wifi settings. Not entirely sure if this will solve your problem, but give it a try and see if it helps.
From Google's Support site for Android, under "Advanced Wifi Settings" (It's for Android One, but still applies):
Keep Wi-Fi on during sleep: Touch to choose how your device handles Wi-Fi when it's asleep. You can choose to keep Wi-Fi on all the time, only if your device is charging, or turn it off completely. If you turn Wi-Fi off, you may increase the amount of mobile data you use.
Click to expand...
Click to collapse
Since I'm a new user, I can't post the actual URL, but here's the Google Support destination:
support(dot)google(dot)com/android-one/answer/2819519
Cheers,
-Phil
You are correct. It is in android settings under advanced in wifi.
Thanks.
LeanDroid
I liked LeanDroid. I used to get battery for more than 24 hours.
But with Lollipop, it needs root access.
Rooting is not easy with Lollipop
Hence, I am also stuck like you
Waiting for 5.01 version hoping to get some fixes.
Drain with my phone is not just WiFi Mobile network too and generally the green bar slopes down.
Kitkat and LeanDroid were good
You can still try LeanDroid
gagbel said:
Rooting is not easy with Lollipop
Click to expand...
Click to collapse
1. Flash custom recovery
2. Flash latest SuperSU
and you have root access.
thanks
Thanks
Thanks. That helped me too.
wifi off, when screen is off
after updating to lollipop (stock), i am unable to connect to my college wifi. but i could use my wifi at home. now after few days my wifi is going off, when the screen goes to sleep. what kind of a problem is this ? when can the nexus 5 users get 5.0.1 update ?

WiFi is turned off yet is reported as turned on and using battery.

My wifi has been off since i upgraded to M, clean install from the Google images. It still reports my wifi as on and using up my battery....is this a bug or am i reading this incorrectly?
http://imgur.com/a/ow5fj
I don't know if this is a setting in marshmallow, but I know in KitKat if you go into the advanced settings menu on the wifi page there is an option that allows the phone to automatically turn on and scan for networks without any user intervention. That setting should be turned off.
reinert012 said:
My wifi has been off since i upgraded to M, clean install from the Google images. It still reports my wifi as on and using up my battery....is this a bug or am i reading this incorrectly?
http://imgur.com/a/ow5fj
Click to expand...
Click to collapse
You're not alone I'm using mine, but WiFi wasn't on top of the list ever in 5.1.1. Has to be a bug
Ive got this issue as well. Its really annoying. I always keep Wifi off to extend battery life but with M I might as well just keep it on...
goldswimmerb said:
Ive got this issue as well. Its really annoying. I always keep Wifi off to extend battery life but with M I might as well just keep it on...
Click to expand...
Click to collapse
Ugh, this is not good.
CalculatedRisk said:
I don't know if this is a setting in marshmallow, but I know in KitKat if you go into the advanced settings menu on the wifi page there is an option that allows the phone to automatically turn on and scan for networks without any user intervention. That setting should be turned off.
Click to expand...
Click to collapse
huh...mine is set to Always keep wifi on during sleep. Does that matter even if wifi is off?
Since I'm still running kitkat i can't speak for marshmallow, but on KitKat, the wifi on/off toggle takes priority over that setting. Wifi will only stay on during sleep if it was turned on to begin with, but that isn't the issue you guys are experiencing right? There might be an option in that same menu that says something like "let Android search for networks even if wifi turned off". That gives the results you guys are experiencing.
Go to settings-->location-->menu-->scanning and check if WiFi and Bluetooth scanning options are kept on..
I don't have this issue..
Sent from my Nexus 5 using XDA Free mobile app
vipinbp said:
Go to settings-->location-->menu-->scanning and check if WiFi and Bluetooth scanning options are kept on..
I don't have this issue..
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Both are checked, i unchecked them both. What were the status of yours?
When I flashed the Factory Image (6.0) I had this problem. I flashed back to 5.1.1 booted the phone. Then booted into recovery and sideloaded the OTA update to 6.0 booted the phone and preformed a factory reset. I do not have this problem anymore. Wifi doesn't even show up in the battery stats.
jdawg0024 said:
When I flashed the Factory Image (6.0) I had this problem. I flashed back to 5.1.1 booted the phone. Then booted into recovery and sideloaded the OTA update to 6.0 booted the phone and preformed a factory reset. I do not have this problem anymore. Wifi doesn't even show up in the battery stats.
Click to expand...
Click to collapse
Edit Pics
reinert012 said:
Both are checked, i unchecked them both. What were the status of yours?
Click to expand...
Click to collapse
During initial setup Google asked me if I wanted to keep WiFi scanning enabled to help apps with location to find the location easily.. I declined.. Hence they were off..
Did it help with the battery?
Sent from my Nexus 5 using XDA Free mobile app
Just an update on battery life. 1.5h SOT no WiFi bug (after sideloading the OTA update) also noticed the battery graph added Camera and Flashlight if they were used
Also discussing the same issue here:
http://forum.xda-developers.com/google-nexus-5/help/wifi-plaguing-android-marshmallow-t3220031
Try to set it 2.4 Ghz only instead of auto (2.4 +5)

[Q] wifi switches on and off

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.

Keeping wifi on during sleep

How to keep wifi on during sleep?
don't turn it off?
i turned off the power safe mode somehow, it still go to sleep after an hour or so of none usuage
why i need the wifi to be connected always because i am using desktop WhatsApp App. and it got disconnected when the internet is off on my phone.
angka8 said:
why i need the wifi to be connected always because i am using desktop WhatsApp App. and it got disconnected when the internet is off on my phone.
Click to expand...
Click to collapse
Try wifi, advanced setting, turn on wifi automatically setting to off.
ZayaanAhyaan said:
Try wifi, advanced setting, turn on wifi automatically setting to off.
Click to expand...
Click to collapse
but isn't this automatic connecting to the saved wifi connection when within range? thanks
sleep option has been removed so you can try to disable optimise settings under device care/advanced and see if that hopefully makes a difference and/or go adb route
https://www.androidpolice.com/2017/...y-removed-keep-wifi-sleep-toggle-pixel-2/?amp
raul6 said:
sleep option has been removed so you can try to disable optimise settings under device care/advanced and see if that hopefully makes a difference and/or go adb route
https://www.androidpolice.com/2017/...y-removed-keep-wifi-sleep-toggle-pixel-2/?amp
Click to expand...
Click to collapse
Why did Google always remove features that is good?

Categories

Resources