Reply
Thread Tools
Posts: 4 | Thanked: 5 times | Joined on Mar 2010
#1
I've been going the complete VoIP route with the N900 and I'm mostly satisfied with the performance. I just had a question that doesn't seem to be fully answered through the topics I've searched through in the Talk section.

I have an account through both Skype and SIPGate. I've had the assumption that the battery drain while using an always-on 3G connection and SIP+TOR would be less than 3G+Skype+TOR (no other apps, fresh flash), but it seems quite the opposite. I've went through the entire battery in about eight to nine hours using SIP vs. 12-13 hours using Skype. Is this what I should be expecting? I've searched through some other threads on the topic and read about performance reaching 20hrs with SIP always on. On the other hand, I've also read topics that mention SIP draining the battery (no specifics).

Using 3.2010.02-8.
 

The Following User Says Thank You to Sqrfrk For This Useful Post:
Posts: 2 | Thanked: 2 times | Joined on Mar 2010 @ Stockholm
#2
I haven't tried Voip out with my N900 (yet...), but I did use to run my home phone through SIP on a Nokia E51 over wireless network (3G was not possible due to absurd latency), one thing I noticed was that that battery drain got a lot better after the SIP provider changed settings for SIP re-registration (think the change was something from 30 seconds to 120 seconds), battery life improved from charging daily to once every two or three days. (Details are sketchy though as this is about two years ago)

(The way I used to determine this was by putting my computer between the wireless access point and the internet gateway, while using wireshark to look at the actual traffic...).
 

The Following User Says Thank You to christer_a For This Useful Post:
Posts: 1,258 | Thanked: 672 times | Joined on Mar 2009
#3
It depends on the sip provider. Mine sends keepalives/pings everyo 10 secs or so, and would be unusable on N900 due to the enormous amount of power it'd use.
 

The Following 2 Users Say Thank You to shadowjk For This Useful Post:
Posts: 4 | Thanked: 5 times | Joined on Mar 2010
#4
Is keep-alive determined strictly by the provider? What would happen if I were to change the keep-alive in the SIP settings from Auto to 120 seconds, like christer_a has suggested?

...or 60 minutes?
 

The Following User Says Thank You to Sqrfrk For This Useful Post:
Fargus's Avatar
Posts: 1,217 | Thanked: 446 times | Joined on Oct 2009 @ Bedfordshire, UK
#5
Originally Posted by Sqrfrk View Post
I've been going the complete VoIP route with the N900 and I'm mostly satisfied with the performance. I just had a question that doesn't seem to be fully answered through the topics I've searched through in the Talk section.

I have an account through both Skype and SIPGate. I've had the assumption that the battery drain while using an always-on 3G connection and SIP+TOR would be less than 3G+Skype+TOR (no other apps, fresh flash), but it seems quite the opposite. I've went through the entire battery in about eight to nine hours using SIP vs. 12-13 hours using Skype. Is this what I should be expecting? I've searched through some other threads on the topic and read about performance reaching 20hrs with SIP always on. On the other hand, I've also read topics that mention SIP draining the battery (no specifics).

Using 3.2010.02-8.
This was quite an interest to me as I also use SipGate and Skype!

Have you checked the advanced settings on your Sip account preferences? Are you using the SipGate STUN server or your gateway ALG? There is a keep alive mechanism and timing setting that might help. Unfortunately mine are both on Auto and I must admit I haven't noticed a huge drain on the battery but I haven't done such detailed testing to be honest.
 

The Following User Says Thank You to Fargus For This Useful Post:
Posts: 4 | Thanked: 5 times | Joined on Mar 2010
#6
Originally Posted by Fargus View Post
Have you checked the advanced settings on your Sip account preferences? Are you using the SipGate STUN server or your gateway ALG? There is a keep alive mechanism and timing setting that might help. Unfortunately mine are both on Auto and I must admit I haven't noticed a huge drain on the battery but I haven't done such detailed testing to be honest.
The STUN auto-detect is on, so would I be correct in assuming that the device is looking for and using SipGate's STUN server? I'm not too familiar with how traffic traverses out of T-Mobile's pipe, so I wouldn't know if there's any SIP ALG enabled or not.

Both keep-alive timing and type are set to auto on my end, so I'm not exactly sure where the battery drain is coming from top/htop doesn't show anything out of the ordinary either. And is having SIP taking more of the battery than Skype normal?

EDIT: I went looking for manual setup settings for the US SipGate and came across this:
http://www.sipgate.com/faq/article/3...my_VoIP_device
I guess I'll try doing another full day run and see what happens.

Last edited by Sqrfrk; 2010-03-28 at 10:13.
 

The Following 2 Users Say Thank You to Sqrfrk For This Useful Post:
Posts: 4 | Thanked: 5 times | Joined on Mar 2010
#7
I went through a full day using 15 minute polling and ended up with the same amount of battery life. I think I'll turn on SmartReflex and see what happens for another full day.

On another note, did anyone look at this:
https://bugs.maemo.org/show_bug.cgi?id=8609

It dropped off the search results, but I'd be interested to know if SipGate is using Speex as a supported codec. 2.5G is barely tolerable for VoIP with some randomly peppered garbled voice reaching the other caller (I don't think this particular issue is related to the "choppy voice after 20-30 minute" bug). I've been meaning to set my network back to Dual rather than exclusively 3G and checking to see if that has any noticable impact on the battery.
 

The Following User Says Thank You to Sqrfrk For This Useful Post:
Posts: 193 | Thanked: 104 times | Joined on Oct 2010 @ Romania
#8
hello there,

to the above users of voip and sip...did you came to a conclusion on how it is best for using SIP and VOIP services in relation to the battery drainage?
 

The Following User Says Thank You to gorgezilla For This Useful Post:
Posts: 14 | Thanked: 35 times | Joined on Aug 2014
#9
I know this is a very old thread, but I just wanted to comment that I successfully have SIP running through Voip.ms on a 2-minute registration interval and have not noticed any battery drain. In fact I've had it running for 2 days so far and it just now went to 10% battery.

I can help if anyone is interested in the details of this rig. Right now I'm going Twilio -> Voip.ms -> n900 on a data-only SIM and it's pretty cool!
 

The Following 4 Users Say Thank You to mikegioia For This Useful Post:
Reply

Tags
maemo 5, video call


 
Forum Jump


All times are GMT. The time now is 06:31.