Cwa-app-android: Android - Prioritised background activity - PRIORISIERTE HINTERGRUNDAKTIVITÄTEN - cannot be activated or deactivates itself

Created on 14 Dec 2020  ·  4Comments  ·  Source: corona-warn-app/cwa-app-android

We have some reports from the app stores, that the prioritized background activity (PRIORISIERTE HINTERGRUNDAKTIVITÄTEN) cannot be activated (case 1) or deactivates itself (case 2) on their ANDROID devices. We would appreciate some feedback here from the community. Thank you very much. Best wishes, DS


Corona-Warn-App Open Source Team


Environment:

  • PROD
  • Version 1.7.1
  • Android devices

Preconditions:

  • CWA 1.7.1 installed

CASE 1: Prioritized Background activity cannot be turned on anymore

Steps:

  • Open the app
  • Open App settings
  • Try to turn on the Prioritized Background activity

Expected result:

  • Prioritized Background activitycan be activated

Actual Result:

  • Prioritized Background activitycannot be activated

Reported cases:

  • v1.7.1 (1070101) Android 10.0, Galaxy s20+ 5g (y2s)
  • v1.7.1 (1070101) Android 6.0, Galaxy tabs 10.5 (chagalllte)
  • v1.7.1 (1070101) Android 8.0, Galaxy s7 edge (hero2lte)
  • v1.7.1 (1070101) Android 10.0, Galaxy s10 (beyond1)

CASE 2: Prioritized Background will be disabled automatically

Steps:

  • Open the app
  • Open App settings
  • Check the status of Prioritized Background activity

Expected result:

  • After the activity was turned on once, it will not be disabled automatically

Actual Result:

  • Prioritized Background was disabled automatically after closing and reopening the app

Reported cases:

  • v1.7.1 (1070101) Android 10.0, Mi 9 lite (pyxis)
  • v1.7.1 (1070101) Android 9.0, Oneplus3t (oneplus3t)

Related issues:

- More detail in an FAQ article needed: https://github.com/corona-warn-app/cwa-app-android/issues/1606#issuecomment-744571331

Internal Tracking ID: EXPOSUREAPP-4293 CASE 1
Internal Tracking ID: EXPOSUREAPP-4301 CASE 2

bug further input needed mirrored-to-jira question

Most helpful comment

Edited first post with more details. DS.

All 4 comments

@dsarkar

We have some reports from the app stores, that the prioritized background activity (PRIORISIERTE HINTERGRUNDAKTIVITÄTEN) cannot be activated or deactivates itself.

Can you share any data about which particular makes / models of smartphones are affected according to the Google Play Store feedback so far?

Edited first post with more details. DS.

With Samsung Galaxy A50 SM-A505FN / Android 10 / CWA 1.7.1 I was able to disable and enable Prioritized Background Activity successfully. I don't recall the device spontaneously enabling optimised battery usage and exposure checks have been working without issue for quite some time.

I find the experience confusing though because of the use of the terms which are defined logically opposite to each other in CWA compared to the Android operating system.

Prioritized Background Activity on = optimised battery usage off
Prioritized Background Activity off = optimised battery usage on

The text "You can activate and deactivate prioritized background activity in your device settings." is not literally true. I can activate and deactivate optimised battery usage in my device settings.

Start out with Prioritized Background Activity (off) = optimised battery usage (on)

Enable Prioritized Background Activity

CWA > Settings > Prioritized Background Activity > OPEN DEVICE SETTINGS
shows Optimise battery usage with filter "Apps not optimised"
so now I have to change the filter to "All" so I can find Corona-Warn which is showing enabled = optimised battery usage on.
Now I tap Corona-Warn which disables it = optimised battery usage off.
Go back to CWA which correctly shows "Prioritized Background Activity" On.

Disable Prioritized Background Activity

CWA > Settings > Prioritized Background Activity > OPEN DEVICE SETTINGS
shows Optimise battery usage with filter "Apps not optimised"
Corona-Warn shows disabled = optimised battery usage off
So now I have three logical states to keep in my head: Optimise / filter not optimised / switch off (which applies of course to the heading "Optimise battery usage" and not to the filter "Apps not optimised").
Now I tap Corona-Warn which immediately removes it from the filtered list without showing it in enabled optimised battery status.
I change the filter from "Apps not optimised" to "All" and find Corona-Warn enabled in the list.
Go back to CWA which correctly shows "Prioritized Background Activity" On

I can think of better user experiences than this! 😱

Related issues:
Improve UX for disabling battery optimization - Internal Tracking ID: EXPOSUREAPP-3835

Was this page helpful?
0 / 5 - 0 ratings