Possible Problems with Power Management on Huawei P20
I received a bug report from a user who is having issues with a Huawei P20. Privacy Browser sometimes crashes on startup while parsing the blocklists. This takes a lot of CPU power and RAM over the space of a second or two, and my guess is that Huawei's customizations to Android's power management is shutting down the app because it thinks it is using too many resources. To be certain, I need someone who can do further testing. Does anyone out there have an Huawei P20?
Huawei is know for killing apps with their overaggressive power management:
I have reason to believe that something similar might be happening on the Ulefone MIX, Xiaomi Redmi Note 5A, and Huawei Honor 8.
It is possible that changing the battery optimization to "Don't optimize" as shown in the attached screenshot might help. Note that this is not needed on devices that run Android's standard battery optimizations, but only for ones where the manufacture has messed them up.
RE: Possible Problems with Power Management on Huawei P20 - Added by Soren Stoutner over 5 years ago
I think this particular problem with the P20 was caused by Huawei's "Smart resolution" setting. Disabling it makes the crashes go away.