Apps don't update when I turn my screen off - HTC Amaze 4G

Hey, I was just wondering if anyone else was having this problem.
When I update or download apps from the play store, the downloading/installing stops when I turn my screen off. It seems to happen on both my wifi and 3g.
I'm running stock TMobile USA.
What could be the problem?
One more thing this only started to happen after I updated to ICS.
Sent from my HTC_Amaze_4G using XDA

Anyone? Nobody else has this problem?
Sent from my HTC_Amaze_4G using XDA

What's your Wifi Sleep Policy on?
I actually think my phone stops "syncing" when my screen is off too.
Because when I turn it back on I get flooded with messages in one my chatting apps.
Anyway, I still think my phone sleeps when the screen is off but I checked my Wifi Sleep Policy anyway.
menu>settings>wifi>menu>advanced>keep wifi on during sleep>always
Hope this helps.

It is set to never. And this happens when I'm using the 3g network as well.

I have the same issue. I can only assume that it is a battery saving feature of ICS.
Sent from my HTC_Amaze_4G using XDA

Is there a way to turn this off? It's annoying.
Sent from my HTC_Amaze_4G using XDA

I did some testing. What I did was I went into Advanced WiFi settings and changed the "Keep WiFi On During Sleep" setting. After that, I connected my device wirelessly with adbwireless. I would set it to ping a network connected device (not my computer)'s IP address through "adb shell ping (ip address here)" I would then observe results with each of 3 settings when I allowed the device to sleep according to its timeout (30 seconds).
First setting: Always [keep wifi on during sleep]- Pinged the network connected device's IP address, and once the device's screen timed out, adb stopped responding approximately 2 seconds after it timed out. It actually just halted the entire process, as when I woke it up, it resumed pinging. Normally it would have a roundtrip time of around 10-30 milliseconds. The moment I woke it up, it resumed the pinging. The first ping when I woke it up had a roundtrip of 300 milliseconds (or the amount of time it was asleep). This shows that it halts the entire process while sleeping.
Strangely, when I use my computer to ping the phone, even during sleep, the device will resume pinging the specific network connected device until I stop pinging the phone. Once stopped, the adb "hangs" until I either wake it up, or ping my phone again.
I repeated this experiment with the 2 other settings, "Only when plugged in", and "Never", and the results were the same. This must be a feature of ICS, I can only presume. I wish someone (or I) could come up with a fix, as it can get annoying. It sucks needing about 20 different apps updating, and then realizing that you can't just start updating it and then put it back in your pocket.
EDIT: Also, when I plug the phone in my computer and use adb (without adbwireless), the device will ping my network connected device continuously until I stop it. I also tested this while charging my phone and using adbwireless. The results were the same, it would continuously ping my network connected device until I stopped it. It shows that it will allow the phone using the network during sleep only when charging. I tested it with the development option "Stay awake" set to on and off. The results for both were the same.

So in other words, if I had it plugged into my charger or my computer, the phone will not suspend data if the screen turns off?
Sent from my HTC_Amaze_4G using XDA

GGWC808 said:
So in other words, if I had it plugged into my charger or my computer, the phone will not suspend data if the screen turns off?
Sent from my HTC_Amaze_4G using XDA
Click to expand...
Click to collapse
Exactly.

Related

[Q] Wifi connection gets disabled on sleep...

