Hi
I've looked some time now for an app like this, no luck.
So what I'm looking for is an app that:
* Turns wifi OFF when the phone has been idle/locked for 0-x minutes.
* On a schedule, turns the wifi ON for x minutes thereby letting it sync apps like email, then turning the wifi back OFF again.
I'm thinking this could have several uses, one beeing having the wifi "constantly turned on" without concerning yourself with the battery drain. It would let apps/functions like email, calendar and instant messengers sync on interval.
I know there are several apps that handle wifi scheduling in different ways but i've found none that can do the above...
Thanks in advance!
http://tasker.dinglisch.net/
I'm sorry I don't know how to actually use it, but this application should be relevant for what you are looking for.
if your rom support crontab, its possible to write a script to implement it.
Please use the Q&A Forum for questions Thanks
Moving to Q&A
zeekiz said:
I'm sorry I don't know how to actually use it, but this application should be relevant for what you are looking for.
Click to expand...
Click to collapse
Thanks. I downloaded trial and tried it. I couldn't figure out how to "program" the program to get it to work as described in my initial post.
Though that might be a Q for the Tasker "forum".
I'm a little surprised that there is no simple app for this function already out there. Seems to me it could save a lot of battery for some people.
Go to Setings - Wi-Fi setings - press menu-additional...(set up)......ready to go....!
minekeeper said:
Thanks. I downloaded trial and tried it. I couldn't figure out how to "program" the program to get it to work as described in my initial post.
Though that might be a Q for the Tasker "forum".
I'm a little surprised that there is no simple app for this function already out there. Seems to me it could save a lot of battery for some people.
Click to expand...
Click to collapse
Tasker can very easily schedule a wifi toggle (every x minutes or hours). It would be slightly more complicated to complete your second desired function, but with a little help from their forums, I'm sure it would be possible.
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.
I have my week old 64gb OPO, I absolutely love it!
i have one werid consistent bug
I can turn the wifi on and off, but when i try to view the wifi settings, the app crashes. The wifi still works with my existing connections, but i cannot get to the screen to configure new connections.
I rebooted the device and no luck. I dont want to reset the device unless i have to, wanted to know if anyone else has had this issue and has figured out a way to fix it.
thanks!
chicotunner07 said:
I have my week old 64gb OPO, I absolutely love it!
i have one werid consistent bug
I can turn the wifi on and off, but when i try to view the wifi settings, the app crashes. The wifi still works with my existing connections, but i cannot get to the screen to configure new connections.
I rebooted the device and no luck. I dont want to reset the device unless i have to, wanted to know if anyone else has had this issue and has figured out a way to fix it.
thanks!
Click to expand...
Click to collapse
I've seen this on other devices when Wifi data is restored... did you restore Wifi settings via an app like Titanium Backup or something?
dmarden said:
I've seen this on other devices when Wifi data is restored... did you restore Wifi settings via an app like Titanium Backup or something?
Click to expand...
Click to collapse
no, I entered my home wifi manually and it was working fine, today i was trying to connect to a public wifi network, and the wifi settings keeps crashing, i can turn the wifi on and off with no problem, but clicking on the settings leads to a crash.
chicotunner07 said:
I have my week old 64gb OPO, I absolutely love it!
i have one werid consistent bug
I can turn the wifi on and off, but when i try to view the wifi settings, the app crashes. The wifi still works with my existing connections, but i cannot get to the screen to configure new connections.
I rebooted the device and no luck. I dont want to reset the device unless i have to, wanted to know if anyone else has had this issue and has figured out a way to fix it.
thanks!
Click to expand...
Click to collapse
I think this is an issue with Theme Engine, it's already fixed in CM11 nightlies.
Should be included in next OTA.
drakester09 is correct, its the theme you have set in the theme engine, check to default theme and try again.
synergeticink said:
drakester09 is correct, its the theme you have set in the theme engine, check to default theme and try again.
Click to expand...
Click to collapse
Awesome! Thanks!
Just set the stock theme and works just fine! I can live with removing themes when I need to make WiFi changes for now!
Thanks a bunch!
chicotunner07 said:
Awesome! Thanks!
Just set the stock theme and works just fine! I can live with removing themes when I need to make WiFi changes for now!
Thanks a bunch!
Click to expand...
Click to collapse
Yeah until the next update you will have some fc like that due to themes.
synergeticink said:
drakester09 is correct, its the theme you have set in the theme engine, check to default theme and try again.
Click to expand...
Click to collapse
I was also encountering the issue, and changing the theme like you stated worked!
Thanks!
- JOhn
Hello,
I just did a factory reset on my non-rooted, stock oneplus one running Android 5.0.2 and Cyanogen OS 12.0. theything seems to be just fine except VPN. I have used Open VPN on all my phones for years. It has been working flawlessly on the oneplus one. I currently subscribe to Witopia VPN and use manual configurations. Works like a boss. After the system reset, Open VPN app installs properly and previously used/ working configurations are loaded. Once an attempt is made to connect, Android by default opens a verification screen before final connection. When I click ok to connect, "OK" button is not responsive and have to cancel attempt. I have downloaded and tried multiple VPN's which use their own configurations. All these apps require manual verification to connect. The same system pop up appears with the choice to "cancel" or "OK." The result is the same with every single VPN app. The "OK" button is non-responsive and have to cancel attempt. This has worked AMAZING up to the system reset. I am lost and really bummed out. My last resort is to flash back to factory 4.4.4 stock again and hope problem will correct itself, UNLESS someone has a brilliant plan. Thanks!
Are you using any apps that have an overlay like Easyeyes? Because that's an Android security feature to prevent clickjacking. The workaround is to temporarily disable the overlay (e.g. disable Easyeyes) and then you should be able to click OK again.
BINGO!
kylemsguy said:
Are you using any apps that have an overlay like Easyeyes? Because that's an Android security feature to prevent clickjacking. The workaround is to temporarily disable the overlay (e.g. disable Easyeyes) and then you should be able to click OK again.
Click to expand...
Click to collapse
BINGO!! You are absolutely 100% dead on! Not using Easyeyes, but have been using Lux Auto Brightness. I temporarily deleted app and VPN connects again! I will reinstall Lux Auto Brightness and just turn off when need to connect. Brilliant. I was preparing to reflash stock image and start from scratch. This saved me 2 days worth of unnecessary BS. Thanks!!!
You're very welcome
Did this happen to anyone else? After upgrading to marshmallow, my Bluetooth keeps turning on even though I know I turned it off.
Same here
Still happening actually. Thought it was my Mi Band but its not
chinkster said:
Still happening actually. Thought it was my Mi Band but its not
Click to expand...
Click to collapse
what is your build number?
because i want to update using PC2 .tar.md5 provided by iBowToAndroid in general section
thanks in advance
I am on the latest update. PC2
I'm on PC2
davidvd102dvd said:
what is your build number?
because i want to update using PC2 .tar.md5 provided by iBowToAndroid in general section
thanks in advance
Click to expand...
Click to collapse
How about try Factory Reset?
I think that this has to do with your location services. If you go to location and select improve accuracy, make sure that you have bluetooth scanning disabled. leaving that on leaves the bluetooth on and allows your phone to connect to paired devices whenever.
ra9b said:
I think that this has to do with your location services. If you go to location and select improve accuracy, make sure that you have bluetooth scanning disabled. leaving that on leaves the bluetooth on and allows your phone to connect to paired devices whenever.
Click to expand...
Click to collapse
I'm running a Marshmallow 6.0.1 Android TV Box (Build T5ZP0007) and I have the same problem with Bluetooth not staying disabled after reboot. If I have it disabled, it ALWAYS enables itself on reboot. This was occurring since I received the box before installing any apps. I checked the settings you mentioned but I have my Location Service (GPS) disabled. I've checked EVERY apps' PERMISSION and tried force quitting the Bluetooth Sharing app before and after clearing cache and data. Nothing worked. The damn Bluetooth still turns back on at reboot.
wgraz said:
I'm running a Marshmallow 6.0.1 Android TV Box (Build T5ZP0007) and I have the same problem with Bluetooth not staying disabled after reboot. If I have it disabled, it ALWAYS enables itself on reboot. This was occurring since I received the box before installing any apps. I checked the settings you mentioned but I have my Location Service (GPS) disabled. I've checked EVERY apps' PERMISSION and tried force quitting the Bluetooth Sharing app before and after clearing cache and data. Nothing worked. The damn Bluetooth still turns back on at reboot.
Click to expand...
Click to collapse
After all of that research,, I couldn't figure it out. Since I have root access, I ended up renaming Bluetooth.apk to Bluetooth.apk.disabled. Problem solved.