[IDEA] WIFI Controlled by location - Nexus One Themes and Apps

WIFI Controlled by location, eg. You select area's on Google maps for wifi coverage, wifi is turned on only for these locations and off elsewhere, saving battery.
If latitude is used then could location data be used from that service?
What do you think?
Sent from my Nexus One using XDA App

samo_nz said:
WIFI Controlled by location, eg. You select area's on Google maps for wifi coverage, wifi is turned on only for these locations and off elsewhere, saving battery.
If latitude is used then could location data be used from that service?
What do you think?
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
I would love something like this. Had a feeling something existed already but I can't find it.

check out locale

There's a free app already that does this--Y5 Battery Saver
Very buggy though when I tried it, so it wasn't usable.

xxmonsterx said:
check out locale
Click to expand...
Click to collapse
i use locale for this. though i installed a cell plugin so it doesnt need gps to be on.
basically, it turns on wifi when im home and turns it off when i leave. apart from that... i also have locale turn off almose everything + brightness to 0% when i hit 30% battery.
lastly, i also have locale turn off syncing at night to squeeze in some more juice during the day without having to charge.

'Tasker' is good at this and then some!

harmohn said:
'Tasker' is good at this and then some!
Click to expand...
Click to collapse
Couldn't have said it better, better yet, I have it set to turn wifi on at home and then when not home it turns wifi on for a minute every 15 minutes to check and if it recognizes a familiar SSID, it will connect!

ImSoHungry said:
Couldn't have said it better, better yet, I have it set to turn wifi on at home and then when not home it turns wifi on for a minute every 15 minutes to check and if it recognizes a familiar SSID, it will connect!
Click to expand...
Click to collapse
...nice setup mate

Related

[App/ROM enhancement??]Auto shutoff WiFi

Not sure where to post this idea.
I use WiFi, but almost only when I am home. And then most of the time I am on a charger while using the phone.
I am wondering what it would take to make it so you could select the option to have WiFi shut itself off once you left the network you were currently connected to.
Scenario is, I am connected to my home WiFi. I grab my phone and run out the door. It would be nice if the WiFi would power off once I was disconnected from my home network for say, 15 minutes or so.
I guess I am just lazy, but I so often forget to turn off the WiFi till my battery alert comes on later in the day!
A good app is Y5 from the market, give it a try....its only 32.23 kb
i understand its not perfect, or exactly what your looking for. I figured that maybe you haven't tried this app.
Thanks
Technochris1 said:
A good app is Y5 from the market, give it a try....its only 32.23 kb
i understand its not perfect, or exactly what your looking for. I figured that maybe you haven't tried this app.
Click to expand...
Click to collapse
Thanks for the tip. I d/led and will give it a try. I searched around Market before I posted, but didn't really even know what to look for!
But on another note, it would be nice to see similar functionality built into the wifi settings. I.E. Shuts off when lost signal for 5 mins...etc. Is it even possible to build extras into the settings(app)?
LOCALE is perfect for you.
jcarrz1 said:
LOCALE is perfect for you.
Click to expand...
Click to collapse
HA! i was about to say that.... Yeah dude, locale is what you need.
Y5 is what u need, isnt locale based off time? I may b wrong about [email protected] But Y5 turns off ur Wifi as soon as u r not in range of any remembered networks, and turns it back on when u r.
No, Local and be used based on time, location, and many other variables to not only change wifi state but other things as well, like gps or volume.
Battery usage from WiFi when not connected to a network is minimal, and even so nil when the phone is in standby.
Unless you are having problems with it auto connecting to every WiFi you come across and syncing stuff?
Use WiSync it nags you if you leave a WiFi network and leave it on.
Alternatively you could use Wapdroid which turns your WiFi on and off based on previous results scanning in a given cell zone. ( determined by triangualtion )
Locale works too I guess, but that uses more power than WiFi would if left on.

edit: [req + specs] turn off wifi when access points not available

