wifi sleep policy improvement - Android General

Hi all
Thinking about the Wifi Sleep Policy settings:
I could not find the exact details of what the different options mean, but with a little common sense:
a) When screen turns off :
- if you have a wifi connection established : When the screen times out, it will turn off wifi and swith to mobile data.
- if you do not have a wifi connection established : The phone is constantly scanning for known wifi networks. When the screen times out, it will turn off wifi and stop all scanning.
b) Never :
- if you have a wifi connection established : when the screen times out the phone will keep that connection.
- if you do not have a wifi connection established : The phone is scanning. When the screen times out, it will keep wifi ON and continue to scan permanently for known networks.
c) Never when plugged in: it is not very clear, but would say its b) if the phone is charging, and a) if the phone is not charging.
Thinking a bit about this, it appears to me that none of this options is the ideal situation.
I would say that the ideal situation is that if I have a wifi connection established, then keep wifi on and the connection for as long as the network is there.
But if I do not have a connection established, I would like the phone to turn off the wifi interface, and turn off all scanning so as not to drain the battery while I am on the streets away from home. Then only begin scanning when I turn the screen back on, and if it no wifi network to connect, then turn off wifi again when the screen times out.
In other words, I think the best situation is a mix of behaviours of a) when there is no wifi connection established, and b) if there is a wifi connection established.
Does this make sense ? or am I crazy? I'd like your opinions please.
Anybody thought about this before? Is there any app or mod that will implement this behavior ?
Thanks
Gonzalo

gbalerdi said:
Hi all
Thinking about the Wifi Sleep Policy settings:
I could not find the exact details of what the different options mean, but with a little common sense:
a) When screen turns off :
- if you have a wifi connection established : When the screen times out, it will turn off wifi and swith to mobile data.
- if you do not have a wifi connection established : The phone is constantly scanning for known wifi networks. When the screen times out, it will turn off wifi and stop all scanning.
b) Never :
- if you have a wifi connection established : when the screen times out the phone will keep that connection.
- if you do not have a wifi connection established : The phone is scanning. When the screen times out, it will keep wifi ON and continue to scan permanently for known networks.
c) Never when plugged in: it is not very clear, but would say its b) if the phone is charging, and a) if the phone is not charging.
Thinking a bit about this, it appears to me that none of this options is the ideal situation.
I would say that the ideal situation is that if I have a wifi connection established, then keep wifi on and the connection for as long as the network is there.
But if I do not have a connection established, I would like the phone to turn off the wifi interface, and turn off all scanning so as not to drain the battery while I am on the streets away from home. Then only begin scanning when I turn the screen back on, and if it no wifi network to connect, then turn off wifi again when the screen times out.
In other words, I think the best situation is a mix of behaviours of a) when there is no wifi connection established, and b) if there is a wifi connection established.
Does this make sense ? or am I crazy? I'd like your opinions please.
Anybody thought about this before? Is there any app or mod that will implement this behavior ?
Thanks
Gonzalo
Click to expand...
Click to collapse
Sleep Policy is pretty simple:
Never means the wifi radio is never turned off. This is default now on Honeycomb and up, with fairly good reason.
When screen is off means.. the radio is turned off when the screen goes off regardless of whether you have a connection.
Only when plugged in means that the wifi radio is only turned off when the screen is off and it's not plugged in.
Sounds like you want Tasker http://tasker.dinglisch.net/
It will let you do what you describe.
Juice Defender will, as well, but it's terrible terrible software.
As to your problem, on most devices, scanning is usually reduced quite a bit when the screen is off. It's not as much of a battery drain as people think.
I'm in the habit of disabling wifi when I'm not at home or in the office. There's really no reason to leave it on when you're not going to be using it unless you want open network notification.

Thank you , I didn't know that the default is now Never. I'll set it this way.
And I guess I don't really have a real life problem, it's just that it got me thinking and came to the conclusions above.
And thanks for the link to the app, I will check it out.
Gonza
edit: oh I see you are the wifi fixer dev. Thanks so much for both replies.

Is your phone rooted? Do you have root explorer and sqlite installed. Then you can have more control over the time wifi goes to sleep after screen is turned off.
BUT: it remains on for 15 minutes by default.
Now start root explorer. Navigate to
/data/data/com.android.providers.settings/databases and open settings.db
If you have sqlite installed you seesome tables. Open secure table.
Add New record. name is wifi_idle_ms and give it a value in milliseconds you want.
Default (if wifi_idle_ms is not present) is 15*60*1000 ms. I have 60000 (1 minute)
Cheers

I use juice defender. Why is it such a terrible software? I've not used others, so I have no means of comparison. Perhaps you can enlighten me?
ZanshinG1 said:
Sleep Policy is pretty simple:
Never means the wifi radio is never turned off. This is default now on Honeycomb and up, with fairly good reason.
When screen is off means.. the radio is turned off when the screen goes off regardless of whether you have a connection.
Only when plugged in means that the wifi radio is only turned off when the screen is off and it's not plugged in.
Sounds like you want Tasker http://tasker.dinglisch.net/
It will let you do what you describe.
Juice Defender will, as well, but it's terrible terrible software.
As to your problem, on most devices, scanning is usually reduced quite a bit when the screen is off. It's not as much of a battery drain as people think.
I'm in the habit of disabling wifi when I'm not at home or in the office. There's really no reason to leave it on when you're not going to be using it unless you want open network notification.
Click to expand...
Click to collapse

androidapk.net said:
I use juice defender. Why is it such a terrible software? I've not used others, so I have no means of comparison. Perhaps you can enlighten me?
Click to expand...
Click to collapse
I'd like to hear that opinion too
JD is not terrible terrible. It is terrific terrific. Honest, it really work flawlessy and it does pretty well what the OP wants. Just for the sake of it, I'm trying to replicate with tasker what JD does, but, you know... it just does it better.

tweakradje said:
Is your phone rooted? Do you have root explorer and sqlite installed. Then you can have more control over the time wifi goes to sleep after screen is turned off.
BUT: it remains on for 15 minutes by default.
Now start root explorer. Navigate to
/data/data/com.android.providers.settings/databases and open settings.db
If you have sqlite installed you seesome tables. Open secure table.
Add New record. name is wifi_idle_ms and give it a value in milliseconds you want.
Default (if wifi_idle_ms is not present) is 15*60*1000 ms. I have 60000 (1 minute)
Cheers
Click to expand...
Click to collapse
Thank you! Yes I am rooted, I am running CM7 latest kang, but I did not know all this.
Gonna give it a try

Interesting. It works indeed! If one knows a bit about Unix shell, I did the modification via adb shell. Obviously the phone must be rooted and have sqlite3 (the binary) installed.
This is how to do it:
- connect the phone via USB to the PC
- execute "adb shell" (adb must be installed) from the DOS prompt. You are into the phone
Then execute the following steps:
Code:
su
cd /data/data/com.android.providers.settings/databases
cp settings.db settings.db.ORIG
sqlite3 settings.db
Now you are "inside" the db. Type ("sqlite>" is just the prompt):
Code:
sqlite> select * from secure;
and check if wifi_idle_ms is not present. If it isn't, as it shouldn't, type:
Code:
sqlite> insert into secure values(60,'wifi_idle_ms',30000);
where instead of 60 you can write any number that is not used already in the list, being that the unique key in the table.
I used 30000 (30000 microseconds = 30 ms) but one can put the value s/he prefers.

Miche1asso said:
Interesting. It works indeed! If one knows a bit about Unix shell, I did the modification via adb shell. Obviously the phone must be rooted and have sqlite3 (the binary) installed.
This is how to do it:
- connect the phone via USB to the PC
- execute "adb shell" (adb must be installed) from the DOS prompt. You are into the phone
Then execute the following steps:
Code:
su
cd /data/data/com.android.providers.settings/databases
cp settings.db settings.db.ORIG
sqlite3 settings.db
Now you are "inside" the db. Type ("sqlite>" is just the prompt):
Code:
sqlite> select * from secure;
and check if wifi_idle_ms is not present. If it isn't, as it shouldn't, type:
Code:
sqlite> insert into secure values(60,'wifi_idle_ms',30000);
where instead of 60 you can write any number that is not used already in the list, being that the unique key in the table.
I used 30000 (30000 microseconds = 30 ms) but one can put the value s/he prefers.
Click to expand...
Click to collapse
Thanks to Miche1asso for the commands, you've made my day :good::fingers-crossed:
This thread is good, useful, it did help up reduce the default wifi idle timeout :good: Just tested on xperia sola, perfect on my custom idea idle timeout (to 120000ms)

Related

WM6 UMTS/GPRS always on

Hi there,
My 3G connection stays on after a web browse or an email check process makes my device connect. I looked at "HKLM\Comm\ConnMgr\Providers\[GUID]\Connections\[Connection Name]" and to my surprise AlwaysOn flag was off. Can someone help me with this? I like the fact that my device connects to the Net automatically when there is need, however maintaining the connection kills the battery, I need a way to kill the connection somehow automatically (either after a period of inactivity or when the application requesting the connection ends).
Cheers,
Shafa
If it is maintaining Gprs on, there must be a program requesting it - do you have direct push enabled?
Also, having the connection constantly 'enabled' but not actually transferring data will have a negligible effect on the battery life so shouldnt matter.
If your battery life is significantly worse (as you have suggested), then you must be transferring data, so no matter what you do, unless you actually permanently disable the data connection so you cant use it at all, it will keep connecting to transfer whatever data it is transferring...
I hope that made sense
GPRS/UMTS
Hi,
Have you tried turning the Data Connection off by holding in the End Call Button for approx 3-5 seconds. This should terminate an active connection unless as mentioned above you have an app running that is requesting data.
Cheers,
Beast
Thanks guys,
1. the fact that only transferring data should drain my battery: makes sense; I will test more.
2. the fact that I can kill the connection manually: I could always do that from comm manager, needed it to drop automatically.
Cheers,
Shafa

Data Auto Disconnect

I'm sure this is a noob question, but I can't find the answer on the forum.
I've seen a couple people reference automatically ending the data connections when they're idle. Can someone explain how this is done?
Is the desire to disconnect the data to save on battery life? Just curious. Thanks.
That's the main reason I want to do it...not sure about others...
I figured out two ways to do this for anyone else that's interested.
1) Using Advanced Config Tool (V3.3): Menu > More Settings > Connections. Check "Disconnect After" and set the timeout you want. This seems to work well for activesync connections (my mail is set to recieve every 5 min), but doesn't always work for on demand connections (Internet).
2) Comm Manager Pro. No instructions for this since I'm not using it (yet). But everything I've read looks like it does it.
Like I mentioned, I've got my email configured to sync every 5 minutes and I have a connection timeout of 30 seconds set in Advanced Config. This setup has drastically improved my battery life. Before this change, I got maybe 12 hours on a good day. With this timeout set, I could probably get 2 solid days. The only thing I haven't figured out is if the timeout is and idle timeout or an overall timeout. What I mean, is will the connection end after 30 seconds even if it's in use?
I'm interested in this as well, it would be even better if outlook or msn live would make a connection and disconnect after synchronizing.
I've been looking for the same solution. So far using advanced config settings will force disconnect no matter if it was idle or not. I'm looking for a solution to disconnect only when idle.
As of proof, set auto disconnect to 1 minute and using latest skype v3.0 start transferring a large file. After 1 minute data connection will be forcibly disconnected.
Any solutions for this?
Thank you.
Can someone help me find the timing setting in Advanced Config? I've looked through everything - using Energy 3.0 Rom (WM6.5) and don't see anything related to data disconnect other than under "Data Connections:" "GPRS disconnect:" and my settings are "Enable button and timer"
I don't see where the timer comes into play; don't really care if the connection gets cut off - I'd rather see a battery life improvement.....
I'm an absolute idiot. I just skimmed through the thread and didn't read the post above... *smacks forehead*
Its been posted in this very topic, and its only 5 replies long
xawen said:
I figured out two ways to do this for anyone else that's interested.
1) Using Advanced Config Tool (V3.3): Menu > More Settings > Connections. Check "Disconnect After" and set the timeout you want. This seems to work well for activesync connections (my mail is set to recieve every 5 min), but doesn't always work for on demand connections (Internet).
2) Comm Manager Pro. No instructions for this since I'm not using it (yet). But everything I've read looks like it does it.
Like I mentioned, I've got my email configured to sync every 5 minutes and I have a connection timeout of 30 seconds set in Advanced Config. This setup has drastically improved my battery life. Before this change, I got maybe 12 hours on a good day. With this timeout set, I could probably get 2 solid days. The only thing I haven't figured out is if the timeout is and idle timeout or an overall timeout. What I mean, is will the connection end after 30 seconds even if it's in use?
Click to expand...
Click to collapse
In advanced config the settings you are looking are not located in the list on first screen, the are in separate menu as described above.
And now I'll quote myself so my question will not get burred:
[email protected] said:
I've been looking for the same solution. So far using advanced config settings will force disconnect no matter if it was idle or not. I'm looking for a solution to disconnect only when idle.
As of proof, set auto disconnect to 1 minute and using latest skype v3.0 start transferring a large file. After 1 minute data connection will be forcibly disconnected.
Any solutions for this?
Thank you.
Click to expand...
Click to collapse
guys, found this
http://www.andrewsayshello.com/windows-mobile/auto-disconnecting-idle-data-connections-in-wm6/
hope this helps in some way
Thanks for the link, unfortunately it still disconnects even if data connection is in use.
WMLongLife can do this for you.
About the registry tweak that does this, I must warn you: it disables the ability to do voice and data simultaneously.
Chainfire said:
WMLongLife can do this for you.
Click to expand...
Click to collapse
Just checked WMLongLife and it seems that program does not quiet work if one doesn't use opera or wifirouter...
Chainfire said:
About the registry tweak that does this, I must warn you: it disables the ability to do voice and data simultaneously.
Click to expand...
Click to collapse
This is new for me...I thought that data connection cannot co-exist with phone call, period..
[email protected] said:
Just checked WMLongLife and it seems that program does not quiet work if one doesn't use opera or wifirouter...
Click to expand...
Click to collapse
Yes it does require a certain way of using your phone (current test version has specific settings - you can change this in next version). Just saying.
This is new for me...I thought that data connection cannot co-exist with phone call, period..
Click to expand...
Click to collapse
Yes it can, but it depends on several factors. Under ideal (and never actually occuring) conditions it can be done with 2G GSM (GPRS/EDGE). Normally, however, either GPRS/EDGE connection suspends ('pauses') during voice call, or with 2G CDMA voice call may not work at all while data connection active (depends on exact 2G CDMA network type).
With 3G GSM (UMTS/HSPA) it is quite possible (and normal) to do data and voice simultaneously, however for some reason the auto data disconnect registry tweak breaks it. I'm not quite sure why, but it does.
3G CDMA (EV-DO) behaves the same as 2G GSM with regards to simultaneous voice and data (data drops), however, EV-DO Rev. A behaves the same as 3G GSM (possible but broken by registry tweak)
Aside from this, it is also needed that your provider/network has the correct hardware to handle this. I'm not sure how common it is for this properly operating on EV-DO Rev. A, but for UMTS/HSPA early tower equipment was bugged and did not allow this. In Europe, most UMTS/HSPA towers have since been upgraded to allow simultaneous voice and data (and HTC handsets support this perfectly), but how this is in the USA I cannot say.
Hope that explains it (it is a bit messy explenation I know)
if this dowsn't work then i have no ideea what will )
http://forum.xda-developers.com/showthread.php?t=484084
tell me if worked for you
!!!!!
I had it set to disconnect (via Diamond Tweak software) after 1 minute of activity. I did this to preserve battery life, BUT BUT BUT
With 3g on, and even with 3g disabled all day and edge on, the battery still died in 8, 12 hours (3g, edge) with the connection disabling. i use the phone for a good number of calls, text, and some data every day.
AFTER i reenabled it to NOT disconnect after every 1 minute, i pulled over 24 hours on a SINGLE charge.
am i the only one that's experienced this??

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

A non-suck Tasker data management script

Suggestions or questions are welcome!
Description:
Here is a simple-ish script I wrote to manage data flow on my phone. Mobile data on/off is easy enough but what most users have a hard time pulling off is when to toggle wifi on and off with minimal consumption. Using local tower states is pretty common but it's inaccurate and slow; additionally my method uses less battery life.
Room for improvement:
The only thing I would like to do in order to improve this is to have the script not disable data when downloading or streaming. This is possible but is unique per device per ROM so I can't really go into detail about how to do it. As a summary though there's a file that is written to that keeps information about bytes traffic. You just read this file to determine how much data is flowing in a specific interval and if it exceeds a certain amount then don't turn off data just yet. It's also a known issue where with some devices the 3G state change won't register when toggling manually while connected to wifi.
Features:
Wifi and 3G will disable two minutes after the screen is off so it's not constantly toggled through intermittent use.
On some phones or providers the 3G status becomes unknown when in a call or when connected to wifi; this script works around that.
Unlike most data management apps this one will remember your 3G status should you manually change it, in case you don't want 3G on at all.
Data is still checked on an hourly basis(this can be adjusted of course).
Fast and accurate wifi connecting with very minimal power drain.
Just a few things explained for those curious:
I check the phone state to ensure that 3G isn't detected as manually disabled when your provider uses 3G to place calls.
I check the screen on time because on some phones/ROMs the 3G doesn't actually register as toggled until the screen flickers back on. Because of this 3G appears to only become disabled once the screen turns back on and it can be registered as manually turning it off.
The wifi timer exist so the script won't check for a wifi too frequently.
You can adjust the hourly checks under Cycle 3G.
What version of Tasker is this developed under? Just curious, I'm running the 4.0 beta, and I just had to back out of b19 to b18 because of issues with my data management profile. I'll try yours out, it sounds a lot better than mine...
Can't seem to get this to work...tasker wont recognize the file
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
It's working great for me on 4.0b18. I still need to look at the logic being used as to what causes it to 'wake up' and connect to wireless, is it simply a delay after screen on, or are you also looking at other factors?
Tasker 1.3.3u2
My friend had problems getting his to recognize the profile as well. I'm not sure why.. It might have to be in the proper directory. You might also have to make a new profile tab for it. Hopefully rpr69 can give us some insight.
But to answer your question as to how I check Wifi...
When screen turns on I immediately try to connect to Wifi before trying 3g. 3g will still enable briefly after for phones that require it for MMS. If Wifi isn't connected after X seconds then it disables Wifi and won't try again for 10 minutes. If it does connect successfully there will be no 10 minute wait next screen on.
Added manual toggle memory to Wifi as well. I'll post the changes later and update the zip file.
Are you importing the profile, or just dropping it in a directory? The proper way is to import into a new project. In 1.3 of Tasker (from memory, it's been awhile), you need to pull down from the top of the Tasker top bar which should then give you the Projects tabs. Long press on the Home tab, and you should get an 'import' option, navigate to where you downloaded the project file on your phone and select it, and it should create a new tab for it, with the profile and tasks under it. If you had previously just manually copied the xml file into the projects directory, move it out of there or the import may fail.
Looking forward to the update!
Ok got it to work I forgot is was a project and kept trying to import only a profile. It seems great so far!!!
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
To make it so it won't check wifi when you don't want it to add the following...
ProfileName - Record Wifi State
Trigger - State > Wifi Connected *
Enter Task - Set Variable %wifistate to 1 if screen ~ on
Exit Task - STOP If %ScreenOnTime + 2 > %UPS
......Set Variable %wifistate to 0 if screen ~ on
then under task "Data Types On - Type 2 P2"
very first line add - If Then > %wifistate = 1
Place a closing End If at the very bottom, and move the "Mobile Data > Set On (if %3GState = 1)" second from the bottom, just above closing.
I also just uploaded the xml file again to the main post.

[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.

Categories

Resources