[WIFI POLICY] Idea for the best Wifi battery save - Samsung Galaxy Nexus

Now, there are 3 different modes for the Wifi suspension control:
- Never: This option never turn off the wifi connection. So, is better when you are connected to a wifi, but is worse when you are not, because the phone is always searching for connection.
- When it´s not charging: This option turns off the wifi when you turn off the screen, if the phone is not charging, so, is basically like the next option if the phone is not charging, and the first option if the phone is charging.
- Always: This option turn off the wifi always when you turn off the screen. So, is better when you are not connected to a wifi, because the phone isn´t draining battery searching for wifi. But it is worse when you are in a known wifi zone, because the phone is using the data instead the wifi when the screen is off, which drains more battery and waste data of your mobile monthly data.
Neglecting the option of turning wifi on/off manually thorugh the widget, and not using 3rd party apps like juicedefender, I thing the most intelligent and battery saver option depends on your life. So there isn´t a good option for all the people and for all days. For example, I thing the best option for me in the working days is 'Always', because I doesn´t have wifi in my working place, and I spend 10 hours a day on it, so, when I am working, the phone is in my pocket without searching for wifi, but, in the weekend, the best option for me is 'Never', because I spend a lot of time on my house. Finally, for a person who stays the most time of his day in a wifi zone, the best option is 'Never'.
Ok, now I ask, it could be an option that could be the best for all the people? I think the answer is YES:
I think if could be possible to have a mix of 'Never' and 'Always'. I explain, imagine the wifi is suspended at this moment, so you are on mobile data, and you are in your house, for example, and turn on the screen to view the weather. When you turn on the screen, the wifi awakes and connect to your home´s wifi connecion and you view the weather. Now you turn off the screen, BUT, THIS IS THE DIFFERENCE whith the 'Always' option, the wifi DOESN´T turns off, because it is connected at this moment. So, all the time you are at home, since the first screen´s turn on, the phone is connected to the wifi, saving mobile data, and battery, because the wifi drains less battery. Now, you leave your home, and, when the phone lost the wifi signal, turns the wifi off, so, when you are in a not known wifi zone (like the street), the wifi suspends itself for saving battery of wifi searching. The wifi only will search for a known wifi when the screen is on (like now with the 'Always' option) and, if it isn´t connected to a wifi when you turn off the screen, the wifi goes to suspension mode. Now you enter to your home again, with the phone in your pocket, with the screen off, so the phone won´t connect to your home wifi until you turn on the screen, and at this moment, your phone will always be connected to your home wifi until you leave your home again.
I think that is a good idea, and I guess why google doesn´t include something like this in android, it could be the best option for all people in all the situations.
What do you thing about the idea?

I like the idea and I would love to see it implemented! Whenever wifi signal drops out, don't search for it until screen is on.. Would be brilliant!
Sent from my Galaxy Nexus using xda premium

I am pretty sure we can configure a Tasker profile for something like that!

Pat123 said:
I am pretty sure we can configure a Tasker profile for something like that!
Click to expand...
Click to collapse
Probably, but the ideal case would be the option integrated into de system

up

Sounds like a good idea
but for now i use Y5 app

I like the idea, I think its very logical. I fall into the "always around WiFi" group of people though and the "Wifi sleep>Never" options suits me well, If I ever am not in my usual places, I have a wifi toggle on my notif bar for that. One thing I do miss though is the app "WiFi Status", its not compatable with either ICS or the SGN, not sure what the problem is, so I cant use it.

Related

Wifi/3g

If I turn wifi on at my house and leave a little later, will it automatically switch back to 3g until wifi is available again? And so on throughout the day?
Sent from my SPH-D700 using XDA App
Depends on your Wifi sleep policy.
If set to never sleep, then as long as you stay in wifi range it will stay connected even if the screen is off. If you venture out of wifi range it will jump to 3G and continuously search for a new wifi network at whatever the default TouchWiz scan interval is.
If set to sleep when screen is off, then it will swap back to 3G when the phone screen is off and therefore do your syncing over 3G while the screen is off. When you turn the screen back on, wifi will reconnect if still within range.
If set to never sleep when plugged in, then it will remain on wifi as long as you're within range and have the phone plugged in. Otherwise it will revert to 3G if no longer plugged in and the screen is off. (Never used this choice, so I could be off a bit.)
Pretty sure I covered the cases. I've tried the screen off (TouchWiz default) choice and never (current setting) choice. I find the plugged in choice pointless for me.

[Q] Auto night powerdown

I have an HD2 with WP7 - XBmod, and it uses a lot off battery power during the night special if I enable Wifi, 3G, Data, bluetooth, GPS...
I know that if I disable all this before I go to sleep all is bether, but life have to be easy!
Is there a sitting or a program that can auto disable all power consuming hardware in a specified time periode. Fx from 23:00 to 07:00?
it might be better to ask in the WP7 HD2 section... but in general, gps isn't on unless an app summons it to be on (even if you leave the use location setting on), and wifi turns off if the phone is not charging and goes to stand by. so that really just leaves 3G and blue tooth that runs whilst your phone is in standby mode.
though there is no setting in particular to do what you want.

Using Tasker to save that battery

Just thought I would post some of my tasker setup to make my battery last a very long time!
First you need Tasker
You also need Secure Settings
And lastly you need Synker
if you want to make my settings super easy to install just download the two attached files and place them on the Sdcard in the Tasker folder.
userbackup.xml
userbackup.xml.txt
then start Tasker, click on the menu button and select Data then restore. This will place all my prebuilt settings in for you.
The first profile I have is Mobile. I have this profile made for when I am in my car but its settings are for anytime power is plugged in.
The things it does is: Turn on GPS, Turn off auto brightness, turn display brightness to max, turn auto sync on, turn media volume to full, turn display time out to one hour.
When unplugged from power it does the following: Turn off GPS, display turns off after 30 seconds, Auto brightness on, Auto sync off, wifi off.
The next setting turns on GPS automatically once maps or navigation is started then turns it off once you exit those apps.
The next one is the big battery saver! When the display is off it Turns off mobile data and wifi.
When the display turns on it will wait five seconds and then turn on mobile data.
lastly I have it setup to turn on mobile data every 2 hours and sync gmail then turn mobile data back off.
I have had tasker for a long time but never really dug into it until I got the SG2. I think this will make your battery last much much longer.
If anyone has better suggestions please add your input.
18.4009
i have the same setup but use juice defender to do the same thing as tasker and synker. it can actually more, like sync more or less at certain times of the day. but i've been thinking about switching to tasker, might be more battery efficient.
i'm using secure settings to turn gps on\off too, based on what applications get run. i noticed the little tray icon only turns on when an app is actively using the gps tho. does that mean gps only uses battery when actually in use? but it seems like i get more battery with it turned off completely.
for mobile, i'm going to attach gps to my car's nfc sticker instead of when plugged in. might be a little faster for charging at home.
i guess you could use secure settings and tasker to only turn nfc on at the lockscreen. although i'm not convinced nfc uses much battery.
lets see... i'm also using tasker to immediately turn off the display if upside down (in my pocket).
it turns data off if i'm reading an ebook or watching a video.
i use it for 1 click switching between 2g and 4g.
i use it to switch cpu max between 192000, 918000, and 1728000. you can get crazy battery life by running 192000 all day, but everything will run slow. usually i keep it at 918000 and play games at 172800.
there are lots of other things, but that's the battery stuff.
18.4009 said:
Just thought I would post some of my tasker setup to make my battery last a very long time!
First you need Tasker
You also need Secure Settings
And lastly you need Synker
if you want to make my settings super easy to install just download the two attached files and place them on the Sdcard in the Tasker folder.
userbackup.xml
userbackup.xml.txt
then start Tasker, click on the menu button and select Data then restore. This will place all my prebuilt settings in for you.
The first profile I have is Mobile. I have this profile made for when I am in my car but its settings are for anytime power is plugged in.
The things it does is: Turn on GPS, Turn off auto brightness, turn display brightness to max, turn auto sync on, turn media volume to full, turn display time out to one hour.
When unplugged from power it does the following: Turn off GPS, display turns off after 30 seconds, Auto brightness on, Auto sync off, wifi off.
The next setting turns on GPS automatically once maps or navigation is started then turns it off once you exit those apps.
The next one is the big battery saver! When the display is off it Turns off mobile data and wifi.
When the display turns on it will wait five seconds and then turn on mobile data.
lastly I have it setup to turn on mobile data every 2 hours and sync gmail then turn mobile data back off.
I have had tasker for a long time but never really dug into it until I got the SG2. I think this will make your battery last much much longer.
If anyone has better suggestions please add your input.
18.4009
Click to expand...
Click to collapse
Hey ,I just wanna say thanks I was getting 8 hours on a Verizon extended battery but now using your settings and tasker plus extra apps I'm getting 14 to 15 ,I just wanted to add that it in order to use secure setting you have to root your phone but it worth it.
Sent from my SGH-T989 using XDA
I just check my battery stat and it up to 21 hours,I cant believe it thanks again
Sent from my SGH-T989 using XDA
Do you still have these backup files? The links are dead when I try them. I would like to try out your settings.
Reupload please
Sent from my SGH-T989 using Tapatalk 2
Code-hunt
First post and it's a necro asking for something. I swear I used to have an account here in high school.
Anyway, I think those files are gone. Every time I come back to Tasker I try to start from the group up and a day later I'm fiending for backup.xmls/txt just whatever you use for your battery, please, just a quick string of code.
Re upload
Backup files

