One of the biggest problems with Huawei mobile phones is that applications they close immediately after stopping use, instead of being «minimized». Although this background shutdown occurs on all modern Android devices, the issue is more critical in Huawei, as its aggressive system shuts down apps immediately after the user stops seeing or using them. This causes problems in many applications that need to run in the background to provide proper service. For example, applications that need to monitor the use of mobile data, check the status of sensors such as accelerometer and others, etc.
Another problem with this automatic closing of applications is that when you return to that application closed by the system, it reloads, which is very annoying. For example, after switching apps, if you return to Chrome, the webpage that remained open in this browser needs to be reloaded; if you return to YouTube, it reloads or updates the beginning (changing the videos that were), if you return to Facebook, it updates and returns to the beginning of the feed, not the post you were in, and so on.
This is a matter of EMUI battery saver and it works, obviously, in order to save battery life. As you know, apps running in the background (while you don’t see them or when you minimize them) may be draining your battery. The system then shuts them down automatically to avoid consumption, whether or not the application should remain active.
Fortunately, this can be solved, firstly, by disabling automatic management of starting or starting applications (and putting it in manual mode) and, secondly, not allowing battery optimization for the application we are interested in.
Step 1. Manually start the application
- Launching applications
- Turn off the switch that says «Manage everything automatically» so that all applications remain with the «Manage manually» option. If you want to maintain automatic start management for the rest of the applications (except the one you are interested in), you need to activate its switch individually.
Step 2. Do not allow battery optimization
- On the next screen, select «Applications»
- Touch the three-point button at the top and select «Special access»
- «Battery optimization»
- Touch the «You don’t have permission» option and leave the «All applications» option selected.
- Select the application that closes itself and leave the «Do not allow» option selected. You will need to do this for all applications that you do not want to close.
- Finally, START the device for the above changes to take effect.
Step 3 (Optional). Disable Powergenie and Hwaps
If, despite doing the above, your Huawei continues to close applications, you must use the ADB program to disable some system applications that may be causing this behavior. The commands to use are the following:
adb shell pm uninstall -k –user 0 com.huawei.powergenie
adb shell pm uninstall -k –user 0 com.huawei.android.hwaps
The «1» command shown in the image is optional and only serves to see if these applications exist on the device. The «4» command only works if your device supports it. Otherwise, you will see the «Unknown order» prompt. You can read more at dontkillmyapp.com.
How to turn off APPS automatically to save battery
Beware of battery saver apps that «disable» notifications (EJ: Greenify)
How and what apps to disable on a Huawei device