"reverse function" of auto upload settings
- 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
1. Set up a folder for automatic file upload
2. Enable "only via free WiFi" and "only while battery charging" (roughly translated)
3. See after a few hours your battery and mobile data being emptied because nextcloud uploaded several gigabytes over mobile data while running on battery.
4. Next day: disable "only while battery charging"
5. See how files won't upload because "waiting for charging of device"
### Expected behaviour
I would expect automatic file uploads to be paused while not connected to WiFi and running on battery.
Also I would expect automatic file upload to start when I disable the respective functions for that folder.
### Actual behaviour
Overall these settings do the opposite of what one would expect of them.
### Android version
13
### Device brand and model
Sony Xperia xz1 compact
### Stock or custom OS?
Custom (explain in "additional information")
### Nextcloud android app version
3.29.1
### Nextcloud server version
Nextcloud Hub 7 (28.0.4)
### Using a reverse proxy?
No
### Android logs
_No response_
### Server error logs
_No response_
### Additional information
Rom version is Lineageos 20-20231227-UNOFFICIAL-lilac
I don't find logs from the app. The server doesn't show relevant log entries.
Contributor guide
Assessment
This issue has not been assessed yet.