Question about wifi sleep policy - AT&T Samsung Galaxy S II SGH-I777

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

Related

WiFi usage

I'm kind of puzzled here. When my WiFi is turned on, I have a constant data transfer of about 20 Kbps (10 send, 10 receive), whilst if I switch on 3G, I have no data transfer (unless of course I'm browsing or whatever). Also, the WiFi drains about 10% battery / hour, which seems awfully lot to me. I have already tried to switch off all syncing, WiFi policy is set to never go to sleep. Any ideas?
Try "turn off when screen off". My wifi drains 1-3% depending on reception and amount of sync. Sometimes apps seem to hang when syncing and keep the phone awake more then they should thus draining more battery.
Sent from my GT-I9100
The point would be to have wifi always turned on, so that it notifies me when I get a new email.
Mine seems to be on although it is set to be off when the screen is off because I still get new mails or updates.
Sent from my GT-I9100

[Q] Tasker - can wifi on and wifi off profiles co-exist?

I have a profile that will turn off wifi after one minute if
display off context is true (Wif-Off).
I also have another profile that turns on the wifi if the following
contexts are met (Wifi-On):
1. Location is near home
2. Day is Fri, Sat, Sun
3. Time is 7am - 11:30pm
I created a task (Wifi Turn On).
When I first run the Wifi-On profile I see it as active my
notification bar and wifi is turned on. Once my phone screen is turned off I
assume the Wifi-Off profile becomes active and turns off wifi.
However, when I turn on the phone again, wifi does not turn back on?
Why? Does it not turn back on because the context has not changed
thereby not causing the profile to go through the Wifi Turn On task? I tried adding a display on context to the Wifi-On profile hoping it would make the profile run the Wifi Turn On task but adding this context prevents the profile from ever becoming active for whatever reason.
Is there I can make these two profiles co-exist? I would like to keep wifi turned off whenever not is use to save battery.
Did you add an exit task to the Wifi Off profile? So that when the screen comes on, wifi is enabled...
the_scotsman said:
Did you add an exit task to the Wifi Off profile? So that when the screen comes on, wifi is enabled...
Click to expand...
Click to collapse
Thank you for the reply. The problem with adding an exit task to Wifi Off profile is that I dont want wifi to turn on all the time, which is why I created the Wifi On profile. I only want wifi on during certain times and days and while I near my home. For example, I dont want wifi to turn on while I am at work.
How about Keeping your wifi on profile, and setting your wifi sleep policy under advanced wifi settings, to turn off when screen is off. Then just set up an exit task to turn wifi off when your "on" criteria is not met.
Honestly though I think it saves battery to just keep wifi on, even when screen turns off, so your phone is not constantly checking for cell signal.
Using the "cell near" context won't use much extra battery I don't think? I use it for my location based profiles.
the_scotsman said:
Using the "cell near" context won't use much extra battery I don't think? I use it for my location based profiles.
Click to expand...
Click to collapse
Yes you are right about that. However I am referring to when he is actually connected to wifi, I've read it actually saves battery to just let it stay connected rather than turn off and on again depending on screen state.
Sent from my SGH-T989 using XDA App
Lagar said:
Yes you are right about that. However I am referring to when he is actually connected to wifi, I've read it actually saves battery to just let it stay connected rather than turn off and on again depending on screen state.
Sent from my SGH-T989 using XDA App
Click to expand...
Click to collapse
Ahhh I see
Lagar said:
Yes you are right about that. However I am referring to when he is actually connected to wifi, I've read it actually saves battery to just let it stay connected rather than turn off and on again depending on screen state.
Sent from my SGH-T989 using XDA App
Click to expand...
Click to collapse
Hmmm...gotta test to see if this is true.
tboooe said:
Hmmm...gotta test to see if this is true.
Click to expand...
Click to collapse
http://m.androidcentral.com/android-101-save-battery-keeping-wifi-alive
Sent from my SGH-T989 using XDA App
Lagar said:
http://m.androidcentral.com/android-101-save-battery-keeping-wifi-alive
Sent from my SGH-T989 using XDA App
Click to expand...
Click to collapse
Nice article..however I think in my case it makes more sense to turn off wifi when the screen turns off. Even at home, my phone spends much more time off than it does on. I also have my phone to not sync emails, data, etc only on demand. So I think for me, it save battery to turn off wifi when the screen turns off. However, that is still good information.
In that case the wifi sleep policy should work for what you want.
Sent from my SGH-T989 using XDA App
Lagar said:
In that case the wifi sleep policy should work for what you want.
Sent from my SGH-T989 using XDA App
Click to expand...
Click to collapse
So whats the difference between turning off wifi and having wifi go to sleep?
EDIT: forget it...did a little google search...so wifi sleep and off are the same thing.

How I cut down battery drain when I'm not using my TFP

