Audio stutters | packet loss when phone is locked or librepods app not directly open
So I am quite sure that it has something to do with battery saver settings and how aggressively the OS puts the bluetooth stack controlled by librepods (if this is even technically correct, just an enduser here, no developer) to sleep or ranks down it's task priority.
No matter the playback app: After a while the connection just gets stuttery resulting in bad (like really earbleeding) packet loss. This happens later when the last app opened (before locking the screen) is the librepods-app; happens earlier when you have it in the background, and will not recover until you open librepods again in an unlocked state.
I disabled any battery saving options in the OS itself, device is rooted - however still happens very reliable; just a matter of time.
Using an Unihertz Titan 2 on Android 15, device is rooted and librepods is installed following setup process including activated xposed framework.
--
I know that this is not a great bug report, I will append logs and more details in a few days.
That's interesting, all the app changes in the stack is a very small function that is only called when a new connection is made. And there is no continuous stream of data that the app receives/sends for controlling, I don't see a reason why the audio breaks with it running.
Also, just to confirm, the app is working, right? You are able to see the battery status and everything? And which version of the app are you using?