Hi, I'm looking for a simple app that turns off wifi when it can't connect to the access points that I use.
edit:
the app I have in mind does the following:
Code:
ON POWER ON: check for (say) 30 sec. if a automatic wifi connection is established.
IF NOT: turn of wifi (if its on) and exit app.
ELSE: exit app
Maybe someone can compile such a simple app?
Wouldn't work... how will the phone scan for your access point if it's off.
a more feasible idea is an app that based on aGPS data, but it would probably create a net power drain.
phonealarm can turn on wifi once it detects the cell towers in the areas where you designate, such as home and work but nowhere else. of course, that's general location based...not specifically access-point based (turns off when you go into a basement and turns back on when you're up in the house)
DopeWeasel said:
Wouldn't work... how will the phone scan for your access point if it's off.
a more feasible idea is an app that based on aGPS data, but it would probably create a net power drain.
Click to expand...
Click to collapse
No, no not a intelligent solution... Just a simple app that can notice that a particular access point is not within range when you turn your phone on..
bravo261 said:
phonealarm can turn on wifi once it detects the cell towers in the areas where you designate, such as home and work but nowhere else. of course, that's general location based...not specifically access-point based (turns off when you go into a basement and turns back on when you're up in the house)
Click to expand...
Click to collapse
Thanks, I will look into it. But I think it's just too much for me. I only want a app. that turns wifi off when I turn on the phone and one of my wifi ap's is not within range.
added a simple design for this app to the first post

[Q] Can I get my location using Cell towers only

Can I get my location with Wifi OFF 3g/LTE off and GPS off using only cell towers or does it need internet to get the info, my father says his Iphone 5 with apple maps doesn't need internet to get his location but what does my father know is this even possible and if so how do I do it on my nexus 5.
fleen said:
Can I get my location with Wifi OFF 3g/LTE off and GPS off using only cell towers or does it need internet to get the info, my father says his Iphone 5 with apple maps doesn't need internet to get his location but what does my father know is this even possible and if so how do I do it on my nexus 5.
Click to expand...
Click to collapse
Settings > Location
Click Mode
Select Battery Saving Mode
Disable Wifi and Mobile Data if you haven't already
Your approximate location will now be determined using cell tower triangulation. However, if you are trying to use Google Maps for example, you need to have previously made the area in which you are currently located available offline, or have it in your Google Maps cache. Otherwise it won't display anything of value to you without some sort of internet connection to download the map data.
You can also use Device mode which will use GPS to pinpoint your location. Same maps caveat applies as above, and obviously you need to be able to get GPS satellite locks (ie. outside or next to a window).
fleen said:
Can I get my location with Wifi OFF 3g/LTE off and GPS off using only cell towers or does it need internet to get the info, my father says his Iphone 5 with apple maps doesn't need internet to get his location but what does my father know is this even possible and if so how do I do it on my nexus 5.
Click to expand...
Click to collapse
You don't need internet to locate yourself only GPS.
Apps like Tasker and Llama can use cell tower location without draining your battery and requires a network connection but not data.
Sent from my Nexus 5 using Tapatalk
xda_fanboy said:
Settings > Location
Click Mode
Select Battery Saving Mode
Disable Wifi and Mobile Data if you haven't already
Your approximate location will now be determined using cell tower triangulation. However, if you are trying to use Google Maps for example, you need to have previously made the area in which you are currently located available offline, or have it in your Google Maps cache. Otherwise it won't display anything of value to you without some sort of internet connection to download the map data.
You can also use Device mode which will use GPS to pinpoint your location. Same maps caveat applies as above, and obviously you need to be able to get GPS satellite locks (ie. outside or next to a window).
Click to expand...
Click to collapse
I can't seem to get it to work I have downloaded google maps to view offline and it just stays there saying "waiting for location..."
And did the part "Settings > Location
Click Mode
Select Battery Saving Mode
Disable Wifi and Mobile Data if you haven't already"
Pretty sure the only way for that to work is if you have "WiFi always scanning" turned on.
You can set your locations to Device Only and it will just use the GPS and nothing else.
Sent from my Nexus 5 using Tapatalk
fleen said:
I can't seem to get it to work I have downloaded google maps to view offline and it just stays there saying "waiting for location..."
And did the part "Settings > Location
Click Mode
Select Battery Saving Mode
Disable Wifi and Mobile Data if you haven't already"
Click to expand...
Click to collapse
You need GPS on at least. Thats what gives you your location. You can get a location based off of three things: Your mobile data, WiFi networks or GPS itself. You said you turned it all off so yeah, you arent going to get a location that way.
jsgraphicart said:
You need GPS on at least. Thats what gives you your location. You can get a location based off of three things: Your mobile data, WiFi networks or GPS itself. You said you turned it all off so yeah, you arent going to get a location that way.
Click to expand...
Click to collapse
I can get my location with wifi and cell towers together. No GPS so I think its possible with Cell Tower Triangulation only in theory.
fleen said:
I can get my location with wifi and cell towers together. No GPS so I think its possible with Cell Tower Triangulation only in theory.
Click to expand...
Click to collapse
Well just from looking at the settings, you can either use GPS, WiFi and mobile networks....WiFi and mobile networks....or GPS only. So I guess, take your pick.
What are you trying to get out of this anyway? Just use your phone for calls and maps and thats it?
jsgraphicart said:
Well just from looking at the settings, you can either use GPS, WiFi and mobile networks....WiFi and mobile networks....or GPS only. So I guess, take your pick.
What are you trying to get out of this anyway? Just use your phone for calls and maps and thats it?
Click to expand...
Click to collapse
You know those fitness apps that track where you have been and stuff, well I want to use one but outdoors theres no wifi and GPS uses too much battery
fleen said:
You know those fitness apps that track where you have been and stuff, well I want to use one but outdoors theres no wifi and GPS uses too much battery
Click to expand...
Click to collapse
If you want to save some battery on the GPS side put your phone in airplane mode. That will shut down all but GPS. I use mine all the time with an app called Backcountry Navigation Pro. They have a free version so you can check out most of the features that way. You can set it to record a track from every 5 seconds to 30 minutes. I set it to 5 minutes and have pretty good accuracy as far as where I've been and the GPS use is only on for that time. You should be able to do that with any good mapping app.
theesotericone said:
If you want to save some battery on the GPS side put your phone in airplane mode. That will shut down all but GPS. I use mine all the time with an app called Backcountry Navigation Pro. They have a free version so you can check out most of the features that way. You can set it to record a track from every 5 seconds to 30 minutes. I set it to 5 minutes and have pretty good accuracy as far as where I've been and the GPS use is only on for that time. You should be able to do that with any good mapping app.
Click to expand...
Click to collapse
This is an option but if I can get the cell tower location working I would prefer it.
fleen said:
This is an option but if I can get the cell tower location working I would prefer it.
Click to expand...
Click to collapse
Cell tower triangulation is not precise at all. It's only used to help your device catch GPS fix faster. If one would only use cell towers the accuracy would in most cases not got below 300-500m...
One cell tower can provide signal for a very large area. It can not be used for precise tracking as you need.
When I drive away from my house it can take over 5 minutes to leave the area of my 3 "home" cell towers.
Sent from my Nexus 5 using Tapatalk
So its not what I want ok guys thanks how can I close this thread now?

[APP][TEQTIC][4.1+] LeanDroid - ? Most advanced battery saver

