Wifi switching on at 2am - Galaxy S II Q&A, Help & Troubleshooting

Sorry if posted before but searched on here on googled to no avail.
I'm running cm9 rc2 on my sg2, recently I've got a issue with my wifi. It seems to happen ever other day where at 02:06 the wifi turns on and stays on. Meaning if I've not plugged in to charge it drains the battery.
My phone always gets switched to airplane mode when I sleep and runs juice defender(which in its log states the time of 02:06 that wifi has been switched on by user), I'm also running tasker which checks to make sure other conditions are not running then will place into airplane mode and set cm9 profile to sleep.
Anyone had this issue? Or anyone got any idea a program that can log why wifi has come on by itself?
Thanks
Sent from my GT-I9100 using xda premium

redmanc35 said:
Sorry if posted before but searched on here on googled to no avail.
I'm running cm9 rc2 on my sg2, recently I've got a issue with my wifi. It seems to happen ever other day where at 02:06 the wifi turns on and stays on. Meaning if I've not plugged in to charge it drains the battery.
My phone always gets switched to airplane mode when I sleep and runs juice defender(which in its log states the time of 02:06 that wifi has been switched on by user), I'm also running tasker which checks to make sure other conditions are not running then will place into airplane mode and set cm9 profile to sleep.
Anyone had this issue? Or anyone got any idea a program that can log why wifi has come on by itself?
Thanks
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
I'm very sure an app or wrong profile settings is responsible for your problem,
This is the cause if the problem:
-the app needs internet around 2am,
-it discovers your phone is in flight mode
-it has a permission or settings to turn on Wi-Fi in the absence of mobile data.
-it then turns in your data.
Just try to track it down
-this app will sure cause a wakelock at that period,
-You can use better battery stats to track the app down
Good luck
Swyped from my Galaxy SII

Related

Wireless when screen is off

Is anyone having issues with their wifi shutting off when the screen shuts off, regardless of the settings? I've tried all the settings in advanced wifi settings under wifi sleep policy, but my wifi always shuts off within a few minutes of the screen shutting off. This is problematic because I don't have a good Verizon signal at my house, so I sometimes don't get new emails until I turn the screen back on and wait for wifi to reconnect. I would like to have it stay in all the time when I set the policy to "never". I've seen some general google search results that indicate this could be an issue with 2.3.3, but I couldn't find anything specific regarding the X2. I am running 2.3.3 pre-rooted.
Sent from my DROID X2 using Tapatalk
Same here hmm....
Sent from my DROID X2 using XDA App
Also the same here with 2.3.3.
Check Battery Mode
This may or may not be related to your problem, but this behavior could be related to the battery mode you are using i.e. under Settings > Battery & data manager > Battery Mode
If you have it set to "Maximum battery saver", then the desired behavior is to turn off syncing after 15 minutes of inactivity. As far as I understand it, this may also turn off wifi etc. (This is also true from 10pm to 5am when using "Nighttime saver".)
Can you each comment on your current battery mode, and whether that might have something to do with the problem? Try for example to set it to "Performance mode" and see if the problem still occurs.
Ok i'd give it a shot i had mine at nighttime mode setting it to performance now see if that helps
Sent from my DROID X2 using XDA App
Im 2.3.3 pre rooted running eclipse 0.1 and have the same problem. i use remote trackpad off the market to use my phone to control my laptop while watching movies on my flat screen. when i was on 2.2 stock and also with cjs minimalx rom i never had this problem.
ricovox said:
This may or may not be related to your problem, but this behavior could be related to the battery mode you are using i.e. under Settings > Battery & data manager > Battery Mode
If you have it set to "Maximum battery saver", then the desired behavior is to turn off syncing after 15 minutes of inactivity. As far as I understand it, this may also turn off wifi etc. (This is also true from 10pm to 5am when using "Nighttime saver".)
Can you each comment on your current battery mode, and whether that might have something to do with the problem? Try for example to set it to "Performance mode" and see if the problem still occurs.
Click to expand...
Click to collapse
renzon69 said:
Ok i'd give it a shot i had mine at nighttime mode setting it to performance now see if that helps
Sent from my DROID X2 using XDA App
Click to expand...
Click to collapse
Yeah... What he said... Battery mode... And yeah, a reply with whether that worked or not would be great to help others out when they come looking....
ok i went in the battery mode settings and it was set to performance mode, i switched it to the custom battery saver with no off-peak time interval. wifi still disconnects when idle.
DELETE....
Same thing here, battery is in performance mode. I usually change this right away when setting up the device and confirmed that it is still set to that.
Sent from my DROID X2 using Tapatalk

