It seems HMD Global finally found the killer app, but unfortunately it is killing other apps!
Nokia on Android O and P kills any background process including sleep tracking (or any other sport tracking) after 20 minutes if the screen is off. Also when killed all alarms are stopped which renders for example any alarm clock apps useless.
We have investigated this issue in details. We did even purchase a Nokia 6.1 to be able to reproduce the issue. The problem only occurs on Nokia devices with Android Pie. Nokia started to bundle a toxic app (package: com.evenwell.powersaving.g3 or com.evenwell.emm, name: Battery protection) with their devices by some 3rd party company Evenwell. This app kills apps in the most brutal way we have seen so far among Android vendors.
Whitelisting apps from battery optimizations does not help! Evenwell kills even whitelisted apps.
What this non-standard app does is every process gets killed after 20 minutes regardless it is actually supposed to be running and doing a useful job for the user. Also alarms are not triggered. The aim is apparently to save your battery by rendering tracking apps and other apps that use background processing useless.
You can read more on this issue here: https://community.phones.nokia.com/discussion/3428/background-service-killed-even-when-whitelisted
To fix this issue, please do the following:
- Go to Phone settings > Apps > See all apps.
- Tap on the right top corner menu > Show system.
- Find Battery protection app in the list, select it and Force close. It will remain stopped until the next restart. From now on, background apps should work normally and use the standard Android battery optimizations.
Alternative solution for tech-savvy users:
Nokia 1 (Android Go)
Uninstall the com.evenwell.emm package via the following adb commands:
pm uninstall --user 0 com.evenwell.emm
Other Nokia models
Uninstall the com.evenwell.powersaving.g3 package via the following adb commands:
pm uninstall --user 0 com.evenwell.powersaving.g3
The only workaround we found so far is to keep the screen on all time your process runs. Yes, this is very battery consuming. As usually, vendors trying to safe your battery cause much bigger battery drain on this kind of workarounds. An alternative to this is to turn the screen on only less than every 20 minutes.
If anybody is interested to take a look at how the Nokia app killer (com.evenwell.powersaving.g3) works internally, take a look at the decompiled APK.