Page MenuHomePhabricator

[BUG] Excessive background time and battery use
Closed, ResolvedPublic

Description

Steps to reproduce

  1. Use the app normally (~10 minutes of on screen time)
  2. Exit the app by pressing the home button, wait overnight

Expected results

Little to no background time consumed by the app

Actual results

1.1 hrs of background time consumed by the app

Screenshots

IMG_1548.PNG (1×750 px, 149 KB)

Notes

This isn't a regression in 5.4.1. The problem was introduced in July 2016. The background task was being created but not voluntarily ended by the app when it completed downloading saved articles and removing un-refrerenced articles from the disk cache. 1124 has the fix for this issue if we want to pull it into 5.4.1

Environments observed

App version: 5.4.1 (1122)
OS versions: 10.3.2