Originally created by: hm.gglm...@gmail.com
I use CSipSimple on several devices, and always with the exact same configuration.
Some details: Version 1.02.03, Integrate with Android, Only for outgoing, UDP only, Only "Wifi for outgoing calls" is checked under Network (and the 2 "detect roaming" boxes, they were checked by default), nothing else.
I have the following observation:
- On all devices, after a fresh boot, and no CSipSimple call placed, power consumption is, say, 5% overnight (phone left alone untouched).
- On an htc Desire X (Stock Android 4.1.1), this does not change, even after I placed a call with CSipSimple in the evening
- But on a Samsung S4 Mini (Stock Android 4.4.2) the following happens reproducibly: After placing a short call with CSipSimple and hanging up again, the battery consumption of the phone rises to about 5% per HOUR (phone again in left alone in sleep mode and not touched overnight.)
This is despite the fact that CSIP simple is not shown by Samsung's task manager, and has apparently exited cleanly (also no icon shown in the task bar). Under Settings/Battery, the excessive battery consumption is assigned to "Android OS", CSipSimple does not even show on the list of apps using power there.
All settings not detailed above are left on the app's default, e.g. I did _not_ activate "Keep awake while on call", or "Activate partial wake lock", etc.
So it looks we have to somehow check what CSipSimple does here (on some phones only) ...
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: hm.gglm...@gmail.com
I have produced 3 screenshots illustrating the issue to more detail:
Screenshot 1 clearly demonstrates when the SIP call was taken, and how it permanently increased the power consumption of the (otherwise idle) phone. The screenshot also demonstrates that (before and after) the phone status really seems idle, specifically "WiFi" and "Awake" status are reported as essentially "off" (blue bars in the lower half of the screen). Only mobile network signal was "on" all the time (but I cut off "Mobile data", and it is barred from being used in my CSipSimple's network settings anyway).
Screenshot 2 seems to indicate that the bulk of the power consumption is attributed to "Android OS".
Screenshot 3 shows the power consumption details of "Android OS". Curiously, here a very long time of "Stay awake" is reported, this indicates where the power may be drawn to, (at least as far this Android Power consumption setting interprets it).
I have so far not found any other way to rectify the situation than a complete device re-start. (Also going to Samsung's "Active Apps" manager and clearing the RAM there, which seems to close all background apps, did not change this behavior).
Unfortunately I cannot attach the screenshots here due to "quota exceeded", so I will send them to the project owner by mail, hope that's ok.
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: hm.gglm...@gmail.com
Just as a workaround for the mean time while this is not resolved: The only 2 ways I could find so far to stop the excessive battery drain again after a SIP call are
- either completely re-boot your device
- or go to Android's settings, App manager, and force-stop CSipSimple. You can immediately re-start CSipSimple by tapping it in your devices apps folder to re-create the Android device integration with the dialer for the next time you dial (then exit CSipSimple again).