sunvox android restarts when left in background for too long

Found a bug? Post it here.
Post Reply
User avatar
AutumnCheney
Posts: 165
Joined: Sun Dec 29, 2019 8:16 am
Location: durant, ok, usa
Contact:

sunvox android restarts when left in background for too long

Post by AutumnCheney » Sun Oct 18, 2020 7:32 am

i've noticed on both of my android phones that sunvox seems to restart when you leave it in the background or with the device in sleep mode for too long. the time is about 10 minutes and my phones are running android 7 and 10

it seems to have started happening after one of the bug fix updates. this is problematic for me, because i like to listen to sunvox songs in the background sometimes.

would you please check this out? thanks!
please check out my newgrounds account, i post music and talk to people here: https://autumncheney.newgrounds.com

i have a soundcloud and bandcamp too (just music here):
https://soundcloud.com/autumncheney
https://autumncheney.bandcamp.com

User avatar
NightRadio
Site Admin
Posts: 3384
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: sunvox android restarts when left in background for too long

Post by NightRadio » Mon Oct 19, 2020 7:57 pm

Do you mean Restart (close the app completely) or Sleep (when it continues to play after switching back to the foreground)?
As for the sleep - as far as i know this is a "feature" of the Android. The system may freeze the application in the background.

Here is my case:
Android 10, Samsung A51
1) SunVox is in the background, the screen is off -> the app goes to sleep after 1 minute.
2) SunVox is in the background, the screen is on -> the app does not sleep.
3) SunVox is in the foreground, the screen is off -> the app does not sleep.
I don't know yet how to get around (1) :(

User avatar
AutumnCheney
Posts: 165
Joined: Sun Dec 29, 2019 8:16 am
Location: durant, ok, usa
Contact:

Re: sunvox android restarts when left in background for too long

Post by AutumnCheney » Mon Oct 19, 2020 8:24 pm

i do mean restart (as in, it completely closes). in all three cases, sunvox does this after ten minutes. i'll see if i can mess with system settings to get around this.
please check out my newgrounds account, i post music and talk to people here: https://autumncheney.newgrounds.com

i have a soundcloud and bandcamp too (just music here):
https://soundcloud.com/autumncheney
https://autumncheney.bandcamp.com

User avatar
vladkorotnev
Posts: 6
Joined: Thu Aug 16, 2012 7:38 pm
Location: Ufa, Russia
Contact:

Re: sunvox android restarts when left in background for too long

Post by vladkorotnev » Tue Oct 20, 2020 9:12 am

Iirc in Android 10 there were a lot of things tightened to explicitly avoid applications from overusing background modes. Probably calling some API to pretend it's a music player would work, but also would bring up the standard music controls in the notification list.
Isn't there some separate music player app that supports SunVox files via the integration library?

User avatar
NightRadio
Site Admin
Posts: 3384
Joined: Fri Jan 23, 2004 12:28 am
Location: Ekaterinburg. Russia
Contact:

Re: sunvox android restarts when left in background for too long

Post by NightRadio » Tue Oct 20, 2020 12:09 pm

i do mean restart (as in, it completely closes). in all three cases, sunvox does this after ten minutes.
So the app plays music for 10 minutes and then stops?
What devices do you use?

in Android 10 there were a lot of things tightened to explicitly avoid applications from overusing background modes.
And not only in Android 10. The bad thing is that it may differ on different devices. As i know the Samsung ones uses their own battery saving tools.

Isn't there some separate music player app that supports SunVox files via the integration library?
Seems no.

Post Reply