android icon indicating copy to clipboard operation
android copied to clipboard

excessive background battery usage

Open Blisk opened this issue 1 year ago • 3 comments

⚠️ Before posting ⚠️

  • [X] This is a bug, not a question or an enhancement.
  • [X] I've searched for similar issues and didn't find a duplicate.
  • [X] I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • [X] I agree to follow Nextcloud's Code of Conduct.

Steps to reproduce

My Android phone pushes me all the time notifications for "excessive background battery usage for Nextcloud". Also some other users on Android phones, they get the same and when they tap that notification it kills Nextcloud. After that, nobody has the latest pictures on Nextcloud until the app is started again.

Expected behaviour

I expect the Nextcloud app won't drain the battery so much on Android, so it is on top of the list of excessive background battery usage. Or somehow it will check for changes in picture folders so it can start when there is some change and start uploading photos on Nextcloud server. Or make it somehow for users to select, how often it checks folders with pictures in minutes. It is really annoying when someone gets this notification and kills the app and than Nextcloud doesn't work.

Actual behaviour

Open Nextcloud, than after a few hours get a notification and when the User clicks it, it kills Nextcloud app.

Android version

12

Device brand and model

Huawei P30 pro

Stock or custom OS?

Stock

Nextcloud android app version

3.26.0

Nextcloud server version

27.1.1

Using a reverse proxy?

No

Android logs

No response

Server error logs

No response

Additional information

No response

Blisk avatar Nov 07 '23 13:11 Blisk

Facing the same issue. I can't understand how this is still the case after months. It's a super basic feature.

alex005005 avatar Dec 04 '23 14:12 alex005005

Or somehow it will check for changes in picture folders so it can start when there is some change and start uploading photos on Nextcloud server.

That's the current behavior from my understanding.

  • What are your typical (precise) auto-upload settings?
  • Custom or auto-detected folders?
  • What is the app actually doing? Are there queued uploads in the Uploads tab? Perhaps a lot of existing media that hasn't been uploaded before?

joshtrichards avatar Jan 08 '24 14:01 joshtrichards

This is maybe the same as #11983, which was closed because it might be caused by #11974.

lckarssen avatar Jan 31 '24 14:01 lckarssen