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
Related
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??
Has anyone heard or know of software that'll switch my WiFi on or off depeding upon where i am currently located using GPS? e.g. home or work? or wherever i've previously manually turned WiFi on and got a connection?
CMP
You should go for CMP - Commmanagerpro by Daniel Herrero
Its the most important program for a device running WM !!!
And I mean it.
Depending on cell towers and/or scheduled tasks it will change profiles, task and whatever you can think your device should do for you...
Exampel: My phones runs a close apps at 0100. At 0600 it reboots, turn on sound and let the alarm go. At 0730 the phone turns on and the screen becomes brighter. At 0800 a schedule starts, so IF CMP recons certain cell towers it turns on my Car profile. That one changes when I arrive at work to a work profile. Different sounds and lots more. IF my calender say I am in a meeting the screen will turn off and and sms will be sent to any that call me...
I have schedules for everyting. Nights - evening, weekend and wifi, tugging kids to bed and more....
So in short. CMP let you control whatever your device should do according to your position, the time of the day or your calender.
http://forum.xda-developers.com/showthread.php?t=299070
It has MANY details so it might take you some time to get deep with it, but from then it WILL become THE app of your device..trust me.
Thanks Martin, That looks like it does what i want, using cell phone masts is a much better idea than using GPS i guess.
However i'm put off slightly by the ugly skins and many details that will take me some time to get configured, i just want a simple background service that remembers what cell phone masts were responding when i get a successful authenticated wifi connection, and to use that information to turn wifi on the next time i'm in that area. The rest of my phone's profile such as back-light and ringtones etc i'm totally happy with managing myself as i'm not yet ready for my phone to be in control of my life! - i guess what i'm saying is the service shouldn't have any need for a configuration screen, and if it does, then it should be formatted and laid out in a standard way that doesn't look so scary or require me to identify my screen size before i download it!..
perhaps someone out there with more time on there hands than me could write this service and sell it on marketplace?!
CMP runs as a service
I couldn't resist the challenge.. i have written this as a tiny background service...
Wherever you turn your wifi on and get a connection, your phone will remember this and turn it on next time your there, also if you wander outside that 'connected' location and loose your wifi connection your wifi will be turned off until either you wander into a previously 'connected' location or turn it on manually... - turning it on manually and connecting to a wifi network will add that location etc etc... so no profiles, no config, no skins, no setup, no frills.. just plain handy.
if like me anyone is sick of wifi draining the battery when accidentally left on, or up sizing your phone bill when its accidentally left off, then get in touch and i'll slip you a copy to beta-test for me!
Cheers
I am not sure if this has been discussed before but searching didn't help much as I am not sure what keyword to use.
I have a Fuze (Touch Pro) without the data service and would like the phone to periodically get the mails over WiFi. I am posting it here assuming this would apply to all WinMo devices. If not, please enlighten me.
In default settings, the phone disconnects WiFi as soon as it goes to sleep. I used Advanced Config to enable WiFi even in sleep, but now it stays connected all the time even though Pocket Outlook is configured to run every 15 minutes. For last several months it has been working this way but it drains the battery very quickly unlike my iPhone, which lasts the more than a day because it connects only to check mails when inactive.
I know with 3G service I don't have worry about it but wondering if there is any utility or setting in registry that would connect periodically for a minute or two so that PO can check for new messages.
Thanks.
How to update at intervals
generally there is an option in the email program you are using. check these options
powersupplyzzzz said:
generally there is an option in the email program you are using. check these options
Click to expand...
Click to collapse
Thanks powersupplyzzzz. The interval is already configured in ActiveSync/Pocket Outlook, but it doesn't connect to the WiFi unless it's already connected. Does it work for others? I mean does it connect to WiFi automatically when ActiveSync is ready to sync?
Wondering if I posted in the wrong forum or I am asking for something not possible on WM at the moment ...
rexian said:
Thanks powersupplyzzzz. The interval is already configured in ActiveSync/Pocket Outlook, but it doesn't connect to the WiFi unless it's already connected. Does it work for others? I mean does it connect to WiFi automatically when ActiveSync is ready to sync?
Click to expand...
Click to collapse
AFAIK what you are asking is not possible, unless you ask someone to write you a script or there is an app that does this, but i havent come across one.
Thanks timmymarsh, this is what I was afraid of. I guess the old iPhone still has some use for this advantage.
rexian said:
Thanks timmymarsh, this is what I was afraid of. I guess the old iPhone still has some use for this advantage.
Click to expand...
Click to collapse
What you need is a car battery that you can strap to your back which will boost your battery when required
I'll have a fish around for a real solution.
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
Having decided against moving to Win Mobile 7 I got a Sensation a couple of weeks ago (from a HD2) and hence my first Android device.
All is going well apart from the data connection. On Win Mob 6.5 I had 5 business emails which the phone checked every 15-30 minutes. The phone would connect, check the emails and then disconnect. If I wanted to browse then when I opened the browser, it connected and disconnected when I closed it.
On the Sensation I seem only to have the option of data connection on or off. I have set the email to sync every 30 minutes but I have to have the data connection on all the time to let it do this. The battery drain is crippling.
I download Juice Defender Ultimate after reading another thread but after setting it up it only allows data for so many minutes in the hour and when I say that the browser should overide Juice it just says I have no connection.
I love Android but losing 75% of your battery in 6 hours because of business emails is not quite good enough.
So is there a way of getting the data connection to go on and off as required (both on demand and for scheduled automatic email syncs)?
And if not what Juice defender settings do I need to get it to do what I want?
Any help much appreciated.
I'm looking for an answer to this to, for the exact same reason. A "Data Connection Timeout" setting or something similar.
Switch to pushmail, saves you quite some data transfers and is more effective in the end. I have two hotmail addresses plus oen gmail on pushmail and I don't notice any more battery drain with data connection permanently on.
Settings>Mobile Networks>untick "Enable always-on mobile data.
This usually helps the battery drain a lot, especially if you don't have things that are always using data, like pandora and the like. If you have things set to specific intervals, then it should work like your WinMo devices and connect then disconnect as needed.
Admittedly the droid likes to be more automated than WinMo, and you have much less control than 6.5. (Never used Phone7, so I can't comment on that.) But, once you learn the tricks to using it (just like the tricks to 6.5) its just as powerful as WinMo was for the business geared user, as far as I can tell. The battery is something that takes some finessing as well, so keep working with it and keep learning. There are some pretty good guides available that can tell you steps to take, even a few here on XDA for the searching.
Good luck with your new droid device, it will become second nature in time. It took me a month to quit tapping the icons in the task bar. LOL.
Thanks for the replies
I think the fact that the HD2 and the Sensation both use Sense helps and therefore it has been fairly easy to get to grips with Android.
I have already unchecked the 'always on' option but I never seem to get any emails unless I open the email program up...even when its running in the background. Win Mobile 6.5 used to check without the email being open.
I have had another play with JD and seem to have sort of got what I want but sometimes the data connection won't wake up after the unlock screen without a data toggle on and off.
Is there any better email apps from the market?
I have already unchecked the 'always on' option but I never seem to get any emails unless I open the email program up...even when its running in the background. Win Mobile 6.5 used to check without the email being open.
Click to expand...
Click to collapse
Strange because when I do that I get a lot better battery life and my push Gmail arrives in 2-3 minutes instead of isntantly. also Google Talk won't stay connected with this setting. Other than that it seems to work really well for me doing exactly what you want.