too-frequent keepalives from a SIP connection? - 8525, TyTN, MDA Vario II, JasJam ROM Development

I configured Sipgate using the built-in WM6.1 Sip client on CRC's 12.9 (naked-bs), which works fine on Three UK using the normal packet data connection.
Unfortunately the battery usage is horrible: about 20% in under an hour just to remain "Available" (forget making any calls!). Keeping an eye on the data icon suggests that there is traffic (keepalives?) every 15 seconds or so.
Is there any way to modify this keepalive timer? Even pushing it to 30 seconds would make a significant difference.
Cheers
Geoff

Related

New XDA2s User...Help please

Having just purchased the XDA2s and had a go at operating it today, there are a few querys that i would like answering please.
1) How do you disconnect from the GPRS internet, always seems connected, is this costing me when connected dont want a massive bill ?
2) Is the Spb GPRS Monitor installed on the device or will I need to install it with the disc provided ?
3) Signed up to a Data only tariff 36Mb a month, how much internet usage does this allow for general browsing?
I know they may seem easy questions but been a new user of the XDA I would be very greatful if they could be answered.
Thanking you Bandari
To force a disconnect with GPRS, hold down the End key at the Today screen.
Spb GPRS Monitor is a good program to have, but I have unlimited GPRS for $19.99/month with Cingular here in the US, so I don't care how much I use. :wink:
Just happened to check last month's bill and it showed that I downloaded 110MB.
Thanks
How much Data usage do you use to total 110MB, just as a rough estimate (is it a few hours browsing a day)
Disconnecting GPRS
To disconnect hold down the red phone buton for 3 seconds or better still download GB Soft Tweak fron here. http://www.gb-soft.cz/xdaii/product_gprs_tweak_en.htm A disconnect option appears when you tap connections.
Thanks Rick
Will try the download, obviously the XDA has been connected whilst I have been unable to disconnect, will I have been charged for this?
Also cant find the GPRS settings in my programs what are they under, do I need to download them?
A good way to limit the MBs consumption is to not display the images while browsing.
You can stay connected as long as you want, I believe. You will not use much megas just for being connected.
As an example, I use MSN messenger instead of SMS as much as I can. The cost of an SMS is huge compared to the cost of an Instant message of the same amount of characters...
My two cents.
thanks for that
any idea where the Spb GPRS Monitor is on the device, do I have to connect to the USB port and transfer from the disc?
also at present cant make or recieve calls only got the XDA yesterday but, must be connected because Internet is working but no calls, I dial the number then it cuts off after 2-3 seconds?
Any ideas ???????
Not sure what you mean about the GPRS settings. If you haven't yet configured GPRS access then it's START/SETTINGS/CONNECTIONS TAB/CONNECTIONS ICON/MANAGE EXISTING CONNECTIONS/NEW enter a name (any name), select a modem Cellular Line (GPRS), Access Point name is provided by your phone company ("internet" for Vodafone), User Name "web" (again for Vodafone), password "web" (Vodafone) click finish. You can also access connections by tapping the signal strength icon on top left of screen.
Not sure about cost but sounds like you've set your account for a specific ammount of download. You don't in the case anything for being connected - only for downloading pages.
Don't know my left from right - the icon is top right, not left - next to speaker icon.
Bandari said:
Having just purchased the XDA2s and had a go at operating it today, there are a few querys that i would like answering please.
1) How do you disconnect from the GPRS internet, always seems connected, is this costing me when connected dont want a massive bill ?
Click to expand...
Click to collapse
I called up O2 about this very thing when I got mine. I couldn't get the thing disconnetced from GPRS without turning on Flight Mode! Holding down the red telephone button used to disconnect it but it would immediately come up with the "Connecting" box once again. I had to hit cancel several times before it got the message to stop connecting!
O2 said that the phone can stay connected to GPRS and you will not be charged unless you are transferring data by browsing the web or whatever.

a question about GPRS connections

I have recenty been trialling a push email solution from Qore.
basically, I set up my email program (in my case outlook) to forward my emails to the T-Mobile email service. This service then sends me a text to indicate I have an email. The pusheffect program intercepts this text (there's no text indication etc) and then connects via GPRS to my T-mobile connection and downloads my email from my server.
works perfectly...EXCEPT, it doesn't close the GPRS connection afterwards.
so, my queston is how much (if any) data is transmitted while I'm connected via GPRS (little G with the two arrows) but not actually using it??
I don't want to find myself with a huge bill at the end of each month
Many thanks
According to GPRS data usage there should not be any data transmision if the connection is not used. No data - no traffic. If you want to be sure I would recomend GPRS Tweak (http://www.gb-soft.cz/XDAII/product_gprs_tweak_en.htm) soft that enables you to close the connection after predefined inactivity time. That should solve your problem.
perfect...that'll be the gadget to have then
many thanks
at least it would have been if it worked!!
set to close connection after 10 mins...left it for 20....still connected!!
looks like I'll just have to keep doing it manually
Sorry, I have been using it a short time only but been more interested in saving battery than the traffic. I'm on unlimited data tarrif so I keep the connection constantly (no major difference in power consumption).
Maybe the author has a solution?
P.S.
Did you try with the device switched off ?
The option implies that it's more the device that needs to be inactive than the connection.

MS exchange + activesync not staying connected?

so on my screen im showing
Microsoft Exchange
Sychronized: Today 12:26PM
yet its 12:36pm... its not staying connected but im in 3g with full bars and 3g connected internet. i have it set to recieve items as they come.. i will admit im new to this whole exchange service. im using gmail fwd to mail2web's LIVE service. any help? please?
What radio are you using? Wouldn't that have something to do with your Radio...I just read about someone with the newest AT&T rom and he has it on 30 PPC in his business and everyone keeps loosing the exchange server connection because of radio 1.54.07.00
Post 107
Yes, but since the signal reconnects within seconds you wouldn't have noticed an issue unless you use Microsoft Push email. Push will stop syncing.
Am guessing you don't, as we now have about 30 devices on this new ROM and it is causing nightmares.
http://forum.xda-developers.com/showthread.php?t=340987&page=11
I've the same problem with my phone (Schap's french 3.54 + radio 1.50). Sometimes it stays connected and sometimes it don't. But it always correctly sync incomming mails as they arrives but not what I do on my e-mails (reading status, deleting, ...) causing my desktop to be desynchronized from what I did (for 1 hour or so). As soon as I click on the "sync now" on Activesync everything goes well.
I didn't had this problem with the official WM6 (same radio).
PS : I recommand you to disable the 3G because of the battery drain. Using a comm manager, I can enable/disable 3G on demand. When disabled, EDGE is far enough for syncing mails and surfing on the Internet, very few applications requires 3G/are significantly faster with 3G enabled (ex: VoIP, downloading, streaming, ...)
im on the newest radio 1.54.07.00.. battery drain is not an issue for me so im always 3g. im using ms push btw.. im going to change radio will report back.

Mobile network connection question

Okay... on my previous phones (HTC with WM, Nokia with symbian...) you could have data connection active, but the phone would use it in X minutes/hours (just as often you setup everything to update, like mail).
With android, I have noticed that data connection is active all the time. It may not make transfer constantly, but the connection is active. Why is this so? Have you all noticed this too?
I have noticed that by turning mobile connection off, I can get my Desire battery to last x3 times longer then leaving it active (example: 20 hours with constant data connection on, 2-3 days with data connection disabled all the time).
Why doesn't the phone use the connection only when needed, and disconnect?
get a program called juice defender that will activate the connection by a schedule i.e 1m of active connection every 5 minutes.
I had that program, no problem in that aspect. My question is: why is only android doing this? Why android must keep the connection active all the time in 1 hour, when it will really need that connection for a minute every hour?
I am not asking for a third-party solutions, I am talking about general android function

[SOLVED] Battery drain while using SIP / VoIP

I've been fighting for a few days with a really severe battery drain issue. After many reflashes, tests and curses, I tracked it down to the SIP client I was using (software itself didn't matter, it seemed like any SIP client - CSipSimple, SipDroid etc - was the same). I was - and am - running baadnewz v1.3 DHD ROM on a HTC Desire, the problem was there regardless of the ROM, kernel and radio. Without SIP running, but 3G on, my battery consumption was normal, in the range of 1-2% / h; with SIP over 3G, it went to 6-8% per hour, rendering the phone useless.
Then I read this article: http://code.google.com/p/sipdroid/wiki/NewStandbyTechnique and it all became much more clear.
Once I switched from the UDP to the TCP registration method, all went back to normal and battery drain is again in the range of 1-2% per hour.
Note this is valid for any SIP provider and software. I am using CSipSimple and some accounts from different SIP providers, connected via pbxes.org. Also note that not all SIP providers offer TCP auth. - in that case, either you switch to one which does or you connect via some "man-in-the-middle" service like pbxes.org or sipsorcery.net. Follow their guides for setting up the extensions, trunks and routes and then configure your SIP client of choice with the virtual PBX account. Again, don't forget to set the registration method to TCP - in CSipSimple, this is in the advanced account properties, field Transport.
airwave88 said:
I've been fighting for a few days with a really severe battery drain issue. After many reflashes, tests and curses, I tracked it down to the SIP client I was using (software itself didn't matter, it seemed like any SIP client - CSipSimple, SipDroid etc - was the same). I was - and am - running baadnewz v1.3 DHD ROM on a HTC Desire, the problem was there regardless of the ROM, kernel and radio. Without SIP running, but 3G on, my battery consumption was normal, in the range of 1-2% / h; with SIP over 3G, it went to 6-8% per hour, rendering the phone useless.
Then I read this article: http://code.google.com/p/sipdroid/wiki/NewStandbyTechnique and it all became much more clear.
Once I switched from the UDP to the TCP registration method, all went back to normal and battery drain is again in the range of 1-2% per hour.
Note this is valid for any SIP provider and software. I am using CSipSimple and some accounts from different SIP providers, connected via pbxes.org. Also note that not all SIP providers offer TCP auth. - in that case, either you switch to one which does or you connect via some "man-in-the-middle" service like pbxes.org or sipsorcery.net. Follow their guides for setting up the extensions, trunks and routes and then configure your SIP client of choice with the virtual PBX account. Again, don't forget to set the registration method to TCP - in CSipSimple, this is in the advanced account properties, field Transport.
Click to expand...
Click to collapse
Thanks for the information. I changed my pbxes.org connection to TCP but still have battery drain issues when it is registered (~150mA = ~12%/hr). I've also extended the keep-alive delay from 40 to 100. There was a very short window where the drain was around 30mA but it soon went back up to 150 and has not come down since. If I set cSipSimple to be available on for outgoing calls and disconnect it, drain is normal at 5-10mA until it reconnects.

Categories

Resources