Good point. Currently the app establishes the connection in the following scenarios:
- When controlling the music. In this case the app will maintain the connection as long as the music is running in the background. You can try that by starting the music from the app and then you can either close the app or lock the screen.
- When a new notification is received. The app establishes the connection for some time and then exits.
- When updating the timeline.
In short, the app only maintains/establishes the connection in the background when it needs to. Otherwise, it drops the connection to save battery.
I’m working on another version that can keep the connection on for other features that need the connection to be on all the time.