[Q] The wifi problem has come back

I just started having the old wifi problem. I wiped the device, reinstalled CM7 with CWM, and its come back, th wifi settings freeze up, and i cant get a IP address or connection via wifi.
are u restoring the settings using any apps ?
Same. Just all of a sudden, my wife and my tp just stopped connecting to the wifi. Laptop and phone connect fine. Can't be a coincidence? Tried resetting wifi...tried going to airplane mode. Next step I guess is to reflash.
cks4131 said:
Same. Just all of a sudden, my wife and my tp just stopped connecting to the wifi. Laptop and phone connect fine. Can't be a coincidence? Tried resetting wifi...tried going to airplane mode. Next step I guess is to reflash.
Click to expand...
Click to collapse
did you try to go into WiFi settings, "forget" current WiFi, turn WiFi off,wait a few secs' then turn WiFi back on. Once the WiFi connection is recognized you type in your WiFi key and it should connect again. Happens most of the time on mine in cm7.
derausgewanderte said:
did you try to go into WiFi settings, "forget" current WiFi, turn WiFi off,wait a few secs' then turn WiFi back on. Once the WiFi connection is recognized you type in your WiFi key and it should connect again. Happens most of the time on mine in cm7.
Click to expand...
Click to collapse
I have the same problem, and I have to perform the fix action you described to get the WiFi back up and running.
I use Regpon from the market.
Never had any WiFi issues.
I have wifi problems, if I boot into webos and then back to cm7.
"Forgetting" the current wifi ist the best solution and works till a next boot into webos, so I stopped booting into WebOs.
No need for an app like regpon, they keep the wifi all time connected and disbale deep sleep, too battery intensive.
I'm using Tasker to turn Wifi off/on then my display turns off and on, because default powersaving options don't work.
Try This:
Settings - Applications - Development - Device Hostname
Change it to something shorter and simpler like Touchpad or something
perpe said:
I have wifi problems, if I boot into webos and then back to cm7.
"Forgetting" the current wifi ist the best solution and works till a next boot into webos, so I stopped booting into WebOs.
No need for an app like regpon, they keep the wifi all time connected and disbale deep sleep, too battery intensive.
I'm using Tasker to turn Wifi off/on then my display turns off and on, because default powersaving options don't work.
Click to expand...
Click to collapse
I think you are missing the point.
Regpon avoids deep sleep thus keeping WiFi on AND avoiding deep sleep SODs meaning no toggling or switching of any kind, at least for me.
I don't see any appreciable battery trade-off either.
pa49 said:
I think you are missing the point.
Regpon avoids deep sleep thus keeping WiFi on AND avoiding deep sleep SODs meaning no toggling or switching of any kind, at least for me.
I don't see any appreciable battery trade-off either.
Click to expand...
Click to collapse
You're right, if you have SoDs, but if not why avoiding deep sleep? I don't have any.
Surely I can let wifi all time on, but have no reason to waste my battery.
pa49 said:
I think you are missing the point.
Regpon avoids deep sleep thus keeping WiFi on AND avoiding deep sleep SODs meaning no toggling or switching of any kind, at least for me.
I don't see any appreciable battery trade-off either.
Click to expand...
Click to collapse
once wifi is on it stays on here, doesn't go down on sleep either. it's only when I boot that I have to do the forget excersize to get it back.
---------- Post added at 03:25 PM ---------- Previous post was at 03:25 PM ----------
KaliKot said:
Try This:
Settings - Applications - Development - Device Hostname
Change it to something shorter and simpler like Touchpad or something
Click to expand...
Click to collapse
yep, I tried every suggestion in the book, none of them helped so far.

Keep WiFi on during sleep (Never)

Does anyone else have an issue with the WiFi sleep policy? My WiFi never turns off when my tablet is in sleep mode. I set it to 'never', turn off the screen and no matter how long I wait, it is still connected to WiFi while the screen is off (which destroys the battery now). I have been turning it off manually and putting it into low performance mode every time I turn off the screen, but would like this to be automatic. Any suggestions?
Wont turn off for me also... its killing my battery. I hope a fix is coming soon. .13 has made my perfect tablet a POS.
Wifi is on all the time with nothing turned off and I lost 13% battery over 7 hours. But Im still on .11. I have 5 emails, facebook and weather on push/update amongs other things. Iwould check if something is constantly running in the background and keeping wifi on.
Use Auto Airplane Mode (free on the market). Will disable wifi when asleep. Works well.
Mine never turns off either, I use Juice Defender.
d1ez3 said:
Does anyone else have an issue with the WiFi sleep policy? My WiFi never turns off when my tablet is in sleep mode. I set it to 'never', turn off the screen and no matter how long I wait, it is still connected to WiFi while the screen is off (which destroys the battery now). I have been turning it off manually and putting it into low performance mode every time I turn off the screen, but would like this to be automatic. Any suggestions?
Click to expand...
Click to collapse
eeehmmmm..... when you set it to 'never', it will NEVER turn off wifi. so what you are describing is supposed to happen!
or did i understand you wrong?
Blackwidowman said:
But Im still on .11.
Click to expand...
Click to collapse
And there's why lol
Just putting it out there, but my WiFi state while asleep doesn't seem to do anything one way or another. My battery drains the same amount if I don't actually disable WiFi, and connectivity is never there on wake (even if set to be).
js931 said:
eeehmmmm..... when you set it to 'never', it will NEVER turn off wifi. so what you are describing is supposed to happen!
or did i understand you wrong?
Click to expand...
Click to collapse
Actually its set to "keep wifi awake on sleep" never
The OP did not specify what FW he was on hence I mentioned mine. In your case assuming youre on .13 and got the bug, I think Gary mentioned they had pin-pointed the problem and coming out with a fix by early next week.
Blackwidowman said:
The OP did not specify what FW he was on hence I mentioned mine. In your case assuming youre on .13 and got the bug, I think Gary mentioned they had pin-pointed the problem and coming out with a fix by early next week.
Click to expand...
Click to collapse
Sorry its on .13
Sorry to revive an old thread but has this issue ever been solved? No matter how many times I set "Keep Wi-Fi on during sleep" to "Never", the moment I change wifi access points or turn off then turn on wifi, it reverts back to "Always".
I am running the latest update .21.
Furthermore under "ASUS Customized Settings", "Disconnect network during sleep" has been giving me similar issues as well.
Any input would be greatly appreciated, thank you!
Mine battery widget says that wi-fi is ON all the time when sleeping no matter what is ticked in option. So i turn off wi-fi manually to save battery.
Sent from my Transformer Prime TF201 using XDA Premium HD app
I use Tasker...
Screen on, wifi on.
Screen off, wifi off.
It's automatic, and works great.
I don't mind my wifi being on, with all the apps that run in the background they always on, notifying me of new emails and app updates.
I found out just recently that my tablet was still connected to Wifi, even though the last usage of my tablet was about a day before. I have the disconnect network during sleep enabled and keep Wi-fi on during sleep set to never and I still experience 96% battery usage according to battery widget. Idle is at 4% usage. So I went through the settings, unchecked/unselected, then rechecked/reselected the choices to make sure they're actually selected. BTW, I'm on the latest firmware - 9.2.1.24. I can say it hasn't rebooted for over 265 hours.
hoang51 said:
I found out just recently that my tablet was still connected to Wifi, even though the last usage of my tablet was about a day before. I have the disconnect network during sleep enabled and keep Wi-fi on during sleep set to never and I still experience 96% battery usage according to battery widget. Idle is at 4% usage. So I went through the settings, unchecked/unselected, then rechecked/reselected the choices to make sure they're actually selected. BTW, I'm on the latest firmware - 9.2.1.24. I can say it hasn't rebooted for over 265 hours.
Click to expand...
Click to collapse
9.2.1.24 ??
kevinm2k said:
9.2.1.24 ??
Click to expand...
Click to collapse
TF101, sounds like.
Peter Galbavy said:
TF101, sounds like.
Click to expand...
Click to collapse
in prime forum.. nice! nothing like confusion!
originalnabisco said:
Sorry to revive an old thread but has this issue ever been solved? No matter how many times I set "Keep Wi-Fi on during sleep" to "Never", the moment I change wifi access points or turn off then turn on wifi, it reverts back to "Always".
I am running the latest update .21.
Furthermore under "ASUS Customized Settings", "Disconnect network during sleep" has been giving me similar issues as well.
Any input would be greatly appreciated, thank you!
Click to expand...
Click to collapse
Check this out, I hope this helps a little http://forum.xda-developers.com/showthread.php?t=1674551

Automatic airplane mode triggered during night

I had my DNA faced down before I fell asleep, and when I woke up just now, the phone was on airplane mode. I checked the battery usage chart and found out the phone went into airplane mode after 30 minutes of being idle. I had to manually turn off the airplane mode.
I never used HTC products before so I do not know if this is a feature of the Sense...but surely I don't want it as I receive international calls often. However, I could not find any options for turning this off.
Does anyone know if the scheduled airplane mode was automatically activated because I put the phone faced down? The other nights previously had no such thing done on my phone
Sent from my HTC6435LVW using xda app-developers app
That is an anomaly my friend. I've never seen this happen on any HTC phone I've owned.
Sent from my HTC6435LVW using xda premium
Strange things happen at night/early morning. My wifi went AWOL.
adrynalyne said:
Strange things happen at night/early morning. My wifi went AWOL.
Click to expand...
Click to collapse
The fact that network connection was in tact, it seems like wifi auto sleep but I can't be sure.
But as for my phone, it was on airplane mode automatically, so I will test my phone under the same conditions tonight to confirm my speculation
If the DNA does have a scheduled/sensor auto airplane mode feature or perhaps a deep idle, I am not sure of why HTC did not include an option to turn that off in the settings...
Sent from my HTC6435LVW
I would hope its not an auto-off on wifi because I have it set to always be on even with screen off. Also, if it turns off, it sets LTE to active and thats an issue.
It's HTC SmartSync Power Save http://forum.xda-developers.com/showthread.php?t=1708492. Unfornately this app doesn't work JB Sense... anyone with smali coding skills can try to code it for JB.
WiFi and 3G/LTE will disconnect from 12-7am to save battery life when screen off its a built in feature by HTC however it shoukdnt go into airplane mode
Sent from my HTC6435LVW using xda premium
I tested my phone under the same conditions, and it did go into airplane mode exaclty after 30 minutes of facing down. So I guess that Smartsync is back on the DNA?...I found several scripts relating to powersaving in sys, so maybe disabling some of them will remove the auto airplane mode or whatever it does...
another581 said:
I tested my phone under the same conditions, and it did go into airplane mode exaclty after 30 minutes of facing down. So I guess that Smartsync is back on the DNA?...I found several scripts relating to powersaving in sys, so maybe disabling some of them will remove the auto airplane mode or whatever it does...
Click to expand...
Click to collapse
Smartsync isn't putting it in airplane mode.
I put my phone upside down smartsync hours and left it for hours. I can confirm loss of WiFi but no network signal.

wakelock only on wifi...

Ok so here is my situation.. when I am at home on wifi.. (the only place i consistently use wifi..) and my phone is in standby the process com.google.android.gsf.login is keeping my phone awake a lot... I am not complaining about battery life on this phone as a whole as it's really good.. but oddly enough for me, I get worse battery life (when it comes to standby) when on wifi... For example just yesterday I got like 19 hours and 2 hrs 15mins screen on time and about an hour of music streaming (screen off) all on 4g.. and when i looked at my battery stats the awake time and screen on times were essentially identical (other than the music streaming) but today I have been testing some at home with wifi on and off.. I have attached a picture of my battery graph.. when on wifi I have lots of wake locks that don't correspond with actual usage.. but when on mobile data those wake locks are gone..
I understand that it's an app that is doing the draining my only question is why is doing it on wifi only..
In the attached screenshot no settings were changed except for toggling wifi.. to see the difference..
My next idea is to try and get on wifi somewhere else and see if I have some weird anomaly with my wireless network at home...
anyone care to chime in?
Just an update the last 45 mins on 4g.. little wake time not associated with screen on... This has me perplexed..
Well.. I can't get the screenshot to attach but... Les than 2 mins of wake time in 40 mins on 4g at home on wifi I had like 7 mins in 25 mins on wifi..
Sent from my HTC6435LVW using xda app-developers app
double post this one can be deleted..
Sent from my HTC6435LVW using xda app-developers app
I know that the kernel for our processor has a patch to fix wakelock problems that are draining the battery, but the manufacturers have not pushed an update. Elkay is currently working on a kernel to resolve this problem, check the Original Development subforum. Battery life is significantly improved. I'm currently using DSB'S overclock kernel which has been troublesome for most people, but the battery life has been great and I'm fortunate to have almost no problems with it.
I am on elkay's kernel... Those screenshotss were while using his kernel.. according to him moat of those issues addressed are specific to mobile data standby time.. and my mobile data standby time is actually really good..
The issues only happen when I am on wifi.., and the only WiFi I have tested is my home network..
Sent from my HTC6435LVW using xda app-developers app
I get the same issue as you. I actually just mentioned it in elkay's thread. I've been getting wakelocks like that on every kernel so I don't think it's just strictly his kernel that's causing problemos.
Possible Solutions ...
1) Your home wifi has some ports blocked or proxy in effect which is causing some Google Service to be unreachable when on wifi and hence causing the wakelock
2) One of the Google Account Services is set to update over wifi only and again its unreachable over your wifi, hence the wakelock
3) Disable Gtalk/G+ if you dont use them and reboot
4) Try a different wifi network, if you dont have the wakelock, then its your home wifi router config causing issues
v-b-n said:
Possible Solutions ...
1) Your home wifi has some ports blocked or proxy in effect which is causing some Google Service to be unreachable when on wifi and hence causing the wakelock
2) One of the Google Account Services is set to update over wifi only and again its unreachable over your wifi, hence the wakelock
3) Disable Gtalk/G+ if you dont use them and reboot
4) Try a different wifi network, if you dont have the wakelock, then its your home wifi router config causing issues
Click to expand...
Click to collapse
I am wondering if it's solution #1.. i don't have another wifi network to test on though.. i guess i could go hang out at starbucks or somewhere like that.. and see.. although with LTE (and unl. data) my I don't really "need" to be on wifi at home other than a couple apps that let me control stuff at home when on the same network.. (DirecTV, Onkyo, Shares Finder..)
I debloated the ROM I am on and Gtalk and G+ were removed since i don't use them..
I don't think I have any Google account services set to update over wifi only I have gone through the settings a couple times looking for stuff like that... that is why I am thinking it possibly has something to do with my network.. I will keep researching and if I find some solution I will update for the communities sake..
Very similar issue here, although it seems random. Just the hour day I had 13 hours on with 8 hours kept awake and 1 hour screen time.
Sent from my HTC6435LVW using xda app-developers app

Categories

Resources