-
-
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
Option to turn off automatic media folder discovery and auto upload #8616
Comments
Also related to issue #780 |
@J4gQBqqR at least for the media folder discovery you can expand the notification and deactivate that mechanism. If you have no auto upload fodlers configured there is no work being triggered. Depending on the size of your user account (as in files and folders) it might take the app quite a while to sync the meta data. So the battery draining should go away after some time. |
I'm sorry, but turning off notification does not resolve battery draining issue. Nextcloud is still running in background doing all the tasks and get 20% battery off of my device without notification. Truely, there is nothing configured, notified and uploaded, but the background job is there. The Nextcloud Android client is asking Android system to "scan" and "let me know" about new media folders discovered in Android periodically. Developers might justify themselves saying that the media file discovery service is not provided by Nextcloud and the battery drain is not contributed by Nextcloud's source code. But there is one thing that can be changed: the frequency of querying Android. In this issue, what proposed been to give user the option to adjust the frequency, to turn it off, and to scan media file change only when the app is opened in foreground. |
For anyone having the same issue with me browsing this issue: Here is screenshots of services that I turned off to keep Nextcloud from draining my battery. Before turning these services off, Nextcloud cannot be "forced stopped", "dozed", killed. After turning them off, I can kill Nextcloud from the foreground and background once and for all. I don't know why Nextcloud Android is made in this way. It behaves like those Chinese app which cannot be killed and drains a lot of battery. |
Let's consolidate this discussion into #6505. I encourage you to subscribe and/or upvote that issue. |
Is your feature request related to a problem? Please describe.
This is related to battery draining problem as described in #7663
In a typical day of usage, I've never ever opened the Nextcloud app. However, Nextcloud is using 10% ~ 20% of all battery without any syncing, auto-upload turned on. Yet, the DavX5, which actually handled my syncing for my contacts, calendar and tasks, only uses less than 1% battery.
As an end user, the behavior does not make any sense to me.
Describe the solution you'd like
For some users, the periodic media folder discovery and auto upload feature is not needed. Background activities mean nothing but battery draining for such use scenarios. A toggle to turn off all these features and limit background activity will serve the user well.
Describe alternatives you've considered
Or an option to auto scan phone's media folder only when the app is opened by the user in foreground, like what VLC player did. Currently, there is no option given to the user to limit background activity.
The text was updated successfully, but these errors were encountered: