gomac / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
0 stars 0 forks source link

Don't use a persistent service when app is not being used. #131

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
NOTE: This form is only for reporting bugs. For questions, comments, or
advice please visit:  http://groups.google.com/group/sipdroid-users

*************************************************
* Read the FAQ                                  *
*    Check if the bug has already been reported *
*        No doubles please                      *
*************************************************

Did you carefully read above and decide this means of communication is the
right for your notice? Don't just list an incompatible SIP server or
device, please. Try to look behind the scenes if you like to
contribute here. Thanks!

--
What steps will reproduce the problem?
1. Install and configure Sipdroid, un-check the use in WLAN or 3G/EDGE, as
if, disabled. Even exit the app.
2. Get a task manager like "TasKiller" or "Advanced Task Manager"
3. Notice sipdroid is running as a service.
4. Kill It.
5. Wait a few minutes. It will show up again.

What is the expected output? What do you see instead?
It should not be running all the time as a service, instead it should use
broadcastreceivers to detect when wifi is connected if the WLAN option is
selected on the settings. Or use the service is EDGE/3G is selected. If
none is selected nothing should be running, not even a service. Running
services on the background all the time kills resources and battery.

What version of the product are you using? On what operating system?
Sipdroid 1.0.7 beta on Android 1.5

Please provide any additional information below.
I love sipdroid, use it everyday when I'm home since I don't have a very
good signal at home and my main number is a google voice number so I have
it setup as GV->Gizmo5->Sipdroid. Works perfect.

The problem comes when I'm not home, when I'm not using sipdroid. I uncheck
use on WLAN, EXIT the app from its icon, turn off wi-fi on my phone, kill
the process. Sipdroid starts running again and it makes my phone slow. I
have been uninstalling the app and reinstalling everyday, it is sipdroid, I
have checked everything,  and uninstalling sipdroid solves the slowness.
Also, battery drains quicker when I have it installed "without running".

Thank you!

Original issue reported on code.google.com by velazcod on 10 Sep 2009 at 5:48

GoogleCodeExporter commented 9 years ago

Original comment by pmerl...@googlemail.com on 10 Sep 2009 at 8:09

GoogleCodeExporter commented 9 years ago

Original comment by pmerl...@googlemail.com on 21 Sep 2009 at 11:15

GoogleCodeExporter commented 9 years ago
this shouldn't have been merged with issue #124.
Based on this issue (#131), it's fine to start sipdroid at boot time.

However, if I don't want to run sipdroid, I want to "turn it off". There's no 
option
to "turn it off" so the work around is to check off the "wlan" AND "3G/Edge" 
options. 

THE PROBLEM is that it keeps running as a service, consuming resources, 
battery, etc.
There should be an option to "turn off" sipdroid so it kills its service. Then 
when
restarting it use, the service should be started again.

Original comment by velazcod on 21 Sep 2009 at 3:31

GoogleCodeExporter commented 9 years ago
Click MENU, then EXIT

Original comment by pmerl...@googlemail.com on 21 Sep 2009 at 5:24

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Right, its now fixed, sorry for not testing it with this current build.
Before, that wouldn't work either, a few minutes later, sipdroid would start 
running again.

Thanks.

Original comment by velazcod on 21 Sep 2009 at 6:55