[Q] WiFi Slow to Wake Up

I have a Verizon GN. I have an issue with wifi taking a really long time to wake up after the screen has been off. Turning wifi off and on will usually work quickly, but if I don't do this, I can't access the internet sometimes for over a minute even though the wireless is supposedly on and connected (blue). This happens only on my wireless network at home (not at work). My wireless setting on the phone is set to keep wifi on during sleep and wifi optimization is checked. I've unchecked wifi optimization and it didn't really help. Is there something I need to do to my router?

[Q] wifi issue

Firmware B111, kicking out of wifi when screen goes off. Wifi is set up "never go off", but still it goes.
I see it on "Smart Profiles",(tried "Profile Flow" also), as I made a rule based on home wifi to switch BT off, when I'm at home.
After some time, when screen goes off, it turns BT on. When I take the phone, it "see" wifi and switches BT off again. In log file of Profile Flow I can see, how the "HOME" profile goes on and off every 5-10 or 15 minutes.
So, the problem is- why WIFI does not keep on all the time. All the possible battery savers are taken off, but still no constant wireless network connection during phone sleep...
And my wifi based profiles don't work as they suppose to...
double check power save option?
VectraT said:
Firmware B111, kicking out of wifi when screen goes off. Wifi is set up "never go off", but still it goes.
I see it on "Smart Profiles",(tried "Profile Flow" also), as I made a rule based on home wifi to switch BT off, when I'm at home.
After some time, when screen goes off, it turns BT on. When I take the phone, it "see" wifi and switches BT off again. In log file of Profile Flow I can see, how the "HOME" profile goes on and off every 5-10 or 15 minutes.
So, the problem is- why WIFI does not keep on all the time. All the possible battery savers are taken off, but still no constant wireless network connection during phone sleep...
And my wifi based profiles don't work as they suppose to...
Click to expand...
Click to collapse
I had a similar issue but when I switch Power Plan option from Smart to Normal in Power Manager, it seems it's ok now
VectraT said:
Firmware B111, kicking out of wifi when screen goes off. Wifi is set up "never go off", but still it goes.
I see it on "Smart Profiles",(tried "Profile Flow" also), as I made a rule based on home wifi to switch BT off, when I'm at home.
After some time, when screen goes off, it turns BT on. When I take the phone, it "see" wifi and switches BT off again. In log file of Profile Flow I can see, how the "HOME" profile goes on and off every 5-10 or 15 minutes.
So, the problem is- why WIFI does not keep on all the time. All the possible battery savers are taken off, but still no constant wireless network connection during phone sleep...
And my wifi based profiles don't work as they suppose to...
Click to expand...
Click to collapse
it needs tweaking .. if u have plenty bloatware or crapware apps no wonder ..
wifi
brain00 said:
I had a similar issue but when I switch Power Plan option from Smart to Normal in Power Manager, it seems it's ok now
Click to expand...
Click to collapse
Tried that once, but no luck...I'll try again!
About crapware...don't know- all apps are from Play store...

Categories

Resources