Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection started to drop in a minute after I replace my smartphone. #240

Open
1 task done
lamrongol opened this issue May 17, 2022 · 7 comments
Open
1 task done
Assignees
Labels

Comments

@lamrongol
Copy link
Contributor

lamrongol commented May 17, 2022

Is there an existing issue for this?

  • I have searched the existing issues

Description

First, this problem probably only happens in certain cases and we'll be not able to figure out what caused it. I'll leave it as a record just in case.

Recently I replaced my smartphone from Galaxy S9 to Galaxy S20 and re-installed MusicBee remote. Then, I noticed MusicBee remote on Galaxy S20 connection drops in a minute even if I stay in home all the time.
I confirmed MusicBee remote on Galaxy S9 connection doesn't drop as long as I'm at home.

Maybe, the cause is that OS of Galasy S9 is Android 10 but Galaxy S20 is Android 12

Expectation

No response

Steps To Reproduce

No response

Environment

- App Version: v1.5.1
Android version and device is as above

Anything else?

No response

@kelsos
Copy link
Collaborator

kelsos commented May 17, 2022

Hey @lamrongol I will have to check it. While I don't have access to Galaxy S20 I have a pixel 6 running the latest version of Android. If it is an Android thing I will probably figure it out.

Also maybe you could enable logs on the app on the S20 and leave it until this happens, and then send me the logs?

@lamrongol
Copy link
Contributor Author

lamrongol commented May 17, 2022

@kelsos Thank you for reply.

Also maybe you could enable logs on the app on the S20 and leave it until this happens, and then send me the logs?

I found Debug Logging option but can't find logs. Should I send from feedback menu?

@kelsos
Copy link
Collaborator

kelsos commented May 20, 2022

@kelsos Thank you for reply.

Also maybe you could enable logs on the app on the S20 and leave it until this happens, and then send me the logs?

I found Debug Logging option but can't find logs. Should I send from feedback menu?

Yes, it will create a zip archive and it will attach it along with the mail from the feedback menu.

I managed to find some time to check stuff today. I am running a test on a Pixel 6 and on a Galaxy Tab S6 Lite to see how things go.

If you manage to send me the logs this will also help.

@lamrongol
Copy link
Contributor Author

lamrongol commented May 20, 2022

@kelsos I sent the logs.

@kelsos
Copy link
Collaborator

kelsos commented May 25, 2022

@lamrongol sorry for taking too long to reply, I am looking at the logs. In a lot of cases, it seems that after a while the application stops receiving pings and disconnects. I will see if I can figure out something, but in the meanwhile could you try the instructions on the site https://dontkillmyapp.com/samsung to see if this helps?

Apparently, Samsung is now doing an even more aggressive power management that kills even foreground applications which might explain what you see.

I will check if I can figure anything else but also let me know if changing the settings helps at all.

@lamrongol
Copy link
Contributor Author

@kelsos I set app setting "(Battery) Don’t optimize" and connection no longer drop for at least three days. Thank you very much.

@kelsos
Copy link
Collaborator

kelsos commented May 30, 2022

Great, good to know that this works for you. I need to add it to an FAQ somewhere now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants