-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Photo upload runs only when charging #3553
Comments
GitMate.io thinks possibly related issues are #1393 (Upload while charging not working ), #355 (video auto-upload only while charging), #1782 (Take photo & upload it directly in folder), #1226 (AutoUpload uploads all photos that already in Nextcloud again), and #1812 (Empty pic created each time a photo is uploaded). |
Can this maybe related to some sort of battery saving optimization on your phone? |
Tobias, (The #3569 seems to share the same symptoms.) |
Thanks for the offer, unfortunately I also do not have a clue, where to start… Do you see the uploads in the upload queue? |
Indeed, they are in the queue and saying that they wait for the battery saving regime to end. Sony calls that regime Stamina. When disabling the regime, the photos get uploaded immediately. So it seems that the app does not know that it has an exception from the regime. |
We rely hier on Android's PowerManager.isPowerSaveMode(context) method. @kotecky I can create you a test apk file, which you can simply install (and it will be upgraded to next stable release automatically). |
@tobiasKaminsky yes, I will. Let me know. |
As per discussion with @tobiasKaminsky on irc:
So the solution discusse dis to dected such a situation and inform the user about it within the app.
If all these rules apply then show a popup, mentioning the situation (blocked auto uploads) and offering a possible solution (refer to batetry optimization / whitelist). Another possibility would also be some kind of a "force upload now" where we then update the queued entries to "createdByUser" which is basically a "ignore energy related OS settings" (This needs to be discussed...) |
This request did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you! |
Auto upload of photos works only when charging despite the settings (not checked) and the granted exception from battery-saving (phone). When charging starts, the auto upload starts immediately.
Related to old #300 and #355.
3.5.0 RC1, I do not have access to server logs.
Sony Xperia X Compact, Android 8. 0
The text was updated successfully, but these errors were encountered: