If you have Huawei P Smart mobile phone, you may have noticed its annoying tendency to kill third party background applications randomly, even those set to be managed manually (Fig. 1).
The auto-launch setting also does nothing (at least on my phone using excellent Blokada and Auto Auto-Rotate applications).
To fix this you’ll need to follow the steps outlined here. I didn’t have PowerGenie app they mention installed, but I did have something called hwaps. Uninstalling it (Fig. 2) fixes the problem with a phone randomly killing background applications and not starting them on boot.
If you have changed your mind, you can restore hwaps application by issuing the following command:
adb shell pm install-existing --user 0 com.huawei.android.hwaps