Jump to content

Lockscreen stops Poweramp


vetdoctor
Go to solution Solved by vetdoctor,

Recommended Posts

Reboot phone

1. Start Poweramp and play music

2. Press powerbutton to lock screen- it works fine

3. Press powerbutton to unlock screen- it works fine

Wait three days or so

1. Start Poweramp and play music

2. Press powerbutton to close screen- Poweramp stops playing

(I can pull down the notification shade and  hit the Poweramp play button without unlocking the phone, or, if a bluetooth is connected, use that to restart)

3. press powerbutton to unlock phone, on unlocking the phone, Poweramp stops

 

Reboot phone- it all works as expected.

 

Thanks, 

Link to comment
Share on other sites

If Poweramp is not being force-closed when this issue occurs (which would clear the log) could you use PA Settings=>Get Support=>Send Log to email a logfile to gpmaxmpz@gmail.com. Also send a message to @maxmp to say where you've sent it from so he can watch for it. 

I'm assuming nothing else is sending commands by the way, which you could check by looking at PA Settings=>Headset/Bluetooth=>Last Processed Commands after the issue occurs. But it does sound very much like some over-zealous optimisation happening.

Andre

Link to comment
Share on other sites

Andre, thanks for checking, I looked and it's default.

Sprille I tried that and I thought it worked but then just back to cutting off.

Mpmax I tried the app but it was just to ensure that the battery settings were not cutting the app off. It showed that it was running at 100%.

 

With some other checking I realized that none of the other music apps on my phone have the same problem: Pocket cast, Spotify, Samsung music player, VLC player, all of them work.

 

I don't know if it's relevant to note that Poweramp shuts off when I unlock the phone also.

Link to comment
Share on other sites

  • 6 months later...

Hi!
I'm having a very similar issue on my Sony Xperia 10 mk III. 
The difference is that my Poweramp doesnt fully stop but pauses for a split second and then resumes playback on minimizing/maximizing or screen turning off/on.
I have done everything I can in regards to power management and it didn't help the issue.
Now an interesting thing is that I have two sets of bluetooth headsets, and on one runs without an issue. The problem just appears on the other one. The thing is, the headset that has no issues is an older model only capable of AptX support. The one with issues supports AptX Adaptive. So I tried developer options on my phone and forced the headset with issues to use Aptx instead of Aptx Adaptive, and the issue vanished...
So perhaps it has something to do with 24bit transmission? (old AptX uses 16bit)
Best!
Crow

Link to comment
Share on other sites

@Corax your device/firmware probably temporarily puts Poweramp to paused state and that causes audio artifact. If there is large enough buffer, that can be unnoticed, so that why it depends on output type/codec. I would start with adding Poweramp to the background exceptions list, as those background "optimizations" do 2 things: kill apps if they are considered not worthy for the background, or throttle cpu for them to a very low value, so audio can stutter. 

https://dontkillmyapp.com/sony

Link to comment
Share on other sites

  • 4 weeks later...

Just putting my 2 cents worth in..

I had a similar issue here, and found the last command helped solve the issue.

 

==================
15:01:40.804 AppScannerSupport PAUSE
pause_on_headset USB disconnection/AA
==================
15:01:43.597 AppScannerSupport PAUSE
pause_on_headset USB disconnection/AA
==================
15:02:25.546 AppScannerSupport PAUSE
pause_on_headset USB disconnection/AA
==================
15:02:28.411 PSMediaSessionHelper.Callback onPlay
com.google.android.projection.gearhead
==================
15:02:57.316 AppScannerSupport PAUSE
pause_on_headset USB disconnection/AA
 

I then went to Settings, Headset/Bluetooth, and disabled "Pause on Headset Disconnect"

All other options I triedthat were suggested here in this thread did not work.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...