excessive background battery usage
- Dominant language
- Kotlin
- Stars
- 5.6k
- Forks
- 2k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 92
Description
### ⚠️ Before posting ⚠️
- [X] This is a **bug**, not a question or an enhancement.
- [X] I've [searched for similar issues](https://github.com/nextcloud/android/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](https://nextcloud.com/contribute/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_
Contributor guide
Assessment
This issue has not been assessed yet.