Server Version#: 4.76.1
Player Version#: 4.2.0
iOS 15.4.1, iPhone 11 pro
Ran plexamp through carplay driving home last night and the music paused when turning the car off (as it does) then charged the battery to 100% and then went to bed, taking my phone off the charger. Woke up this morning to the battery at 62% and battery settings saying PlexAmp was the majority battery user. (55%)
I noticed this morning that, even though the music wasn’t playing, the player screen was on on the lock screen showing PlexAmp player status and with the PAUSE button showing inferring that plexamp thought it was still playing - even though it wasn’t (no progress on the play bar). Once I hit the pause button the player screen dismissed from the lock screen.
One thing I’ve noticed, repeatedly, is that after turning the car off the player screen on the lock screen will show on the iPhone as if it’s playing (with the pause button being shown) but not actually playing (no progress on the track, no sound, etc). If I don’t do anything the lock screen will keep showing that “playing” screen. If I hit the pause button - the button will switch to the play icon and nothing else will happen though the at that point the iPhone thinks PlexAmp has actually stopped and will close the playing screen normally. (This persists on carplay as well - if I jump back in the car the now playing screen on the dash will show the same tune as already playing on PlexAmp, pressing pause does nothing but pressing play after that will start playback.) Also, if I play another source (apple music, spotify, etc) then Apple transitions automatically and seems to shut plexamp down at that point.
My gut feel is that the carplay shut down is getting PlexAmp into a funky state or Apple has added some new magic in iOS 15.4 to properly close down a stream (as plexamp is successfully stopping playback)
I checked the logs myself and I can’t see a direct 1-1 correlation that plexamp running in the background doing nothing is causing the battery drain - only that when the iPhone gets into this state - the battery DOES drain. (If I hit the pause button on the lock screen I’m not seeing the battery drain)
EDIT: Note I am running wireless carplay via a carlinkit 3 dongle but I’m not sure if that’s related.