Introducing LeanDroid:
LeanDroid is a lightweight and incredibly powerful battery saver. It automatically manages the power-hungry radios on your device while the screen is off to significantly lengthen battery life.
Get the most out of your device with the most advanced and efficient battery saver! The no-frills battery saver that actually works!
Features:
-Automatically disables Wi-Fi
-Automatically disables cellular data (root only on Lollipop+)
-Automatically disables cellular radio (root only on Lollipop+)
-Automatically disables Bluetooth
-Automatically disables network location (KitKat+, root only on Lollipop+)
-Automatically disables GPS location (KitKat+, root only on Lollipop+)
-Automatically switches cellular network mode (Lollipop+ and with root)
-Periodically restores connections for sync
-Schedule when LD should be active with the time exception
-Set exceptions for when certain apps are running
-Set exceptions by Wi-Fi name
-Set exceptions by Bluetooth device
-Set exceptions by data transfer speed
-Many more options
-No ads
It can disable WiFi, Cellular Data (2G, 3G, LTE)*, Cellular radio*, Bluetooth, and Location* (networks and GPS) after a certain time with the screen off to conserve battery power and lower data usage. Connections are restored when the screen is turned back on or unlocked, as well as periodically, to allow for notifications to come in. LD will only re-enable connections that it disabled, not all of the selected connections. There are many additional options to set to your preference.
If you have an issue, please email [email protected], or use the contact menu option from the app before leaving a negative review!
Some options explained:
Disable Wi-Fi/Data/Network mode except if active - Connections are only disabled if there is negligible data transfer while the screen is off. Some music services don't "stream" but instead download entire songs at once, and they might do this while the screen is still on. Please set the disable time interval to at least the length of your average song so LD can catch data activity while the screen is off or use the except if "Except if apps running" option.
Disable Wi-Fi except if browser has web login - WiFi is not disabled if it requires a browser login (common for public hotspots or guest networks), so that you do not have to re-enter the password when it is re-enabled.
Disable Wi-Fi except if requires browser login - WiFi is not disabled if it requires a browser login (common for public hotspots or guest networks), so that you do not have to re-enter the password when it is re-enabled.
Disable except if apps running - No connections are disabled if one of the selected apps is found to be running in the foreground or has foreground services. There is a sub-option to also detect background services of the apps.
Restore Data after waiting xx seconds for Wi-Fi to connect - Wait for WiFi to connect before re-enabling cellular data. This prevents data from re-connecting for just a couple of seconds.
Tasker intents
com.teqtic.leandata.INTENT_START_SERVICE
com.teqtic.leandata.INTENT_STOP_SERVICE
* Note:
-Not all options are available on all devices.
-If you are on Android 4.4.1 - 4.4.2, a persistent notification is required due to a bug in KitKat where services cannot restart themselves once killed by the system. If you would like to hide the notification, find LeanDroid in Settings -> Apps, and un-check "show notifications".
Follow us on twitter: @teqTic
To join the Beta tester group:
1) Opt-in here: https://play.google.com/apps/testing/com.teqtic.leandata
2) You will then receive the beta updates directly through the Play store.
Please keep in mind these beta versions will often have bugs!
Download:
Im gonna try this, have used smart radio function but felt it was draining battery a lot. Will keep you posted after trying this
phanitej said:
Im gonna try this, have used smart radio function but felt it was draining battery a lot. Will keep you posted after trying this
Click to expand...
Click to collapse
Thank you sir. Please let me know how well it works for you.
Flyview said:
Thank you sir. Please let me know how well it works for you.
Click to expand...
Click to collapse
Nice work. It works as it is supposed to. Is there any way i can check using terminal(or anything else) how long the radios are turned off or on?
phanitej said:
Nice work. It works as it is supposed to. Is there any way i can check using terminal(or anything else) how long the radios are turned off or on?
Click to expand...
Click to collapse
You mean so that you can tell how long they were turned off for? Good question, there's gotta be some app that can pull up those statistics. For WiFi, you can check your battery usage chart.
Thanks for the feedback, rate it on Google Play if you get a chance. Bugs, suggestions and feature requests are welcome!
Flyview said:
You mean so that you can tell how long they were turned off for? Good question, there's gotta be some app that can pull up those statistics. For WiFi, you can check your battery usage chart.
Thanks for the feedback, rate it on Google Play if you get a chance. Bugs, suggestions and feature requests are welcome!
Click to expand...
Click to collapse
Suggestions:
1. When im playing few multiplayer games like Heroes of Order and Chaos etc, i usually tend to leave my phone aside for one or two min, so with my current setup where the radios are turned off after one min, the internet might get disconnected hence me loosing the game. So if there is a feature which can check if there is data transfer then dont turn off the radios. Same goes with me downloading some files and the radios might turn off causing the download to fail. - I guess it is answered in the description, my mistake
2. Where it says turn on radios to sync/receive after a specific time period, is thee way to only switch on the 2g network to save more juice?
Questions:
1. When the radios are turned on after the specific time period to sync, do all the radios get turned on?
2. Does it already check if there is data transfer and then turn off the radios ?
Edit: Rated the app on Play Store
phanitej said:
Suggestions:
1. When im playing few multiplayer games like Heroes of Order and Chaos etc, i usually tend to leave my phone aside for one or two min, so with my current setup where the radios are turned off after one min, the internet might get disconnected hence me loosing the game. So if there is a feature which can check if there is data transfer then dont turn off the radios. Same goes with me downloading some files and the radios might turn off causing the download to fail.
2. Where it says turn on radios to sync/receive after a specific time period, is thee way to only switch on the 2g network to save more juice?
Questions:
1. When the radios are turned on after the specific time period to sync, do all the radios get turned on?
2. Does it already check if there is data transfer and then turn off the radios ?
Edit: Rated the app on Play Store
Click to expand...
Click to collapse
Suggestion responses:
1. While the screen is on, the connections are never turned off. The time "after" is time after screen off (explained in help dialog or on Play Store).
2) No, there is currently no option to do that. I wouldn't recommend it either. 2G/Edge is so slow it wouldn't even be able to connect and do anything in the brief time it has to sync.
Question responses:
1. Nope, only the connections that were turned off by the app. I will update the app description to make this more clear.
2. Yes I believe right now it is set to a threshold of about 2kB/s. If within the period that it checks, the data transfer is more than this, it will not disable WiFi/data.
Flyview said:
Suggestion responses:
1. While the screen is on, the connections are never turned off. The time "after" is time after screen off (explained in help dialog or on Play Store).
2) No, there is currently no option to do that. I wouldn't recommend it either. 2G/Edge is so slow it wouldn't even be able to connect and do anything in the brief time it has to sync.
Question responses:
1. Nope, only the connections that were turned off by the app. I will update the app description to make this more clear.
2. Yes I believe right now it is set to a threshold of about 2kB/s. If within the period that it checks, the data transfer is more than this, it will not disable WiFi/data.
Click to expand...
Click to collapse
One request, can we have an option to not turn off the radios if connected to charger?
can you add an option for tethering?
phanitej said:
One request, can we have an option to not turn off the radios if connected to charger?
Click to expand...
Click to collapse
Already does that.
Sent from my Nexus 5 using Tapatalk
cottino said:
can you add an option for tethering?
Click to expand...
Click to collapse
Explain? Most phones can already tether stock.
Sent from my Nexus 5 using Tapatalk
Flyview said:
Already does that.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thats strange, i noticed yesterday when my phone was connected to the charger it turned off radios. Maybe something to do with my new ROM that i flashed. Will check it today in the night. Thanks for your response
Yes, but LeandData stop traffic also if tethering is on. In this case every time you have to switch on 3g again and reconnect your notebook.
phanitej said:
Thats strange, i noticed yesterday when my phone was connected to the charger it turned off radios. Maybe something to do with my new ROM that i flashed. Will check it today in the night. Thanks for your response
Click to expand...
Click to collapse
Yes, please check for me as this could potentially be a bug. What did it turn off? It should not turn anything off if the device is charging. Also, if you connect a charger after the app has already turned off connections, it should turn them back on. Please ensure you haven't left any other similar apps running. The WiFi turning off with the screen off could also be a system option.
If you do indeed find a problem please let me know what Android version you are running. You can also check the Logcat if you filter for LeanData. Tell me what you see around the time of the problem.
cottino said:
Yes, but LeandData stop traffic also if tethering is on. In this case every time you have to switch on 3g again and reconnect your notebook.
Click to expand...
Click to collapse
I see. How are you tethering? USB or Bluetooth? If you are tethering through USB the device should be considered charging in which case it should not turn off the connections anyway. I will look into Bluetooth tethering.
Thanks for the feedback.
Flyview said:
Yes, please check for me as this could potentially be a bug. What did it turn off? It should not turn anything off if the device is charging. Also, if you connect a charger after the app has already turned off connections, it should turn them back on. Please ensure you haven't left any other similar apps running. The WiFi turning off with the screen off could also be a system option.
If you do indeed find a problem please let me know what Android version you are running. You can also check the Logcat if you filter for LeanData. Tell me what you see around the time of the problem.
I see. How are you tethering? USB or Bluetooth? If you are tethering through USB the device should be considered charging in which case it should not turn off the connections anyway. I will look into Bluetooth tethering.
Thanks for the feedback.
Click to expand...
Click to collapse
I tethering through Wifi but with my settings the problem is network data:
Flyview said:
Yes, please check for me as this could potentially be a bug. What did it turn off? It should not turn anything off if the device is charging. Also, if you connect a charger after the app has already turned off connections, it should turn them back on. Please ensure you haven't left any other similar apps running. The WiFi turning off with the screen off could also be a system option.
If you do indeed find a problem please let me know what Android version you are running. You can also check the Logcat if you filter for LeanData. Tell me what you see around the time of the problem.
Thanks for the feedback.
Click to expand...
Click to collapse
As expected, i cleaned up everything on my device and flashed a new build. Installed LeanData and used the same settings, all working fine. Radios get turned on when plugged into the charger. Thanks for your time, quick response and efforts
To be honest, i have used many similar apps and never got this almost perfect feeling for any app
Wish i could donate, but running on low budget due to my job. Will donate once things settle down at my end.
cottino said:
I tethering through Wifi but with my settings the problem is network data:
Click to expand...
Click to collapse
I see! I forgot about WiFI tethering, derp. I will add in some logic to not disable connections if tethering as soon as I can. Keep your eyes peeled for an update. Thanks.
phanitej said:
As expected, i cleaned up everything on my device and flashed a new build. Installed LeanData and used the same settings, all working fine. Radios get turned on when plugged into the charger. Thanks for your time, quick response and efforts
To be honest, i have used many similar apps and never got this almost perfect feeling for any app
Wish i could donate, but running on low budget due to my job. Will donate once things settle down at my end.
Click to expand...
Click to collapse
Awesome, keep an eye on it. Thanks for the kind words!
MIUI rom have a application to monitor intenet connect of all application. it's great and I cannot find other app can do like this on Playstore. Bcs many app ask permission connect network althought they are no need to run. But I guest they need permission connect network to sending some information silently.
Different from Sony Stamina mode?
Hi.
I have an xperia device and i would like to know if this app is different from sony's stamina mode, which also switches off connections in idle mode.
Thanks.
GPS might also be a worthy addition!
Only the paid version of dsbatterysaver includes GPS. Right now, I have tasker turn it on and off with the screen when unplugged but that means no syncing of location using GPS.

