also I just saw a peculiar error message when the device woke up
W/ActivityManager( 356): Scheduling restart of crashed service com.nutomic.syncthingandroid/.service.SyncthingService in 5000ms
I/ActivityManager( 356): Start proc com.nutomic.syncthingandroid for service com.nutomic.syncthingandroid/.service.SyncthingService: pid=10312 uid=10039 gids={50039, 1015, 3003, 1028}
I/dalvikvm(10312): Could not find method android.os.PowerManager.isPowerSaveMode, referenced from method com.nutomic.syncthingandroid.service.DeviceStateHolder.shouldRun
i have a similar issue with Syncthing running on my android smartphone:
Every time my phone is charging and getâs fully charged, i get an error message saying: âSyncthing has crashedâ. I canât tell if Syncthing is interrupted, but at least after a few minutes, when I see the message and check Syncthing, it is running and it works just fine.
Important Settings:
This issue just appears with the option: Sync just when charging.
When I let Syncthing run always in the background, I get no error messages.
I use an inductive QI-charger for charging my phone. I donât know if it works when i charge my phone through the normal USB-cabel
Other info:
Phone: YotaPhone2 (YD206)
Syncthing-Version: v0.14.25
Syncthing-Android-Version: 0.9.8
I love Syncthing and i use it widely with my friends. Iâd like to use it on my smartphone too, but the error messages are really annoying, even through everything works fine. Disabling those pop-up error messages are not the clean solution, but would be a quick work-around.
When you need logs, more tests or info to isolate the problem or when I can help somehow different, I would be pleased to help you.
today the pattern when Syncthing crashes was not as persistent as yesterday. It didânt happen every time my phone getâs fully charged like yesterday. I unpluged my charged phone and sometimes I got the âSyncthing has crashedâ message. I could get the logs of a crash:
(I could not upload files in this forum so I put it to Google Drive)
Which version are you running? There was a common crash in 0.9.7 which was fixed in the last version. Either way, thereâs no crash info in your logs.
When my phone getâs fully charged with my QI-charger, it connects and disconnects multiple times from it with an interval of about 1-2 seconds. When this happens a few times, I get the notification saying that syncthing has crashed.
Here are my logs. I got three crashes:
22:17
22:31
22:33
As noted above, my Syncthing-Android-Version is â0.9.8â and my Syncthing-Version is âv0.14.25â
Of course I am aware that the root of this problem is the connection between my phone and my charger and that this problem should be fixed in the first place, and not the software. Nevertheless I want you to know about this issue.