Skip to content

excessive background battery usage #12141

@Blisk

Description

@Blisk

⚠️ Before posting ⚠️

  • This is a bug, not a question or an enhancement.
  • I've searched for similar issues and didn't find a duplicate.
  • I've written a clear and descriptive title for this issue, not just "Bug" or "Crash".
  • 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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions