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
Hi,
My Raphael is set to poll for email every so often. This is fine, but it always keeps the data connection open...
Will this have a negative impact on battery life? (As it is just using the mobile signal) ?
If so, is there a way of making the connection shutdown automatically after inactivity, so it can be started again only when actually needed?
I use bandswitch to close connection. Used it on my tytn and now touch pro. A great piece of software
http://www.commmgrpro.com/jsp/main_frame.jsf;jsessionid=2F30C7CCFABAB708C39B06DAD6E91839
Matt
Mewcenary said:
Hi,
My Raphael is set to poll for email every so often. This is fine, but it always keeps the data connection open...
Will this have a negative impact on battery life? (As it is just using the mobile signal) ?
If so, is there a way of making the connection shutdown automatically after inactivity, so it can be started again only when actually needed?
Click to expand...
Click to collapse
Providing you are not transmitting any data, it should not have an impact on battery life. I leave my data connection open all the time as it speeds accessing the internet up as it doesnt have to re-negotiate with the network. Also if you are using hotmail with the sync period set to "as mail arrives" or using imap ilde (gmail) then leaving the connection open reduces data traffic as it does not have to "sign in " each time to receive mail (sorry gone off topic!)
ardsar said:
Providing you are not transmitting any data, it should not have an impact on battery life. I leave my data connection open all the time as it speeds accessing the internet up as it doesnt have to re-negotiate with the network. Also if you are using hotmail with the sync period set to "as mail arrives" or using imap ilde (gmail) then leaving the connection open reduces data traffic as it does not have to "sign in " each time to receive mail (sorry gone off topic!)
Click to expand...
Click to collapse
I agree...I leave mine open at all times, and it has minimal impact to batter life (when compared to my wife's unit, which doesn't really pull data except once or twice a day as she updates weather). It does make any data needs easier to get up and running. Running it this way doesn't really make me sad that I don't have 3G on this phone.
I have tested on my HTC Touch Pro, when my data connection is on, on a night I loose more than 10% of battery on a night.
When the data connection is off, I loose less than 1%. (battery is still at 100% on the morning)
So to me it has a significant impact...
I used an iphone for some days. I've ever used nokia phones. Each day I use a blackberry. All devices seems to use internet connection better than Android, using that only when needed and starting/stopping it automatically.
What I don't like about Android is that you can't set device to enable internet connection only when needed. What I understood is that if you like to sync mails every 5 minutes, for example, you have to take internet connection always on.
I don't like this because mainly it's battery consuming.
Is there any way to set Android (I've a Desire but I think it could be the same for each device) to automatically turns on internet connection just before syncing an app and turns off just when finished?
i agree... any hints and helps here? my experience in winmo is much better as it connects only on need.
especially now my Galaxy S battery life is so short
this app might help.
mensa07 said:
this app might help.
Click to expand...
Click to collapse
Yes, thank you.
I already tried it but if I configured it right it manages only sync operations and no internet connection. So internet connection must be taken ON (on the screen you continue to see arrows) and it stop only sync traffic.
Right?
I mean to stop internet connection at all and enable it only at a specific frequency (so on the screen arrows should appear and disappear when needed). Is it possible?
Hi guys. Somebody knows how much more battery this function drains when turned on?
Thanks
what function would that be?
It's in the save phone location... Don't kow if it really drains the battery...
If you have data connection on, or WIFI is connected to your device, this option will "locate" your phone on a regular basis, which means it basically turns on your GPS module, and runs associated services that will pinpoint your coordinates. Then it will send to to Microsoft. So, not a HUGE battery drain per say, but it does utilize more of your connection, and anything that is turned on can cut down on the battery juice.
kapanak said:
If you have data connection on, or WIFI is connected to your device, this option will "locate" your phone on a regular basis, which means it basically turns on your GPS module, and runs associated services that will pinpoint your coordinates. Then it will send to to Microsoft. So, not a HUGE battery drain per say, but it does utilize more of your connection, and anything that is turned on can cut down on the battery juice.
Click to expand...
Click to collapse
Not quite. "Save my Location" is the one that turns on GPS and sends the location back to MS.
The "Get Results Faster" option, which the OP was asking about, is to select whether remote commands are sent via SMS or Push. I expect this 'may' have a higher battery drain because it will keep a data connection open if you're not already using it.
See http://www.microsoft.com/windowsphone/en-us/howto/wp7/start/find-a-lost-phone.aspx
Hello my friend,
I have recently migrate to WP7.5(Tango) and i have some little questions.
My data is always connected, but, i don't have activate the pushmail.
So, why my data are always on ?
Does Windows Phone has an autodisconnect feature ?
If no, is there a way in order to install an application in order to autodisconnect data after X seconds of innactivity.
Thanks a lot for your help,
Nixeus
What phone you are using?
Does your cellular provider charge by the minute, or something like that? All the rates for data that I've seen are either by the month or by the megabyte. I don't think I've heard of auto-disconnect as a desired feature since the days of literal modems (the kind that sent sudio tones over the telephone connection instead of using a communication protocol actually intended for data).
The only way I know of to turn off the data connection is manually, in the Settings hub. Be aware that a lot of the features of WP7 use data connectivity in the background, not just email sync. For example, syncing your Facebook (and Twitter and LinkedIn) account, syncing your contacts and calendar from the server, checking the Marketplace for updates to installed apps, and so on. These use very little data, but they connect fairly often.
In theory, I'm sure there's a way to programmatically turn the data connection on or off. It might even be possible to tell when it's not in use, and hasn't been for some time. This is not going to be easy, though, and as far as I know nobody else has figured it out.
Thanks for the answers,
So, i will coding an apps in order to turn OFF the DATA connection during a period.
( the night for me)