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

Minimize auto upload wakelock #3547

Open
tobiasKaminsky opened this issue Feb 1, 2019 · 4 comments
Open

Minimize auto upload wakelock #3547

tobiasKaminsky opened this issue Feb 1, 2019 · 4 comments

Comments

@tobiasKaminsky
Copy link
Member

Given an user that does not want to use auto sync / has no folder configured.
Can we somehow disable then the periodic scan?
This would help in terms of battery saving / wakelock.

@nextcloud-android-bot
Copy link
Collaborator

GitMate.io thinks possibly related issues are #2972 ([3.3.0RC1] Camera auto upload fails), #529 (NPE in Auto Upload view finding Media Folders), #1399 (RC4: Crash when showing "migrate to auto upload" dialog), #1290 (Auto upload light ), and #3170 (max-2-line headlines for auto upload config items).

@ne20002
Copy link

ne20002 commented Feb 3, 2019

👍
I don't need sync. For me it's absolutely sufficient if I get the actual version downloaded when I open a file.
Most files are only downloaded once and then just stays there ... a periodic sync is therefore just draining battery.

@arnowelzel
Copy link

Three years later... the problem still exists.

I use auto upload - but this means about 225(!) wakelocks in 30 hours and keeping the device awake for more than 6(!) hours on a Fairphone 4 with Android 12. This means about one wakelock every 8 minutes which last at least a couple of minutes. Even my mail client which has a constant IMAP IDLE connection to my server does not need that many wakelocks - only 24 in 30 hours and it does not miss any mail at all.

If this is really becaus of a regular check for changes - a configurable interval and an optional manual "upload now" feature would be very nice. I don't need every picture I've taken uploaded immediately. Once a day of once every hour would be totally fine for me. And if I really want to have the latest pictures uploaded, it would be nice to have a button or widget "start auto upload now" or similar.

@joshtrichards
Copy link
Member

@arnowelzel It is possible to set it to only upload while charging. That's how I've used auto upload for the past couple years. It's a toggle option under each auto upload profile.

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

No branches or pull requests

5 participants