All wifi and data disconnects when screen is off but only below 50% battery? - Samsung Galaxy Nexus

Hey guys I have searched and searched for a remedy for my problem, first off here is what I am running on my i9250:
ROM: Beanstalk 1.190
Kernel: KUBO-AK r46
Baseband: I9250UGLL1
Now the problem is this, all data (wifi and cell data) randomly disconnects when my battery is anywhere lower than 50% and gets increasingly annoying the lower it gets. I do not have any powersaving features enabled and yes I have changed the advanced settings in Wifi (Keep wifi on during sleep: checked to Always, Avoid poor connections: Unchecked, wifi freq band: 2.4ghz only, wifi optimization: unchecked; i guess that is a powersaving feature as well)
Still the problem persists. The other problem is, it happens to my cell data as well, when I wake the phone up (when it is under 50% or so) I see that only then the cell data starts to reconnect, and then I get all my whatsapp messages and emails all at once. (same goes with the wifi) Keep in mind though, when I have the phone plugged in and charging the wfi or cell data are active when the screen is switched off. The problem only occurs when the battery is below 50%.
Is there anything I can do about this, it gets really annoying because I have to wake the phone up and keep the screen on, in order to get messages. I know there is a widget that keeps the wifi active regardless of the battery level, but what about the phone data when I am out and about. I need to stay connected especially with emails and whatsapp because that is how clients stay in contact with me and it sucks when they send messages and I get nothing and they have to wait for me to check or wake up my phone for the data connection to re-establish whether it be on wifi or data.
Anyone knows how to fix this problem?

No one?

Have you tried changing your kernel? Sometime kernels can have weird affects on your device.

İ think this is one of kernel problems. Battery section is controlling by kernel. Find a kernel and use smartassv2 with sio.

Yes, I swapped around a few kernels and same effect. I really am at a loss.

amd-dude said:
Yes, I swapped around a few kernels and same effect. I really am at a loss.
Click to expand...
Click to collapse
it happens to me as well, not sure about the 50%, but when I am at home with 3G and wifi on very often if i turn on the phone the signal bars are grey and not blue and it seems that connectionwas lost during sleep and is being turned on again
btw, I am on stock 4.2.2

Try to format /system. And reflash. İf its not work, flash stock rom and flash custom rom. İm not sure if it will work.

Believe me, I have tried every wipe and every rom/kernel combo that is humanly possible

Then problem is hardware thats what I thought. Unfortunately. Technical support helps.

Related

[Q] Phone barely sleeps when Wifi is on. Baffled.

So after quite a while debugging wake lock issues I finally figured out what was causing my phone not to sleep. Wifi!
I'm on MIUI with Savaged Zen 0.0.5 (happens across kernels) latest radio/wifi/wimax downgraded to 1.77 PRI/NV. Running MIUI, so wifi sleep policy is set to never to prevent random reboots.
It's very easy for me to duplicate this, when I have 3G on my screen on vs running time are nearly equal. If I turn off the display and leave wifi on my running time will be 300% of my screen on. The only "solution" i've come up with is to turn wifi off on display off with Tasker, but I thought wifi should be a more effecient radio than 3G, generally i've heard you get better battery life while on wifi....
The only thing that I can think that might have caused this is I imported my Wireless AP stored settings from a sense rom when moving to MIUI using Ti Backup. I'm at a loss on how to fix this though -- is there some sort of cache or something I can clear to get wifi back working correctly?
lil-dice said:
So after quite a while debugging wake lock issues I finally figured out what was causing my phone not to sleep. Wifi!
I'm on MIUI with Savaged Zen 0.0.5 (happens across kernels) latest radio/wifi/wimax downgraded to 1.77 PRI/NV. Running MIUI, so wifi sleep policy is set to never to prevent random reboots.
It's very easy for me to duplicate this, when I have 3G on my screen on vs running time are nearly equal. If I turn off the display and leave wifi on my running time will be 300% of my screen on. The only "solution" i've come up with is to turn wifi off on display off with Tasker, but I thought wifi should be a more effecient radio than 3G, generally i've heard you get better battery life while on wifi....
The only thing that I can think that might have caused this is I imported my Wireless AP stored settings from a sense rom when moving to MIUI using Ti Backup. I'm at a loss on how to fix this though -- is there some sort of cache or something I can clear to get wifi back working correctly?
Click to expand...
Click to collapse
No problems here with 0.0.5
My phone sleeps fine on both miui and salvage gb. Not sure why its giving your problems... i would have to guess its an app or something you have installed. Ive had two different miui installs and they both were 100% fine.
I'm not blaming the kernel or MIUI, I just have no clue how to debug this. I have a very minimal app set up now, i've uninstalled nearly everything...I would think if it was a rogue app it would happen over 3G as well as wifi...that's why I think it's something wit the wifi service itself, I just don't have any idea how to clear the wifi stuff off there's no data cache or anything.

wifi goes sleep even setting policy to "Always On"

I have set the Wifi policy to "Always on".
Many times (but not every time) when my One X goes into sleep mode, all data connections don't work. I notice it because I feel so strange there is no notification from Whatsapp and Line as usual. So, I press the power button and see no data connection at all. After a few second, 3G data connection appears but no wifi. Wifi then replaces 3G a few second later.
It usually happens and I feel so annoyed as I lost communication with my colleagues when One X is sleeping.
Is there somewhere in "Setting" that can override the "Always on" in Wifi policy? If I miss it, please let me know.
I feel very disappionted with my One X as it contains a lot of bugs.
jackie_jerk said:
I have set the Wifi policy to "Always on".
Many times (but not every time) when my One X goes into sleep mode, all data connections don't work. I notice it because I feel so strange there is no notification from Whatsapp and Line as usual. So, I press the power button and see no data connection at all. After a few second, 3G data connection appears but no wifi. Wifi then replaces 3G a few second later.
It usually happens and I feel so annoyed as I lost communication with my colleagues when One X is sleeping.
Is there somewhere in "Setting" that can override the "Always on" in Wifi policy? If I miss it, please let me know.
I feel very disappionted with my One X as it contains a lot of bugs.
Click to expand...
Click to collapse
It's happening to me too, it's very frustrating because when turned on it show as connected while it's false.. and i'm unable to browse/etc without re enabling wifi manually.
Same issue on the One S. This is most likely a driver related problem or something. I think the next firmware update should fix this, but if anyone of you can provide a hotfix or something I wouldn't be sad
Getting the exact same problem.
I have not noticed this so far.
same problem with wifi....and in the nights my Data also gets switched off after sometime of inactivity...couldnt find any setting related to that....do any of you know any hidden setting for it?
Yeah it happening to me as well. It could be kernel related.
Same Here
Mine is opposite, I want it to sleep on screen off but it keeps reverting to always on. Quite frustrating as it is the major cause of my battery loss
Sent from my HTC One X using XDA
Mine uses less battery with wifi on then normal 3g/4g
vallandil said:
Mine uses less battery with wifi on then normal 3g/4g
Click to expand...
Click to collapse
yeah same here, i've tested both over night and less battery used on wi-fi than 3g
I cant connect to my home wifi, it show connected then disconnect immediate
it no usaable now in my house
I just noticed this, too. Really annoying when you suddenly stop getting any notifications for E-Mails etc.
This is also not fixed in 1.28 :/.
I seem to only have this during the night hours, though. Like there is some sort of "Quiet Hours"-function but they forgot to put it in the settings >_<
I think this is the special Sleep Mode kicking in, and the WiFi Always-On is overridden by it.
When I turn the screen off, I can still ping my One X over the network. However, after some time (maybe 5-10 mins) it no longer responds and has dropped its WiFi connection.
The Always-On WiFi option has only ever applied to when the screen is off. The sleep mode thing is new and not related to android itself - an HTC hardware thing by the look of it.
Maybe it's fixable in the driver software, but I believe the "WiFi always on" function is behaving correctly - it's the new sleep state that is breaking it.
I could be wrong, but that's what it looks like.
If someone has the time, try setting up a PC to continuously ping the One X and see if it keeps it from going in to sleep mode.
Dave Trouser said:
I think this is the special Sleep Mode kicking in, and the WiFi Always-On is overridden by it.
When I turn the screen off, I can still ping my One X over the network. However, after some time (maybe 5-10 mins) it no longer responds and has dropped its WiFi connection.
The Always-On WiFi option has only ever applied to when the screen is off. The sleep mode thing is new and not related to android itself - an HTC hardware thing by the look of it.
Maybe it's fixable in the driver software, but I believe the "WiFi always on" function is behaving correctly - it's the new sleep state that is breaking it.
I could be wrong, but that's what it looks like.
If someone has the time, try setting up a PC to continuously ping the One X and see if it keeps it from going in to sleep mode.
Click to expand...
Click to collapse
Hello Dave,
Your analysis is quite impressive,
I also started dealing with this from "Special Sleep Mode" perspective.
I have got the FOTA, find data in my signature, and still suffering from the same issue.
To summarize my findings let me brief it:
When I first got the update, the problem seemed to be solved
I kept connected to my home WiFi router for several hours and got notifications from Whatsapp and Twitter
I thought the problem was solved and the bug was fixed, as I kept seeing my OneX on the WiFi Client on my router's managing interface on my PC
I shut down my phone, WiFi was on, and turn it back on
WiFi kicked in and connected with no problems,
An hour after, I sensed something wasn't good, notifications were silenced
I unlocked my phone and checked the status bar to find there were no DATA connections at all, nothing, no WIFi no Mobile Data, the usual bug
Now I started to think,
I Have got this problem after a full shut down, and at a battery below 15%
One thing to add,
I turned my phone off with WiFi enabled and when turned it on WiFi kicked in.
Now I am monitoring on the following basis.
I clicked all WiFi hot spots previously saved on my OneX and chose to "FORGET"
Connected to my preferred hotspot
Monitoring the WIFI, with battery over 15%, seems to be very healthy, more than an hour on sleep mode, and WiFi is on, uninterrupted and VERY CONNECTED
I will keep monitoring the behaviour till battery fall under 15% and will report back
I'll make sure to turn off WiFi before shutting down my phone if I have to, this is to eleminate the other variable and keep concentarting on one variable "Battery percentage"
A point to add:
On my previous Gingerbread SensationXE, there was an option on Settings> Battery to control phone's behavior and stop background sync and other activities when battery fall below a pre-defined percentage.
Default was 15%
I can't find this option on my One X, IceCream Sandwich
That's why I started to analyse the problem from the perspective of "Special Sleep Mode - Below 15%" bahaviour.
I will report back as soon as I have results.
Thank you
Update:
Started to experience same issue when battery falls below 50%.
All DATA gone down, no WiFI and no Mobile Data.
Charged my phone to 73%, "Forget" all WiFi network.
WiFi off
Monitoring Mobile Data only.
Mobile data gone down after 30 minutes sleep mode, 73% battery
Connecting to WiFi, and started monitoring WiFi
WiFi + Mobile Data gone down after 30 minutes.
Power down phone, and then on, 73% Battery, WiFi off
Monitoring Mobile Data only.
Failed, and disconnected
Failure
I've done a Factory Reset !!!
Update:
No problems on WiFi, nor Mobile data whatsoever for the whole day until battery falls below 10% !!!
WiFi disconnected after exactly 15 minutes, Mobile data kicks in, then disconnected as well !!!
I turn on the screen after 20 minutes to find NO DATA CONNECTION of any kind.
Mobile data kicks in, WiFi replaces mobile data, and start receiving all data dependent notifications!!!
I have the same problem, wifi is turned off sometimes when screen is locked.
Pabson said:
I have the same problem, wifi is turned off sometimes when screen is locked.
Click to expand...
Click to collapse
Hello Pabson,
Thanks for sharing.
Would you provide more information about your phone's software number, your location (Region, not specific).
Thanks again.
Same here, tried several roms and the same happens with every ROM out there. What is more, I cannot connect to WIFI at work (WPA PSK) but I can connect perfectly to my home WIFI network.
Hopefully this is not a hardware fault and will be fixed.
Monrad said:
Same here, tried several roms and the same happens with every ROM out there. What is more, I cannot connect to WIFI at work (WPA PSK) but I can connect perfectly to my home WIFI network.
Hopefully this is not a hardware fault and will be fixed.
Click to expand...
Click to collapse
If it happens on every single rom you you installed, then apparently this is a hardware fault.
What "Base" do the Roms, you installed, created on?!
I mean based on what version of RUU?
same problem here.
I mis the "power saving mode" options like in android 2.3
It might idd have something to do with power savings mode kicking in.