Location question

Thought I'd asked this once but can't find it so...
What does the Location setting do? I thought it turned the GPS on/off but I turned it off and could still track my run. Does it just come on when SHealth is on or what?
This thread answers some of your questions:
https://forum.xda-developers.com/gear-s3/help/gear-s3-gps-tracking-question-t3712993
I leave my location set to on, GPS only, and the location only seems to turn on if the app you are using requires location services. i.e. if you have a weather app to frequently update location specific weather it will eat up more of your battery unless you arrange settings to check more infrequently.
I have not set it to strictly off, so there may be a way for it to use your phone (if you are running with that and the watch BT connected) for the location pin points but I am not sure.
rogerperk said:
Thought I'd asked this once but can't find it so...
What does the Location setting do? I thought it turned the GPS on/off but I turned it off and could still track my run. Does it just come on when SHealth is on or what?
Click to expand...
Click to collapse
Do you bring your phone with you on the run? If so i believe it uses phone gps. I can see my phone gps full time when doing things like that. And then if you don't have your phone with you the watch is doing a lot of searching via Bluetooth to reconnect. Try turning gps off on both phone and watch then try run again. Shouldn't track.
frigidazzi said:
Do you bring your phone with you on the run? If so i believe it uses phone gps. I can see my phone gps full time when doing things like that. And then if you don't have your phone with you the watch is doing a lot of searching via Bluetooth to reconnect. Try turning gps off on both phone and watch then try run again. Shouldn't track.
Click to expand...
Click to collapse
I'm LTE so I leave my phone at home most of the time so that's not it. But Thanks!

Categories

Resources