Related
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
Hello guys, I have one problem with my HTC Touch Cruise, Italian Official Rom.
Sometimes, with no pogram in task manager, internet connections starts itself, and if I push on disconnect, after 1-2 seconds it starts again, and the only way to stop this is a soft reset; can someone help me please? As I told, there is no program in the task manager when it happens, so I can give me no answer about it. Thank you all!
Why is it a problem? (You can set an Auto Disconnect option...)
Check Windows update, RSS Hub, email accounts, HTC Home - Weather panel,... and any net related apps if they refresh automatically...
gnick666 said:
Why is it a problem? (You can set an Auto Disconnect option...)
Check Windows update, RSS Hub, email accounts, HTC Home - Weather panel,... and any net related apps if they refresh automatically...
Click to expand...
Click to collapse
1) Could you tell me how to set auto disconnection? Thank you so much (it's a problem because I pay it)
2) I'll check every program, thank you again!
Best thing is to check all the apps suggested. things like auto synchronizing email, or auto updating weather, can all cause the data connection to start.
Then you can use a tool like Schap's Advanced Config (search for it) to auto disconnect data connections. It's a pretty good tool overall for configuring other things in the system so always handy to keep around on your device.
hambola said:
Best thing is to check all the apps suggested. things like auto synchronizing email, or auto updating weather, can all cause the data connection to start.
Then you can use a tool like Schap's Advanced Config (search for it) to auto disconnect data connections. It's a pretty good tool overall for configuring other things in the system so always handy to keep around on your device.
Click to expand...
Click to collapse
Thank you guys for your help, tomorrow I'll install that tool and then will let you know about it!
Hi everyone.
This is a really nooby question, but I can't find the answer anywhere.
If I open my internet browser on my phone, it automatically connects to the internet.
When I close my browser, it stays connected.
I have to go in to Comms Manager, switch my phone in to Flight Mode and back to Phone Mode so it switches off.
What if I just left it on?
I believe GPRS is chargable by the amount of data downloaded rather than dial-up-esque paying-for-the-amount-of-time-connected.
If I left it connected, would I be charged for it despite being idle?
I am on Orange UK Dolphin contract.
no unless they charge for the "keepalive" comm to the isp
various isp's could have various takes on that
yes you will be charged if it periodically downloads data like the weather plugin in htc home. You dont state what device you have but you can actually click on the G/E/H symbol next to the radio signal on the today screen and click on the disconnect button(if it is enabled). If you havent got a disconnect button . Download and try schaps advanced config v2 and try that if that doesnt work download tweak2k2 net that has the option to switch the button option for you
I called Orange. They don't have the 'keep alive' charge. She said that it really doesn't matter, so long as nothing gets downloaded to my device then I won't get charged for it.
Weather updates and email etc. is all set to manual.
But, none-the-less I will be looking into the programs noted by Martin.
Thank you both.
P.S. I have a Hermes. I should probably put that in my signature.
Holding the end call button for a few seconds will switch it off.
jez83uk said:
Holding the end call button for a few seconds will switch it off.
Click to expand...
Click to collapse
I know I'm a bit late. I thought this thread would be dead and buried now, but I wanted to say thank you. This is the exact bit of info I was looking for.
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??
Hi,
I have been experiencing major problems with my email checking. Most of the time it doesnt follow the schedule I have set up and if it does, it never disconnects the data connection.
I had tried everything, changing the battery and ac resume from suspend time to every option, setting the auto disconnect after x time feature in advance config and whatever I did I could not get a reliable solution......
Until now.
Its a bit long winded but it works, I have been testing for the last couple of days.
What I have done is
1. Install SKSchema (You do need to buy this software but it is well worth it) http://www.s-k-tools.com/index.html?m_downloads.html#sc
2. Install rk-OSR (Thank you tytnguy) http://forum.xda-developers.com/attachment.php?attachmentid=54284&d=1192440286
3.Install Advance Config (Thank you schaps) http://www.touc...anced-configuration-tool-33-cab-install.html
4. In advance config, under power management, set battery resume and ac resume from standby to 90 seconds, save and soft reset.
5. In SKSchema, go to settings and turn watch mode on. Then go to tools, press watch and then new. Under 'watch for', select 'any connection', under 'any connection' select 'connected', under 'execute', select 'device' and 'screen on'. Under 'with parameters' where it says #p() in betwen the brackets put in the name of your internet connection that is used to get your email for example mine is contract internet so it looks like #p(contract internet). Press OK.
6. Still in SKSchema go to tools again, press watch then new. Under watch for, select 'any connection', under 'any connection' select 'disconnected', under 'execute' slect 'device' and 'screen off'. Under 'with parameters' do the same as above and put your internet connection in between the brackets. Press OK.
7.Open up rk-OSR. Under 'accounts' make sure outlook email accounts and the email accounts you want to check are selected then tick the enable box.
Under schedules, add the scheduled times you want.
Under 'outlook', tick auto close outlook
The wait time to sync is the time it takes to check your accounts so select a time you think it will take to carry out these tasks. I have mine set to 20 seconds, you may want longer if you are checking multiple accounts.
Under 'internet' I have mine set to default connection which uses 3G/GPRS but you can set it to use wifi if you are in a available network. It will turn the wifi on, sync and then turn it off. If you select the option to use wifi or default this will look for wifi and if it cant connect will use 3G/GPRS.
Make sure you tick the switch off GPRS/3G box. This turns teh data connection off after sync.
The connection wait time is set to 20 secs
Under 'options' sync only if device is sleeping means that if you are say using tomtom, it wont sync whilst its doing this. I have this un selected.
Silent sync means it wont wake up the device. I have this selected
Notify of unread emails does exactly that as does notify failure to connect. I dont have wither of these selected.
Sleep device after sync i have ticked.
Press save and then ok
8. In the device sounds and notification settings under new email message, make sure you dont have the show message on screen ticked other wise the application wont close properly if you get a message.
Thats it, you are done.
Basically the reason for the SKSchema part is that when my device ws locked and in standby, the email sync would happen but it would get stuck on the messaging app and not go back to the today screen. The scripts basically turns the screen on when it has connected to the internet and then off when it is disconnected allowing the app to close properly.
I know it is a bit long winded but it is the only thing i have found that works flawlessly.
I hope it helps someone else.
I just realised how long this post is so i am sorry.
Matt
thankyou very much for thisssssssss
yea I hate my data connection staying open, but this seems a little much. I wonder if someone could make a little app that basically does what all these do for the fix to work. or maybe MS should just fix it.
You could just use DiamondTweaks and enable "DisconnectAfter" it will disconnect your internet connection after the specified time of no activity.
Hmmm... the diamondtweak is in fact an Option but the Problem with this method is, that the Connection wont disconnect while in Standby, because (i think) the Tweak isnt active during sleep mode (just like any other app/method). You will recognize that when you establish a connection, go to sleep mode immediately and wake up the phone after lets say 20 minutes. The Connection-Bubble will tell you, that the data connection has been active during the whole sleep-time...
So still no solution here apart from the quiet complicated one in the first post, huh...? (Thanks anyway
rk-OSR works for me
i had the same problem when auto syncing my hotmail account. i downloaded every auto disconnect program i could find and it worked most of the time.
it was mainly when i auto synced hotmail that the data connection would just stay open. however when i auto synced my google mail account it would close, whether it was in sleep mode or not.
so after searching for more solutions i came across this thread. i didnt follow all the instructions. i just downloaded the rk-OSR program and set my schedule and other preferences.
now the syncing of both my accounrs happens automatically through this program and my data disconnects as it should.
Disable all data connections
I had a huge problem with a few applications auto starting a data connection in my pocket and never shutting off. I wouldn't have a problem with it if I pay for unlimited data(which I don't). My solution to this was going into the connections settings and change the "select which networks are automatically used" to "my ISP" which I never set one up. This way, anytime it tries to connect using data from the cell provider, it pops up an error message and yea, no pocket data transmitions. I guess you could set up a false "my ISP" if you have already set up one.
There is an option somewhere in WM6.5 to turn off data connection when in sleep mode, i enabled it, but now it does not turn the data back on to check email. I spent 3 hours searching through the options to disable this feature and put it back to the default but it appears to be gone or I can no longer find it. Does anyone know where this option is supposed to be hiding so I can confirm if it in fact disappeared?
getmp3s said:
There is an option somewhere in WM6.5 to turn off data connection when in sleep mode, i enabled it, but now it does not turn the data back on to check email. I spent 3 hours searching through the options to disable this feature and put it back to the default but it appears to be gone or I can no longer find it. Does anyone know where this option is supposed to be hiding so I can confirm if it in fact disappeared?
Click to expand...
Click to collapse
+1
Anyone know which menu has the setting? Been drivign me crazy the last few weeks
Yes, i figured it out and posted the solution here:
http://forum.xda-developers.com/showthread.php?p=7920303&highlight=getmp3s#post7920303
I konw a fix called "GPRS-Tweak.cpl" can help you to disconnect the network when you shut down you app which must connnet the network.
I just have a chinese version, unzipped the attachment the copy into the window folder then, you will find it your startmenu>setting>system .
but is a chinese version ,if you want english version you'd better search on google.
sorry for my poor english
Found an easier way:
Settings > phone
then go to one of the last 'tabs' and the option to turn on/off GPRS etc when in standby is there...