Skip to content

App is unable to download files properly with screen off #6230

@pilsnerbeer

Description

@pilsnerbeer

Steps to reproduce

  1. Download a reasonably big file that will take a few minutes to download (mine was 500MB)
  2. Turn the screen off and wait for the file to download
  3. Notice your files weren't downloaded and an error was printed instead

note: I dont use any specialized tools or settings that would kill NC when device switches to sleep. Battery optimization is set to default on Android 10 (adaptive).

Expected behaviour

App should download files on the background or with screen off with no problems.

Actual behaviour

Screenshot_20200605-232622_1

Environment data

Android version: 10

Device model: op5t

Nextcloud app version: 3.11.1

Nextcloud server version: 18.0.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    approvedbugfeature: power managementPower / battery mattersfeature: transfers[WIP] Any uploading / downloading matters that aren't auto upload or sync specificneeds reviewPotentially out of date or duplicate and/or fixed or mostly fixed so needs a status updatepr exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions