Huawei Power Management

In particular, Huawei implements non-standard restrictions on Translateandroid background processes to improve the battery life of its devices (power management). Also visit https://dontkillmyapp.com/.
This means that Huawei very restrictively kills all background processes after a certain time. This results in a running navigation with routes being stopped after a short time if the screen is not turned on (the app is not in the foreground). On this page we describe how you can change this behavior.
UPDATE: On some phones with EMUI 9+ (Android P+) Huawei introduced a new task killer app called PowerGenie which kills everything not whitelisted by Huawei and does not give users any configuration options. 🙁

NOTE: The app and battery settings may be found on different menu options on your specific phone model. Please try to find the right combination of settings on your phone.

SETTING 1:
(Ensure, that battery optimization is switched off)

  • Go to Settings on your Huawei device
  • Select Apps (maybe Apps again, depending on model)
  • Tap Three Point Menu at the top/right of the screen
  • Select Special Access
  • Select Battery Optimization
  • Go to Routes and
  • Change value to Not Allowed
Settings Apps
Go to Settings on your Huawei device and select Apps (maybe Apps again, depending on model)
« 1 of 4 »

SETTING 2:
(Ensure, that ‘run in background’ is switched on)

  • Go to Settings on your Huawei device
  • Select Battery
  • Select App Start
  • Go to Routes and
  • Change value to Manage manually
Settings Battery
Go to Settings on your Huawei device and select Battery
« 1 of 3 »

OTHER KNOWN SETTING
(some EMUI 5 and EMUI 6+ devices)

  • Phone settings > Advanced Settings > Battery manager > Power plan is set to Performance
  • Phone Settings > Advanced Settings > Battery Manager > Protected apps – check for your app as Protected
  • Phone Settings > Apps > Your app > Battery > Power-intensive prompt and Keep running after screen off
  • Phone settings > Apps > Advanced (At the bottom) > Ignore optimisations > Press Allowed > All apps > Find your app on the list and set to Allow
  • Phone settings > Apps > Settings > Special access > Ignore battery optimisation > select allow for your app.