Skip to content

excessive background battery usage #12141

Open

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

Activity

  1. alex005005 commented on Dec 4, 2023

    @alex005005

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

  2. joshtrichards commented on Jan 8, 2024

    @joshtrichards
    Member

    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?
  3. lckarssen commented on Jan 31, 2024

    @lckarssen

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

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

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