1.5.2 Cross not closing/ battery usage still high.

   MixVibes Android applications for Smartphone and Pad: CrossDJ

1.5.2 Cross not closing/ battery usage still high.

Postby RoJeC on 22 Sep 2014, 14:03

When closing Cross android it doesn't fully close.

Even worse it consumes over 15% battery power. Likely also the mediaplayer stays active due to Cross, taking in all 33% of battery.
These figures are about 3 hours after running Cross for 2 seconds.

Samsung s3 mini.
Ronald

Image

downloads + more forums = Register license(ucp.php?i=169)
Apple store new user? first read viewtopic.php?f=259&t=34199
Manual? In Cross open menu, select Help (available 24/7).
Audio dropouts? Increase audio 'buffer size' value.
FAQ iOS / Android / PC / MAC http://www.mixvibes.com/FAQ/
Soundcard not available/working? Try the 32bit version of Cross (is also installed).
RoJeC
 
Posts: 4582
Joined: 20 May 2011, 07:55
Location: Bussum, Netherlands


Re: 1.5.2 Cross not closing/ battery usage still high.

Postby RoJeC on 23 Sep 2014, 08:33

8 hours later the combined % raised to having used over 60% of battery while 'turned off'.
Ronald

Image

downloads + more forums = Register license(ucp.php?i=169)
Apple store new user? first read viewtopic.php?f=259&t=34199
Manual? In Cross open menu, select Help (available 24/7).
Audio dropouts? Increase audio 'buffer size' value.
FAQ iOS / Android / PC / MAC http://www.mixvibes.com/FAQ/
Soundcard not available/working? Try the 32bit version of Cross (is also installed).
RoJeC
 
Posts: 4582
Joined: 20 May 2011, 07:55
Location: Bussum, Netherlands


Re: 1.5.2 Cross not closing/ battery usage still high.

Postby Nordhal on 23 Sep 2014, 08:38

I will do some tests, but we know that Cross for Android is an app that is battery consuming.

However, when you close the app, the process is killed. So how did you manage to get Cross DJ in background? Did you press the home button?

There may be an issue here : since we have our audio engine in a low level layer, Android may not kill our app when it needs to.

Tasks & apps are killed as soon as the phone needs some free RAM. But if it does not need this, apps are not killed. In our case, if our app is in background, it can consume.

Also, what did you use to check the battery consumption? I do not see Cross DJ in my alimentation/battery history
Image
Nordhal
 
Posts: 98
Joined: 10 May 2011, 13:44


Re: 1.5.2 Cross not closing/ battery usage still high.

Postby RoJeC on 23 Sep 2014, 09:05

I understand Cross is using necessary power when running. No issue with that.

As I suspected it to be Cross app still consuming the figures are from a test situation.
Phone fully charged, rebooted.
Start Cross. Followed by exit: back button and confirm.

Usage figures from Settings / Battery menu.

Active app info for Cross DJ (when 'closed'; translated from Dutch)
---------
Cross DJ 24mb
2 proces 1 service
..
services
UploadService
started by appplication
..
Processes
Cross DJ 18mb
com.mixvibes.crossdjapp

main proces in use
google play Store 6.8mb
com.android.vending

Service InAppBillingService in use
----------------------
Ronald

Image

downloads + more forums = Register license(ucp.php?i=169)
Apple store new user? first read viewtopic.php?f=259&t=34199
Manual? In Cross open menu, select Help (available 24/7).
Audio dropouts? Increase audio 'buffer size' value.
FAQ iOS / Android / PC / MAC http://www.mixvibes.com/FAQ/
Soundcard not available/working? Try the 32bit version of Cross (is also installed).
RoJeC
 
Posts: 4582
Joined: 20 May 2011, 07:55
Location: Bussum, Netherlands


Re: 1.5.2 Cross not closing/ battery usage still high.

Postby Nordhal on 23 Sep 2014, 10:15

This stupid UploadService does start our app, even if we kill it.
So you're right, unless you stop this service manually, our app is always active.

This is bad, and I fixed it. It should be available on Cross DJ 1.5.3

Thanks for the feedback !
Image
Nordhal
 
Posts: 98
Joined: 10 May 2011, 13:44


Re: 1.5.2 Cross not closing/ battery usage still high.

Postby RoJeC on 23 Sep 2014, 10:37

:cool: :biggrin:

We saved the environment as international project :!: :!:
Ronald

Image

downloads + more forums = Register license(ucp.php?i=169)
Apple store new user? first read viewtopic.php?f=259&t=34199
Manual? In Cross open menu, select Help (available 24/7).
Audio dropouts? Increase audio 'buffer size' value.
FAQ iOS / Android / PC / MAC http://www.mixvibes.com/FAQ/
Soundcard not available/working? Try the 32bit version of Cross (is also installed).
RoJeC
 
Posts: 4582
Joined: 20 May 2011, 07:55
Location: Bussum, Netherlands



Return to Support Android




Who is online

Users browsing this forum: No registered users and 4 guests

 
 
   
 
© 2014 Mixvibes