Catfriend1 / syncthing-android

Syncthing-Fork - A Syncthing Wrapper for Android.
Mozilla Public License 2.0
1.2k stars 40 forks source link

battery setting issue on Samsung phone #1030

Closed XilinJia closed 10 months ago

XilinJia commented 10 months ago

Description of the issue

The app is often stopped (killed) after sometime (a couple of days?).
I think the problem is pretty much related to battery setting. When the app starts, it requests granting battery not optimized permission. With that, the app runs. But with Samsung phone, there is another setting under "background usage limits" called "never sleeping apps". It appears any app with battery unoptimized permission can not be added to the "never sleeping apps" list.

Reproduction Steps

Version Information

Device platform info

Android Log

Catfriend1 commented 10 months ago

Sorry, This is manufacturer specific. I do not own a Samsung to test/try fix it. Contact Samsung?