nextcloud / nextcloud/android

Improper detection of energy saving mode settings

Open
#15,888 4 comments 2 reactions 1 assignee Claimed by @alperozturk96 View on GitHub
0. Needs triage bug
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. Enable energy saver mode globally ("Energie sparen" in the Samsung quick settings panel)
2. Set the battery-specific options of the Nextcloud app to "Nicht eingeschränkt" (unrestricted)
3. Configure an image directory for automatic uploads and choose to upload existing files as well.
4. Save the settings of the automatic upload.

### Expected behaviour

Everything works fine and no prompt about a possible energy saver mode is shown.

### Actual behaviour

A prompt about energy saver mode being enabled is shown, with both dialog buttons just closing the prompt. No automatic upload happens as long as I do not disable energy saver mode globally.

### Android version

14

### Device brand and model

Samsung Galaxy A52

### Stock or custom OS?

Stock

### Nextcloud android app version

3.34.0

### Nextcloud server version

31.0.8

### Using a reverse proxy?

I don't know

### Android logs

_No response_

### Server error logs

```bash

```

### Additional information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.