1.5.2 Cross not closing/ battery usage still high.

   Mixvibes Android applications for Smartphone and Pad: CrossDJ
Forum rules
Click here to join MIxvibes on DISCORD https://discord.gg/gMdQJ2cJqa

1.5.2 Cross not closing/ battery usage still high.

Postby RoJeC on 22 Sep 2014, 15: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

Manual alternative link: ? https://www.mixvibes.com/wp-content/uploads/2017/10/cross-dj-user-manual.pdf
Audio dropouts? Increase audio 'buffer size' value.
FAQ iOS / Android / PC / MAC http://www.mixvibes.com/help/
Soundcard not available/working? Try the 32bit version of Cross (is also installed).
RoJeC
 
Posts: 4926
Joined: 20 May 2011, 08:55
Location: Bussum, Netherlands


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

Postby RoJeC on 23 Sep 2014, 09:33

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

Image

Manual alternative link: ? https://www.mixvibes.com/wp-content/uploads/2017/10/cross-dj-user-manual.pdf
Audio dropouts? Increase audio 'buffer size' value.
FAQ iOS / Android / PC / MAC http://www.mixvibes.com/help/
Soundcard not available/working? Try the 32bit version of Cross (is also installed).
RoJeC
 
Posts: 4926
Joined: 20 May 2011, 08:55
Location: Bussum, Netherlands


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

Postby Nordhal on 23 Sep 2014, 09: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, 14:44


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

Postby RoJeC on 23 Sep 2014, 10: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

Manual alternative link: ? https://www.mixvibes.com/wp-content/uploads/2017/10/cross-dj-user-manual.pdf
Audio dropouts? Increase audio 'buffer size' value.
FAQ iOS / Android / PC / MAC http://www.mixvibes.com/help/
Soundcard not available/working? Try the 32bit version of Cross (is also installed).
RoJeC
 
Posts: 4926
Joined: 20 May 2011, 08:55
Location: Bussum, Netherlands


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

Postby Nordhal on 23 Sep 2014, 11: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, 14:44


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

Postby RoJeC on 23 Sep 2014, 11:37

:cool: :biggrin:

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

Image

Manual alternative link: ? https://www.mixvibes.com/wp-content/uploads/2017/10/cross-dj-user-manual.pdf
Audio dropouts? Increase audio 'buffer size' value.
FAQ iOS / Android / PC / MAC http://www.mixvibes.com/help/
Soundcard not available/working? Try the 32bit version of Cross (is also installed).
RoJeC
 
Posts: 4926
Joined: 20 May 2011, 08:55
Location: Bussum, Netherlands



Return to Android Discussion




Who is online

Users browsing this forum: Google [Bot] and 55 guests

Board index

 
 
   
 
© 2014 Mixvibes