{"action":"created","issue":{"url":"https://api.github.com/repos/syncthing/syncthing-android/issues/543","repository_url":"https://api.github.com/repos/syncthing/syncthing-android","labels_url":"https://api.github.com/repos/syncthing/syncthing-android/issues/543/labels{/name}","comments_url":"https://api.github.com/repos/syncthing/syncthing-android/issues/543/comments","events_url":"https://api.github.com/repos/syncthing/syncthing-android/issues/543/events","html_url":"https://github.com/syncthing/syncthing-android/issues/543","id":127948793,"number":543,"title":"Syncthing is disabled (Run in background)","user":{"login":"skmlcd","id":10860015,"avatar_url":"https://avatars.githubusercontent.com/u/10860015?v=3","gravatar_id":"","url":"https://api.github.com/users/skmlcd","html_url":"https://github.com/skmlcd","followers_url":"https://api.github.com/users/skmlcd/followers","following_url":"https://api.github.com/users/skmlcd/following{/other_user}","gists_url":"https://api.github.com/users/skmlcd/gists{/gist_id}","starred_url":"https://api.github.com/users/skmlcd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skmlcd/subscriptions","organizations_url":"https://api.github.com/users/skmlcd/orgs","repos_url":"https://api.github.com/users/skmlcd/repos","events_url":"https://api.github.com/users/skmlcd/events{/privacy}","received_events_url":"https://api.github.com/users/skmlcd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/syncthing/syncthing-android/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2016-01-21T15:24:43Z","updated_at":"2016-05-23T08:55:44Z","closed_at":null,"body":"In settings I have set *run in background* settings as shown in picture below. As you can see in top right corner, I'm charging my unrooted device (Nexus 6, stock Android 6) and it is also connected to WiFi.\r\n![screenshot_20160121-154513](https://cloud.githubusercontent.com/assets/10860015/12484501/e838e6b4-c05a-11e5-8d41-8d666515a45b.png)\r\n\r\nWhen I exit the settings, by clicking the top left arrow, I get this dialog error.\r\n![screenshot_20160121-154458](https://cloud.githubusercontent.com/assets/10860015/12484513/f5585366-c05a-11e5-93fb-74e739587cc0.png)\r\n\r\nThis problem is hard to reproduce, since I think it only happens before all directories are synced with your other devices. When I synced all my directories and set the settings above, this problem did not occur.\r\n\r\nAnother possible scenario would be:\r\n1. I wasn't charging my device while I was on main activity.\r\n2. Went into settings activity and checked the settings in the picture above.\r\n3. Started to charge my device.\r\n4. Went back to main activity and it didn't detect that phone is now charging.\r\n\r\nAlthough this seems unlikely because when you're in settings activity and click on back arrow (top left) it exits Syncthing all together (instead of going to main activity) and when you restart the app it works.\r\n\r\nI'm sorry, I know this isn't really helpful since I can't fully reproduce the steps."},"comment":{"url":"https://api.github.com/repos/syncthing/syncthing-android/issues/comments/220923707","html_url":"https://github.com/syncthing/syncthing-android/issues/543#issuecomment-220923707","issue_url":"https://api.github.com/repos/syncthing/syncthing-android/issues/543","id":220923707,"user":{"login":"herdz","id":7418524,"avatar_url":"https://avatars.githubusercontent.com/u/7418524?v=3","gravatar_id":"","url":"https://api.github.com/users/herdz","html_url":"https://github.com/herdz","followers_url":"https://api.github.com/users/herdz/followers","following_url":"https://api.github.com/users/herdz/following{/other_user}","gists_url":"https://api.github.com/users/herdz/gists{/gist_id}","starred_url":"https://api.github.com/users/herdz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herdz/subscriptions","organizations_url":"https://api.github.com/users/herdz/orgs","repos_url":"https://api.github.com/users/herdz/repos","events_url":"https://api.github.com/users/herdz/events{/privacy}","received_events_url":"https://api.github.com/users/herdz/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T08:55:44Z","updated_at":"2016-05-23T08:55:44Z","body":"Cleared the app data and the issues disappeared."}}
{"actor":{"display_login":"herdz"}}