Stutter and broken connection on JellyTime while display off

Hi there,
i just wanted to start a thread , if there some people, facing the same problem as me.
I installed JellyTime version 27 (on older versions it happens too). When i use skype or the fritzApp!, everything works perfectly as long as the display dont turn off. When i put the phone to my ear during a skype call for example, the display turn off correctly but the call stutters, become unstable and sometimes completly breaks down. The same on the fritzApp. When i am listening to tuneIn and the display goes off, there are sometimes phases, where tunein has to cache again ... and after 1-2 min again ... etc. 2 Hours of perfect tunein stream while display stays on over wifi or 3g (tested).
What is happening there ? Does the display off function slows down the wifi and 3g so extremly ?
I did :
full wiped and clean installed jellytime (it happens on unofficial cm10 too)
played with governors, i/o setting, cpu freq
installed 5 different radios
Nothing helped.
On cm7.2 works everything like a charm.
The only thing that comes to my mind is for the wifi part and I mean the "Keep Wi-Fi on during sleep" option in "Advanced Wi-Fi" settings. But I guess this option is set to "Always" by default.
As for the governor (which would be my second guess if we weren't talking about quite well equipped DHD), the widely accepted one is smartassv2. But that's most likely not the issue.
I use JellyTime myself and I think my wifi connection is much faster with display on, too. It doesn't completely cut off with display off, though.
Sorry if I couldn't be of any help.
Other suggestions, anyone?
Thank you for the answer. I tried all governors but always the same issue.
Is there a possibility to deactivate proximity sensor for a workaround?
jmg81 said:
Thank you for the answer. I tried all governors but always the same issue.
Is there a possibility to deactivate proximity sensor for a workaround?
Click to expand...
Click to collapse
To disbale it the only solution that i know of is to install DHD_Proximity_Recalibrator-1.10.apk and set the values to highest, that should "Disable" it.
I tried some more on this issue and this happens now only during WiFi connection. I tested on 3 different wifi networks. On 3g connection it seems not to stutter anymore.
The only thing to use it properly is to let the display on during voip calls or switch to 3g network ...
In the issue tracker of the jellytime rom there is a reported wifi problem. Hope this is the problem and they fix asap.
Could somemore people test a skype call on a wifi connection?

Wi-Fi turns off when phone in deep sleep

Hi, I saw many posts related to this topic Wi-Fi turns off when phone in deep sleep but not able to find a single working solution.
My phone runs on 4.2.1 with wi-fi sleep policy set to NEVER ( that means always on ideally ) , and tried turning on / off wifi optimization, avoid poor connections is not ticked.
Even after doing everything the wifi is turned off after sometime and when i turn on Screen it turns it back! How to do I solve this?? I am using STOCK rom, with just root.. No other battery saver etc. app installed.
emptyragnarok said:
Hi, I saw many posts related to this topic Wi-Fi turns off when phone in deep sleep but not able to find a single working solution.
My phone runs on 4.2.1 with wi-fi sleep policy set to NEVER ( that means always on ideally ) , and tried turning on / off wifi optimization, avoid poor connections is not ticked.
Even after doing everything the wifi is turned off after sometime and when i turn on Screen it turns it back! How to do I solve this?? I am using STOCK rom, with just root.. No other battery saver etc. app installed.
Click to expand...
Click to collapse
Set it to Never instead of Always. Its ass backwards.
scottx . said:
Set it to Never instead of Always. Its ass backwards.
Click to expand...
Click to collapse
OP stated its already set to never
Sent from my Vivid 4G using Tapatalk 2
well i have this problem too on every jelly bean rom. the only rom without this problem in cm10 stable. now i'm with cm10.1 hoping they'll fix it like in cm10.
when that problem comes out just toggle on and off airplane mode and it should disappear until next wifi toggle off and on.
I hope google will solve it in key lime pie
CM 10.1 has only just started doing this in the last week or so, it was fine before. Was wondering if it was just me with this issue or not...
emptyragnarok said:
Hi, I saw many posts related to this topic Wi-Fi turns off when phone in deep sleep but not able to find a single working solution.
My phone runs on 4.2.1 with wi-fi sleep policy set to NEVER ( that means always on ideally ) , and tried turning on / off wifi optimization, avoid poor connections is not ticked.
Even after doing everything the wifi is turned off after sometime and when i turn on Screen it turns it back! How to do I solve this?? I am using STOCK rom, with just root.. No other battery saver etc. app installed.
Click to expand...
Click to collapse
Am i correct in understanding that you don't want it to disconnect? The option in the settings is "Keep wifi on during sleep". If you have it at Never, then it will disconnect when the phone goes into sleep. It should be placed on Always because you want it to be on even during sleep
Flowed and Tapped from my Nexus
fixed the wifi problem
Heya! My first post!!!
So, i had the same problem on my Allview P5 Quad.
The guys from Allview released an update for my phone based on 4.2.1 and i thought the problem was from them. I had WiFi turned on and after a few minutes from entering sleep mode, the WiFi got disconnected, both WiFi and data. I have installed the last update again and again, rooted, unrooted, tried every option from WiFi and i still had the same problem.
So i timed the time when the WiFi disconnects and it was exactly 6 minutes. So i thought that it must be an option that does this. So i unchecked the Quick Power Saving icon from Switches and ... SURPRISE! My WiFi stays on continuously. So, the problem is from the system power saving settings. I hope this helps all of you.
P.S. Love this forum! Thanks for all your help!
I believe I found the problem, some how it is not the phone but my wifi router (and all routers) is the problem. Go into your router settings and look for the "Beacon Interval" and set that number to 50. I'm not going to explain what the beacon interval is, go google it and you will see. I switched mine and now the wifi on my phone does not switch off when in deep sleep.

Here's my workaround for the annoying WiFi battery drain bug on CM10.1

This is no longer needed! The bug is fixed with the new quattrimus and the Wind kernels... and probably an upcoming official one as well. 3-30-13
This is for those of you on CM10.1 (or ROMs based on it) who use wifi and need a way to work around the Wifi battery draining bug. If you didn't know, the wifi bug will cause your device to lose power at at rate of 6-10% per hour while just sitting idle with wifi turned on. This is aggravating for those of us who use wifi a lot and are used to just leaving it on because normally wifi uses LESS power than other connections!
I was formerly using DS Battery Saver or Green Power to toggle my connections, but I like the following method better because it is a bit smarter (you'll see what I mean). Also, sometimes those connection toggler apps would screw up my autosyncing and messages wouldn't show up for hours.
I tried the wifi timeout hack, which kind of sucked because wifi still stayed on in areas with no wifi.
After trying a ton of apps and combinations of apps, I've found a solution that works pretty well. Here it is:
1) Install the app "Better Wifi On/Off" by Sven Knispel
2) Open it up and hit the settings button. Put a check on "Expert Mode", then back out of the settings and go back in.
3) Place check marks next to the following settings options only:
- Enable when user turns wifi on
- Start on boot
- On when screen unlocked
- On when plugged in
- Only if connected
- If wakelock is held
- If network activity
- If plugged in
- Off when unplugged
- Off when screen off
4) Now find the option marked 'Delay - Time to wait before checking Wifi status' and set it to 10s. 0s may also work well, but I haven't tested it.
5) Profit.
*If you have problems with the program stopping, you can go back into Settings and put a check on 'Run as foreground service'.
**The program has a widget you can add to a homescreen so you can quickly disable/enable it if you have to.
With this setup, Wifi simply turns on when I need it and automatically turns off when I don't. It checks for traffic and won't kill the connection until your download or stream is done. It checks for access points, and if there are none available it turns wifi off... something that DSBS and other similar apps don't do all that well.
I'm getting battery life similar to if I had DSBS, Juice Defender or Green Power running- but I never lose autosync and nothing is ever delayed, because mobile data never turns off. I tested my hotspot function and it worked just fine with no interference.
Hope this helps until (if) we ever get a real fix for the wifi drain bug.
I'm not sure if I had something set wrong or it was an interaction with another program or something else, but I tried it and it locked up my phone hard. Not even the buttons light or feedback goes off but no screen. Had to use the hold power to reset.
I hope they're able to get the power issues taken care of in CM10. With the newer nightlies and the wind kernel it's honestly about as stable as CM9 for me. Power usage is my only major issue now.
SeriousGeorge said:
I'm not sure if I had something set wrong or it was an interaction with another program or something else, but I tried it and it locked up my phone hard. Not even the buttons light or feedback goes off but no screen. Had to use the hold power to reset.
I hope they're able to get the power issues taken care of in CM10. With the newer nightlies and the wind kernel it's honestly about as stable as CM9 for me. Power usage is my only major issue now.
Click to expand...
Click to collapse
Yeah it must have been something else at play- the above app doesn't really do anything unusual that would cause a hang. It's been doing well for me today- I've been using my phone pretty steady since 7am and I'm at 40% battery (now almost 4pm). I'm currently on miroslav_mm's CM10.1 build.

Categories

Resources