1. disable auto sync'ing on all apps such as email. I'd rather manually refresh when I use the particular app
2. Force Stop Google Maps from the Downloaded Apps list, not just stop it on the Running list. This stops Maps from restarting itself
3. Set wifi sleep policy to "Never when plugged in". All battery tips say to set wifi sleep policy to "Never". I don't think it's right for tablet. Let wifi sleep when not using it, unless you are downloading movies or tv shows then plug in the power.
The change is I used to recharge every other day, now I recharge every 3-4 days. Hope you get good results with my suggestions too.
bklm1234 said:
1. disable auto sync'ing on all apps such as email. I'd rather manually refresh when I use the particular app
2. Force Stop Google Maps from the Downloaded Apps list, not just stop it on the Running list. This stops Maps from restarting itself
3. Set wifi sleep policy to "Never when plugged in". All battery tips say to set wifi sleep policy to "Never". I don't think it's right for tablet. Let wifi sleep when not using it, unless you are downloading movies or tv shows then plug in the power.
The change is I used to recharge every other day, now I recharge every 3-4 days. Hope you get good results with my suggestions too.
Click to expand...
Click to collapse
thanks for the tip. another one is not to use auto brightness and try to keep brightness around 25% or less.
I actually froze maps with TiBu. I'll use it on my phone if I need it. It seemed to help a ton. Also, I turned ips+ on and turn brightness all the way down instead of leaving ips+ off and turning brightness up a little, I don't know if this actually helped battery or not but it kind of seemed to to me.
Sent from my ICS lovin 3D!!!
If I've helped you in any way... hit the "Thanks" button.
I find that not using my prime helps to preserve battery life..... C'mon guys, android is not a day old, and all these tips are more common sense nowadays than acquired knowledge. Meanwhile, I commend OP for trying to help.
OP, point no2, it depends wherever you allowed Google to use location at setup (you can change it in settings), you can shut it down all you like, but as soon as you use an app that needs location service is going to restart.
Sent from my Transformer Prime TF201 using XDA Premium HD app
bklm1234 said:
1. disable auto sync'ing on all apps such as email. I'd rather manually refresh when I use the particular app
2. Force Stop Google Maps from the Downloaded Apps list, not just stop it on the Running list. This stops Maps from restarting itself
3. Set wifi sleep policy to "Never when plugged in". All battery tips say to set wifi sleep policy to "Never". I don't think it's right for tablet. Let wifi sleep when not using it, unless you are downloading movies or tv shows then plug in the power.
The change is I used to recharge every other day, now I recharge every 3-4 days. Hope you get good results with my suggestions too.
Click to expand...
Click to collapse
If your WiFi turns off when your tablet is sleeping, I don't think it is necessary to disable auto syncing of apps, since they won't sync without a data connection anyway.
Also I don't know what force stopping Google Maps is supposed to accomplish. Again if there is no data connection it isn't downloading or sending information it most likely isn't using any CPU.
The most important setting here is to disable WiFi when the tablet is sleeping. That is the only setting I have changed and I also get 3-4 days of battery life with moderate usage between charges.
How I cut down battery drain when I'm not using my TFP:
- Power it off
Sent from my Transformer Prime TF201 using XDA Premium HD app
bklm1234 said:
1. disable auto sync'ing on all apps such as email. I'd rather manually refresh when I use the particular app
2. Force Stop Google Maps from the Downloaded Apps list, not just stop it on the Running list. This stops Maps from restarting itself
3. Set wifi sleep policy to "Never when plugged in". All battery tips say to set wifi sleep policy to "Never". I don't think it's right for tablet. Let wifi sleep when not using it, unless you are downloading movies or tv shows then plug in the power.
The change is I used to recharge every other day, now I recharge every 3-4 days. Hope you get good results with my suggestions too.
Click to expand...
Click to collapse
I don't have the option that says "never when plugged in". Mine says "only when plugged in".
I still get crazy good battery idle when undocked. I wont lose a percent for over 10 hours of standby. when it is docked I lose 1% every 2-3 hours. I've tried every setting but it still occurs
d1ez3 said:
I still get crazy good battery idle when undocked. I wont lose a percent for over 10 hours of standby. when it is docked I lose 1% every 2-3 hours. I've tried every setting but it still occurs
Click to expand...
Click to collapse
What standby setting are you using that you aren't losing anything in 10 hours???
I've been thinking about this for a while
d1ez3 said:
I still get crazy good battery idle when undocked. I wont lose a percent for over 10 hours of standby. when it is docked I lose 1% every 2-3 hours. I've tried every setting but it still occurs
Click to expand...
Click to collapse
Same here.
Which got me to thinking, and this is only my common sense here.
On standby it's clear why the dock's battery shouldn't be draining, but when in use the dock needs some sort of power to run. The trackpad needs power, the keys themselves need power, when you push capslock it has a light that turns on which also needs power.
It seems that using it's own battery instead of the tablet's for power consumption while in use is the right way to handle this, and that would also make sense for a higher battery drain when not is standby mode as apposed to standby mode.
Just some of my thoughts.
Sorry you are right. "Only when plugged in"
Sent from my Transformer Prime TF201 using Tapatalk

Apps don't update when I turn my screen off

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.

Disabling cellular, and force power off at certain %?

Hi guys,
I can't seem to find anywhere in this device to force cellular off. I don't want to enable aeroplane mode because I use wifi and GPS.
Also, is there a way to force the device to power down when it's at, say, 8% power? It seems like it powers down when it's totally drained, which causes the device to stop tracking time when it powers back up. I imagine if it could force power down earlier, it would still keep time when I get around to recharging it...
You can enable Airplane mode THEN activate Wifi and GPS ... it's what I'm doing on my truesmart to save battery
BurnQc said:
You can enable Airplane mode THEN activate Wifi and GPS ... it's what I'm doing on my truesmart to save battery
Click to expand...
Click to collapse
Thanks!
Any way to get the device to shut down based on battery %?
It doesn't matter how much battery is remaining when you turn the watch off. It doesn't keep track of the time when its off unless you have it automatically checking the mobile network for the time. Try it. Turn your watch off before the battery dies, wait 10 minutes, then turn it back on. The time will be the same as when you turned it off. Seems stupid but hopefully it will get fixed in a future update.
Use tasker to do it
Sent from my C6833 using XDA Premium 4 mobile app
Here's a free app that should do it. I tried it on my phone and it worked great.
https://play.google.com/store/apps/details?id=AutomateIt.mainPackage
Sent from the Starship Enterprise using my custom modded Tricorder.

Categories

Resources