Project

General

Profile

Possible Problems with Power Management on Huawei P20

Added by Soren Stoutner over 5 years ago

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:

https://news.slashdot.org/story/18/07/25/2057249/vlc-blacklists-newer-huawei-devices-to-combat-negative-app-reviews

https://forum.xda-developers.com/huawei-p20-pro/help/ram-battery-management-actively-killing-t3781281

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.


Replies (1)

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.

https://www.stoutner.com/privacy-browser/common-settings/preventing-crashes/

    (1-1/1)