I have a GTab runn Vegan 5.1 and it runs great. The one issue that I have is that my Wifi gets disabled each night when it goes to sleep. When I say "disabled" I do not mean this it disconnect, but rather that something is actually putting it into a "Disabled" state and I must select the connection and choose to enable it.
Does anyone have any thoughts on what could be doing this? I have dug through every setting I can think of and also looked at any apps that might be doing this. I even went so far as to remove all my battery saving apps, but no dice.
Any suggestions?
kmclaren said:
I have a GTab runn Vegan 5.1 and it runs great. The one issue that I have is that my Wifi gets disabled each night when it goes to sleep. When I say "disabled" I do not mean this it disconnect, but rather that something is actually putting it into a "Disabled" state and I must select the connection and choose to enable it.
Does anyone have any thoughts on what could be doing this? I have dug through every setting I can think of and also looked at any apps that might be doing this. I even went so far as to remove all my battery saving apps, but no dice.
Any suggestions?
Click to expand...
Click to collapse
Settings - Wireless - Wireless Settings - (Press Soft Menu Button, you will see Scan and Advanced buttons popup) - Advanced - Wifi Sleep Policy - Never
Still getting Wifi disabled...
MasterColdSoul said:
Settings - Wireless - Wireless Settings - (Press Soft Menu Button, you will see Scan and Advanced buttons popup) - Advanced - Wifi Sleep Policy - Never
Click to expand...
Click to collapse
Have the sleep policy set at never and this does not change anything. From what I understand this setting will disconnect wifi when the device goes to sleep. In my case the connection is not disconnected but rather completely disabled. So it seems that there is some other thing disabling the connection.
So, to give a bit more info here, I have installed wifi keep alive to try and save the connection. This keeps the wifi from being disabled when it is plugged in, but it still gets disabled when it sleeps and is also unplugged. (I.e. on battery and sleeping)
So, I am starting to think that the setting that fixes the problem while pluggedin is settings / applications / development / stay awake. I have this turned on and it seems that with stay awake and the wifi keep alive I am good when plugged in.
So, does anyone have thoughts for a similar setting when on battery power?
I can't help to much with battery power since I almost always have mine plugged in.
It's odd that not helping you, once I made that chance I stopped having my Wifi turn itself off (not sleep, off, and the tablet would need to be reset a lot).
Sorry that wasn't much help.
Having this problem as well. Anyone know how to fix?
If you notice other weird stuff happening in the future you may need to repartition your internal memory. Mine started with similar flubs and progressed to never remembering logins online. I had to login to xda every time I turned my device back on. Keep this in mind, about 30% of people need to reformat.
Sent from my Chromatic Magic using XDA Premium App
"WiFi stay alive" will help you!
Mantara said:
If you notice other weird stuff happening in the future you may need to repartition your internal memory. Mine started with similar flubs and progressed to never remembering logins online. I had to login to xda every time I turned my device back on. Keep this in mind, about 30% of people need to reformat.
Sent from my Chromatic Magic using XDA Premium App
Click to expand...
Click to collapse
can you give some info as to how one would go about doing this?
For what its worth, might help to set a fixed IP address. I often got a problem with Wifi not being able to reconnect because it got stuck on "getting an IP address" and failed to do so. I seem to remember it disabled the connexion to that AP after too many tries on my Nexus One.
On my g tablet, I was having what seemed to be the same problem, so I did the same thing and it seems stable since. Granted I didn't toy with it as much as I did on the N1, but I wouldn't be supprised if it were a general Android problem.
Anyways, its free to try.
The wireless uses a lot of power. When the tablet "sleeps", it should go into a power saving mode. Disabling the wireless is a feature, not a bug.
Either way how can I keep the wifi signal on so when i wake my g tab up the wifi is ready to go and does not have to reconnect?
anyone have anything to help with this?
I am not sure, but it seems to me that downloaded apps can play with wifi this way, as long as they have rights to "access internet, modify and bla-bla-bla".
I am having same problem after sleep. And it was not present from the beginning. It may starts after I upload some app. I will play with this after coming back home.
yes please let us know thank you!
wasserkapf said:
The wireless uses a lot of power. When the tablet "sleeps", it should go into a power saving mode. Disabling the wireless is a feature, not a bug.
Click to expand...
Click to collapse
When my tablet is plugged in and it goes to sleep, the Wifi also disconnects, so I don't think this is a feature any more than the screen angle issue is a "privacy feature." I've never had an Android device that powered down connectivity when the screen goes off, that totally negates the notification features. You basically have a comatose tablet after a few minutes of the screen being off.
I don't think the Xoom or Galaxy Tab have this problem, so there's definitely an issue. Sadly, I might be sending mine back to TigerDirect as faulty because of this.
I have this problem too. As others have said, the problem isnt that the wifi turns off when the tablet sleeps. The problem is the last connected access point gets disabled so when you wake, you have to go into settings and tell it to connect again.
In my case, it happens most of the time, but not always. My Android phone doesnt have this problem.
I did a factory reset, then used nvFlash to restore, and then did a fresh install of Vegan (thought it did the same on every other 2.2 ROM I tried). I didn't install any apps, and the problem still occurs. Tried using Wifi Fixer, and the problem still occurs (though on the bright side, it does reconnect about 10 seconds or so after waking).
I'm out of ideas. I hate to send this thing back because it's the most fun piece of tech I've had in years, but a comatose Android device is a dealbreaker Going to try a GB ROM, and then I give up.
I've got the same kind of issue. I lose my PSA key in my wireless settings every time and have to re-enter it.
I installed the Vegan GB ROM (along with pershoot's kernel), and the wifi stays on if you choose "Never" for wifi sleep (you have to hit the menu button and choose "Advanced" when you're in the wifi settings). Only problem is, the GB ROMs, while zippy, are a little raw right now, and my Launcher Pro GMail widget doesn't work
I'm going to try one of the 2.2 ROMs again today along with pershoot's Froyo kernel to see if it makes a difference.
Ok, YMMV, but I am using Calkukin's ROM with pershoot's kernel (was using Clemsyn's before), with wifi set to never sleep, and my wifi doesn't sleep any more. I left my phone and tab here at work while I went out for lunch (felt naked ...), and came back about 45 mins later, woke the tab, and wifi was still connected, without that "looks connected, oh the icon is now disconnected, oh it's back again!" bit.
I still receive notifications and email, and widgets update. Guess I'm keeping it

Question about wifi sleep policy

I set my wifi sleep policy to sleep when display is off. However, when I look at activity monitor graph in the battery menu, I see that wifi is being shown as still on. I also notice when I turn on my phone I see the wifi indicator. I cant imagine its connecting that quickly!
So my question...is wifi really being turned off according to the sleep policy setting?
How long are you waiting after you turn the screen off to turn it back on to check? It definitely waits some time before shutting the wifi off.
Sent from my SAMSUNG-SGH-I777 using xda premium
Also if you have anything on your phone that wakes the wifi, or if you are checking multiple times each hour, every time it wakes it will go all the way through search for signal and make a connection and then set idle for a few minutes before it will go back to sleep.
For me I have found just leaving the wifi on all the time was a much lower battery drain than letting it sleep at all.
Sent from my SAMSUNG-SGH-I777 using XDA App

WiFi will not stay on.

I have to constantly toggle Wifi on and off all the time. I know it is a known issue but is it as common as mine is? Is there any fix to this? I hope it is a priority of CM7 developers cause it is making android on the touchpad pointless.
LoL, I tried to post this but guess what? Wifi off again. Here we go...
Sent from my HP Touchpad using xda premium
Yes everyone experiences this quite often... its why is is a known issue. Its also why so many threads on the issue exist. Its also why its in the Common issues and problems thread at the VERY top. People wouldn't have so much emphasis on it if it wasn't common.
Make sure you set your Wifi Sleep policy in Wifi advanced settings to NEVER.
The problem I am having is that I can connect to a network. Says the normal optaining ip address, then it says connected, but I have no internet connection. I do have internet connection on multiple devices running on the same network. Did I miss something in the settings for wifi? Thank you
This guy also suggests changing the hostname to something more palatable to some routers:
http://forum.xda-developers.com/showthread.php?t=1319838
Not sure if it'll help, but I've made this change myself. We'll see...
I'm running Android without any problem with WiFi, but, I do run Regpon to keep it "alive".
It may help unless you are talking about problems with Webos!
Wifi is basically useless to me on Android. It will work for a couple minutes, crap out, say it's connected yet provide no connection, etc. I'm just going to stop worrying about it until an update is out.
--
Sent from my Droid Bionic.
I had WiFi working for a bit after first installing CM7, but after it went to sleep' I can't reconnect. I get force closes when I try editing WiFi settings. I've tried rebooting multiple times, toggling wifi on and off, airplane mode on and off, etc. It refuses to reconnect. It shows "connecting” briefly, but never actually does.
Can't do much of anything with no wifi... It was great while it lasted though.
Search is your friend people..... Known issue but there is a temp fix you need to do once and you will be fine until the next time you reboot. Leaving wifi on, press your network and tell your tp to forget it. Now turn wifi off. Turn back on, select your network, enter key and you are good to go until you reboot. Easy fix.
If wii settings is running real slow, no worries, do above steps pressing buttons only once and wait, it will catch up. If you pop up says it is not responding, click wait, it will work. Remember you only have to do this on reboots.
Sent from my HP Touchpad using Tapatalk
Gvndeb60 said:
Search is your friend people..... Known issue but there is a temp fix you need to do once and you will be fine until the next time you reboot. Leaving wifi on, press your network and tell your tp to forget it. Now turn wifi off. Turn back on, select your network, enter key and you are good to go until you reboot. Easy fix.
If wii settings is running real slow, no worries, do above steps pressing buttons only once and wait, it will catch up. If you pop up says it is not responding, click wait, it will work. Remember you only have to do this on reboots.
Sent from my HP Touchpad using Tapatalk
Click to expand...
Click to collapse
Doesn't work for me. *shrug*
Gvndeb60 said:
Search is your friend people..... Known issue but there is a temp fix you need to do once and you will be fine until the next time you reboot. Leaving wifi on, press your network and tell your tp to forget it. Now turn wifi off. Turn back on, select your network, enter key and you are good to go until you reboot. Easy fix.
If wii settings is running real slow, no worries, do above steps pressing buttons only once and wait, it will catch up. If you pop up says it is not responding, click wait, it will work. Remember you only have to do this on reboots.
Sent from my HP Touchpad using Tapatalk
Click to expand...
Click to collapse
Thanks, but it also doesn't work for me. I had already searched, found that method (aside from already thinking of it and attempting it myself), but I get force closes every time and clicking wait doesn't help. It never allows me to click "Forget Network". It just cycles through Force Close when I try to get the menu to pop up allowing me to click on "Forget Network".
I downloaded an app called softlocker and it keeps the unit from going to sleep in all ways. I have noticed a huge improvement
We are clearly talking about 2 different problems here.
1) The known issue where WiFi is rock solid whilst using the touchpad, but if you let it go into deep sleep it will turn off and not come back until the wifi is cycled
2) This guys problem where he is randomly being disconnected whilst using his pad. I recommend getting the latest firmware update for your home router and also "temporarily" turn off all WiFi security connect your pad and see how it reacts, just to make sure this is not a security issue.
My Wifi crapped out a couple times last night. I was playing with Airplane Mode. After turning off Airplane Mode it works flawlessly again.
If it keeps searching / obtaining ip, put in the correct password.
I seem to have fixed the issue by changing my router from WPA to WEP security. Haven't dropped my connection in over 24 hours. Perfect.
Edit: 48 hours now, never dropped wifi.

Wifi disconnecting

Is anyone else having problems with the S3 not staying connected to wifi? Mine usually disconnects when it goes into sleep mode. When I turn on the screen it comes back on again. I'm running Wanam Lite 6.2 (DLJ4)
What sleep policy have you got it set too?
(Settings/Wi-Fi/menu button/advanced)
I'm the same even with the sleep policy set to wifi never sleeps. . Constantly having wifi disconnect issues with this darn phone.
Sent from my GT-I9300 using xda app-developers app
Try different security on router
Try this, on phone pad click *#0011# this takes you into service mode. click menu then click wifi this brings up a screen with info on it. There is a box which says on. press this so it says off then click done. Your wifi will stay connected until you shut the phone down. When you restart your phone go through the process again. A pain I know but it works.
Colin
colint3 said:
Try this, on phone pad click *#0011# this takes you into service mode. click menu then click wifi this brings up a screen with info on it. There is a box which says on. press this so it says off then click done. Your wifi will stay connected until you shut the phone down. When you restart your phone go through the process again. A pain I know but it works.
Colin
Click to expand...
Click to collapse
Thanks colin, I've heard this before and helps somewhat with the sleeping wifi, but not with random disconnects/reconnects, ive been creating lots of threads tryna solve my issue, may return my handset
Cheers
I've got "keep wifi on during sleep" set to "Always". Have also used *#0011# to turn off wifi power save mode, but it still turns off the wifi radio.
Turning PSM off works for my however the battery drains upto 5 times faster! So much so it's better to just manually keep reconnecting rather than turning PSM off. Is there a someway of tweaking PSM to not disconnect?

How to stop 3g data from going into deep sleep

Hi, I have a Samsung Galaxy A3(2017). This is an unattended phone with teamviewer host installed. I want to get to this phone at any times, but I seem to be unable to connect to phone after about 5-6 hours (or one night sleep).
I have tried install an app called HSPA+ tweaked and this fixes the problem, but it eats up my battery really fast. It sends ping request every 5 sec or so.
Is there any other way to keep my 3g/4g from going into sleep? I have tried different programs that stops phone from sleep, but mobile data (3g/4g) will still sleep after 5-6 hours unattended.
Please any help is appreciated.
Thanx
Sent from my iPhone using Tapatalk
Up.
Noone knows?
Is it possible to make tasker send ping request every other hour?
Any suggestions?
Sent from my iPhone using Tapatalk
Did you tried connection stabilizer booster?
https://play.google.com/store/apps/details?id=com.connectionstabilizerbooster&hl=it
Seems able to keep a data connetion alive as you need, by using "Keep Alive" and "Reconnector".
Let us know if works.
EDIT: under the settings tab for "Keep Alive" you can also set the timeout for the ping command: by default is set to 5 seconds but you can increase this value.
This app did not work at all. Active keep alive is suppose to work, but it doesn't. It will stop sending ping quite fast. I tried to set it to ping every minute. After 15 minutes it stopped. No error in logs. active reconnect needs root access. I don't have that now. I tried to root, but I almost bricked my device.
Sent from my iPhone using Tapatalk

Categories

Resources