Data Auto Disconnect - Touch Pro, Fuze General

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??

Related

Auto Disconnect GPRS while device is asleep

Hi, I know this topic has been covered many times, but I here's my issue.
I have phoneAlarm running on my Trinity and set phoneAlarm to cut my data connection after 1min of data inactivity and it all works fine. I can browse the web, check emails using the WM5 inbuilt email application. After 1 min of data inactivity, my connection is cut, brilliant, works like a treat.
However, once the device is asleep, and my email application polls, the data connection remains connected (if there are no emails, it won't wake up) and I have to switch on again and either let it disconnect when awake, or manually disconnect it.
The funny thing is, its just the email application thats causing this. If I was browsing using PIE and just press the power button whilst it was still connected, it times out and it gets disconnected, and the next time I wake up the device I can see there is no data connection.
it seems like the WM5 email application whilst asleep is either holding on to the connection or some data is being transferred, as I said it doesn't happen if the device is awake.
This really is bugging me, as the whole point of setting up "Auto disconnect" is so I can leave it and trust it to only connect when need be. Currently, if I don't use the phone and don't receive any emails, my GPRS connection is on all the time whilst the phone is asleep.
I have tried other programs, but generally, all of these applications perform the same registry tweak.
Sorry for long post.
I did a program (ConnectionManager) that wakes up the pda to Idle state (screen off, no sound and cpu to minimum level) each 3 minutes and check the states of connections. If there isnt traffic in 2 minutes the connection is closed.
Hi,
Interesting. Do you have a link to that program? Tried to find it in the forum by searching for "ConnectionManager" and found nothing.
So when the device is in idle state, min CPU, screen off etc, there's no problem in accepting calls etc?
I was reading a thread regarding the other program you wrote that switches bands, was interested in that too.
Thanks for your help.
Don't worry, I've found it, and it WORKS. You're a star!!!
exactly what I was looking for. It did come across it before, but for some reason I thought you didn't check for data flows and close the connection full stop. Obviously i mis read
I've downloaded WM5 SDK, but didn't really know where to start, I am a developer, but don't know anything about the WM5 APIs. Cheeky question, but is it possible to let me have the source code?
I would love to enhance something like this, would love it to be a today plug in and let you enable it without opening a new form. Settings about how long before checking. Not sure how easy it would be.
Just a comment really, not sure if its just my device (Trinity) but the Close Program button seems to be out of shape, i.e. larger than the other 3 and goes right to the edge of the screen.
Oh, one more question, do you think having the device on idle will have much impact on battery life. Once the device is in idle, does it suspend again, or does it keep it in idle until you switch it on again?
Thanks again!
Hi, another thing. Having tried this program out for a little while now, it seems to not let the device time out into suspend state. For me, it seems to just lower the brightness of the screen. The program still works, but it won't let the device suspend automatically, i thought it would switch it to idle, and turn of the screen.
Once the machine is suspended manually by pressing the power button, then its fine. Do you have this issue?
Still works like a treat though, and better than anything I had before!
Thanks again!
Sorry, my mistake. It all works fine!
Hi. I was going to do other release (the user can modify connections check, etc) but i will post the source code, sure (but the source code is in my laptop). tomorrow i will post it.....
Greetings
hongsit said:
Don't worry, I've found it, and it WORKS. You're a star!!!
exactly what I was looking for. It did come across it before, but for some reason I thought you didn't check for data flows and close the connection full stop. Obviously i mis read
I've downloaded WM5 SDK, but didn't really know where to start, I am a developer, but don't know anything about the WM5 APIs. Cheeky question, but is it possible to let me have the source code?
I would love to enhance something like this, would love it to be a today plug in and let you enable it without opening a new form. Settings about how long before checking. Not sure how easy it would be.
Just a comment really, not sure if its just my device (Trinity) but the Close Program button seems to be out of shape, i.e. larger than the other 3 and goes right to the edge of the screen.
Oh, one more question, do you think having the device on idle will have much impact on battery life. Once the device is in idle, does it suspend again, or does it keep it in idle until you switch it on again?
Thanks again!
Click to expand...
Click to collapse
Idle is a state with minimum impact...but is bigger than suspended. When the device wakes up to idle state it is suspended again after a few seconds if the cpu isnt used too much. When the device is woke up by a app notification (Its our case) the system suspends very quickly. In my tests (using log method) the program does its stuff (1 seconds) and 10 seconds later the system is suspended again...
I ve used Visual Studio 2005 and the program was wrote using C (not MFC)...
Hi Daniel
Where can I download this app ?
Thanks and regards
Martin
I am curious if you gprs comes on for your push mail, can you still make outgoing call and also send text messages?. I have this issue for my atom exec and it's annoying me. Thanks
hongsit said:
Hi, I know this topic has been covered many times, but I here's my issue.
I have phoneAlarm running on my Trinity and set phoneAlarm to cut my data connection after 1min of data inactivity and it all works fine. I can browse the web, check emails using the WM5 inbuilt email application. After 1 min of data inactivity, my connection is cut, brilliant, works like a treat.
However, once the device is asleep, and my email application polls, the data connection remains connected (if there are no emails, it won't wake up) and I have to switch on again and either let it disconnect when awake, or manually disconnect it.
The funny thing is, its just the email application thats causing this. If I was browsing using PIE and just press the power button whilst it was still connected, it times out and it gets disconnected, and the next time I wake up the device I can see there is no data connection.
it seems like the WM5 email application whilst asleep is either holding on to the connection or some data is being transferred, as I said it doesn't happen if the device is awake.
This really is bugging me, as the whole point of setting up "Auto disconnect" is so I can leave it and trust it to only connect when need be. Currently, if I don't use the phone and don't receive any emails, my GPRS connection is on all the time whilst the phone is asleep.
I have tried other programs, but generally, all of these applications perform the same registry tweak.
Sorry for long post.
Click to expand...
Click to collapse
where can I find this piece of software?
http://forum.xda-developers.com/attachment.php?attachmentid=34693&d=1172683590

Limiting 3G/GSM Connection Time

Hello all,
I've noticed that once you initiate a data connection, whether it be for email or web browsing, when your done with that activity the data connection stay connected. The problem with this scenario is that I forget to terminate the connection and it drains the battery rather quickly. So, is there a way to set a time-out for the connection that will disconnect automatically after a preset period of in-activity?
Looking forward to your responses.
Regards,
idyllic
Try BandSwitch or PhoneAlarm. I use PhoneAlarm and love it.
iKelvin said:
Try BandSwitch or PhoneAlarm. I use PhoneAlarm and love it.
Click to expand...
Click to collapse
thank you iKelvin for the suggestions of BandSwitch & PhoneAlarm! Unfortunately this is not a good option for me as the only function I'd be using from the programs is the data time-out setting. The program installs are not worth it as they would wastes more memory than they would provide functionality.
What I'm looking for is some registry setting or utility that address this specific issue.
On a more positive note my wife loves the PhoneAlarm for all her appointments
Cheers,
idyllic
I have created a shortcut to the Phone Service settings and assigned it to the PTT button. At least gets me to the Band Selection option in a minimum of clicks.
Code:
22#ctlpnl PLMOCPL.cpl,0,1?\Windows\cplmain.cpl,-7140
I suppose someone good at mortscript (I haven't played with mortscripting yet or I'd offer) could create a simple batch type file to do this for you.
There is a registry hack, where you delete something, then re-add it and change the time out from some really large number to 60sec.
This works well.
Found it.
http://forum.xda-developers.com/showpost.php?p=1725927&postcount=62
This worked for me, use at your own risk
http://forum.xda-developers.com/showthread.php?t=349481&page=7
Full Thread
FSB said:
There is a registry hack, where you delete something, then re-add it and change the time out from some really large number to 60sec.
This works well.
Found it.
http://forum.xda-developers.com/showpost.php?p=1725927&postcount=62
This worked for me, use at your own risk
http://forum.xda-developers.com/showthread.php?t=349481&page=7
Full Thread
Click to expand...
Click to collapse
EXCELLENT!!!! That did the trick!!!! Thank you, thank you. Cheers all
Interesting find. I have Good MM so am "perpetually" online, need a data connection full time so prefer to "dumb-down" to EDGE to save resources (caveat is that I sometimes miss calls ). But this will work nicely for those without a need to keep a data connection 100%.
Bear in mind the cachetime is in ms, so 600 milliseconds = 0.6 seconds. And you may very well use more battery resources if you are constantly reconnecting over keeping a static data connection.
tmknight said:
Bear in mind the cachetime is in ms, so 600 milliseconds = 0.6 seconds. And you may very well use more battery resources if you are constantly reconnecting over keeping a static data connection.
Click to expand...
Click to collapse
Hmmm, when I tested the connection time-out, the initial test lasted exactly 60 seconds. When I changed the time-out to 120, the connection lasted two minutes. I'm not trying to start an aguement, but this is the way it has worked for me.
Regardless of actual time-outs, this little mod has helped save battery when not near a power source.
Regards,
idyllic

{REQ}Keep HSDPA Always On

I am having trouble with my 3G/HSDPA connection with the HD2. I have a plan with unlimited data and I am not worried about battery life. The problem is that the phone seems to disconnected after a while from the 3G+/HSDPA network and then the only way to get any connection(whether it is for a weather update, email, or internet browsing) is to close all data connections and then reopen them. I think that there might be a reg key that is timing out the connection but I am not that skilled in this. I would really appreciate if someone could help me out in figuring out this problem.
HTC HD2 ROM: AxLor LEO v3 WWE
Manilla: 2.5.19211619.0
Radio: 2.07.51.05_2
first you can try to manually select the network type (gsm or wcdma) and band frequency. for this go to comm manager. then go to connection settings - advanced and enable hsdpa only, then soft reset.
if this doesn't work try to change the radio.
as a last resort, you need to experiment different rom-radio combinations to make it work.
I had this issue also for a long time before I finally nailed it with my current configuration.
good luck mate!
Thanks, I am trying that right now. I also had kinda "nailed it" but then I was having other problems with the rom and decided to change. lol I am going to try different radio/roms if that doesnt work. btw thanks for the quick reply
I had this problem too. Check the connections used...by right there should only be 1 connection for your regular usage. It's the multiple connections that causes the data to stop working, at least for my case.
For example, my network provides 2 connections, one direct to internet, the other has a proxy. However, the default Opera browser always uses the proxied connection for some strange reason, while the other services (Weather/Twitter/etc) uses the direct connection. When the 2 connections are active simultaneously, I find my data going dead until I disconnect the proxied connection.
To get around it, I go to the about:config page in Opera, under Network, tick the "Conn Mgr Auto Detect Network". After that it doesn't uses the proxied connection anymore....but some of the default shortcuts in Opera still do that iirc.
In short, for me, disconnecting the proxied connection makes the direct connection work fine....hope this helps ya.
hey kenkiller, if you're still having trouble with the connection try antaed's method it seems to be working for me. btw I only have 1 connection so that wasn't it for me .
hotshot646 said:
hey kenkiller, if you're still having trouble with the connection try antaed's method it seems to be working for me. btw I only have 1 connection so that wasn't it for me .
Click to expand...
Click to collapse
No worries...I've already set mine to HSDPA only as I've noticed that having HSUPA on only makes the download slower...but it doesn't cut the connection off as you've said, at least for me.
Glad you solved it.
Thanks . I am just glad that there are people that care about the phones they buy and such a great website to bring them all together
XDA RULESSSSS

[REQ] A Better Solution for Data Auto-Disconnect... with Peak Time/Push Mail

Hi folks
I've searched around the forums and have seen a couple of solutions out there for automatically terminating data connections (Bandswitch, WMLongLife, the registry tweak) but each seems to lack some of what I need and do a lot that I don't need.
Here's the lowdown:
- I've already tweaked the Comm Manager to add the 3G on/off switch so I don't need something that messes with that
- I use push email for business so I need the data connection to stay on during the "peak times" that I've set in Activesync (for me, that's 8am-11pm)
- Outside of peak times, I've got the phone checking email every hour. Right now, it seems to be leaving the connection on afterward.
- I want to keep the automatic updates for HTC Sense's weather and stock tabs. Not every 5 minutes, of course, but at least a couple of times a day. Also tends to leave the connection going when used outside peak hours.
As I understand it, the registry tweak won't work for the Sense tabs. Bandswitch and WMLongLife mess with the 3G radio and, as far as I can tell, don't let you set a timeframe (re: the latter - I suppose when you've got push mail going it pings the Exchange server regularly so in theory it shouldn't consider the connection idle, but why mess with it?)
So, in short, anyone got a solution that could switch off an idle data connection outside of the peak times set in Activesync?
If you just want to kill connections during certain times (ie, night time) try G-Profile. I have it set to kill data connections during the night, works fine for me although I am using a new beta version which is available from their site.
Looks interesting but reading through the manual it looks as if you can only set a profile to disable the data connection during certain hours. I'd like to leave the data available, just switch on auto-disconnect.
Plus, again, there's a lot of extra stuff in there that's really not necessary. I'm looking for something more lightweight...
I haven't tried it, but you might want to take a look at CommMgrPro.
It's also from the creator of Bandswitch.
PhoneAlarm can do this.
I had PhoneAlarm installed on my previous phone. True, it can do this.
But again, it's like using a tank to kill a fly. Sam with CommMgrPro.
Is there no lightweight solution?
+1 for this. It has to be possible, everyone just seems to lump the functionality in with a load of other stuff I'm not interested in.
Up, I'm looking for this also
+1
This kind of app is missing...
SO.... last night I left my charging cable at the office and I only had around 20% of the battery left at 11:00pm. For some reason, the thing kept opening the data channel even though it was outside of "peak" hours for push! I had to reset and turn manually turn off all data... couldn't have the phone die overnight as it's my alarm clock!
Any ideas here?
DialUp Enabler Disabler v06
What about this one
http://forum.xda-developers.com/showthread.php?t=610657

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.

Categories

Resources