Since a few weeks ago I noticed that my Huawei P10 is aggressively killing any apps that use the GPS after locking the screen.
My EMUI & Android versions are both 8.0.0.
The apps I tried:
- OsmAnd - which I use to trace my walks and improve OSM with the data
- Komoot - which is an app to track your hikes and add photos, etc
- Graticule - which lets you share your location in realtime
What I tried:
1. Bringing up the task manager, locking the lock above the app.
2. Settings -> Battery -> Launch
* 'Manage all automatically' unchecked
* <App Name> unchecked then check all options on 'Manage manually' screen (Auto-launch, Secondary launch and Run in background)
3. Settings -> Apps & notifications -> Apps -> Settings (cog at the bottom of the screen) -> Special access -> Ignore battery optimisation
* Added the apps to the 'Allowed' list
Regardless of the three things above after locking the screen in 5 to 10 minutes the app is killed. I think this is a bug in Huawei's implementation but their support is impossible to contact. I tried repeatedly and received no answer.
This is very frustrating because it used to work until a short time ago. I'm thinking about a factory reset and if that doesn't solve the issue I will be selling the phone because unfortunately this is a deal breaker for me.
Anyone experiencing the same problems? Any solutions? Suggestions?
Also tried formatting the cache partition, didn't help. If I'll have time during the weekend I'll do a factory reset.
I had the same problem with Strava, on an older version.
adb shell pm disable-user com.huawei.powergenie
If you want it back: adb shell pm enable com.huawei.powergenie
Powergenie is to limit battery usage, and it's too aggressive to kill app services.
Thank you for the response.
I did a hard reset and deactivated powergenie as instructed above and the problem still persists.
I can't describe how disappointed I am. I will be putting up the phone for sale.
What I don't understand is: am I the only one having the problem? I don't see other people complaining or they complained about older versions whereas for me it was the other way around. It worked fine until a few months ago and now it doesn't.
I am having this problem with Honor 7x and Runtastic Pro
Battery--settings icon--keep mobile data on?
---------- Post added at 02:54 PM ---------- Previous post was at 02:39 PM ----------
Phone manager--settings--turn off smart tune-up?
Did someone already solve this problem.
Hi,
I have the same gps recording problems om my Huawei P10Plus. On 8.0.0 android.
Did someone already found a solution. Huawei support can't offer smart ideas.
Pieterdv said:
Hi,
I have the same gps recording problems om my Huawei P10Plus. On 8.0.0 android.
Did someone already found a solution. Huawei support can't offer smart ideas.
Click to expand...
Click to collapse
Hey, had this problem with running app runtastic, so when device promted, I switched in app settings to manual and allowed background running.
After that app was running fine.
I have the same problem with latest release.
Afaik there is no way to prevent huawei from doing this by simply factory reseting. It is not depending on a temporaly bug obviously it is a feature.
I think this was the same problem while VLC blacklisted Huawei devices in the google play store from compatible devices.
Some months ago they said they will make a deal with Huawei... No news about this until today.
And komoot has a topic in their development forum about but still open since many months.
http://support.komoot.de/forums/164264-ideen/suggestions/14366967Sobald es
And GPS apps are not the only ones. I've tried some apps to play local music from the phone on google chromecast. Mostly they stop playing after one music track. I think this is also regarding to the huawei problem with safing energy to aggressively.
Last but not least there are apps that don't have any problems with it. For example Google Maps, Huawei Apps, Whatsapp any much more. So there seem to be a whitelist to the powerengine.
strange.. i have no issue with strava, endomondo, google maps, soundcloud, spotify, google music ...thats the one i tested.
I use endomondo, google maps, soundlcoud and spotify almost everyday without any issues.
Maybe its just that i use the whitelisted apps.
I am on stock B379 C432 firmware.
Solution
We had the same issue in our app. The solution in our app was to change the setting in Settings
Settings->Apps & notifications->Apps-><your app>->Battery
Set App launch to 'Manage manually'
Auto-launch - activated
Secondary launch - activated
Run in background - activated
kitsched said:
Since a few weeks ago I noticed that my Huawei P10 is aggressively killing any apps that use the GPS after locking the screen.
My EMUI & Android versions are both 8.0.0.
The apps I tried:
- OsmAnd - which I use to trace my walks and improve OSM with the data
- Komoot - which is an app to track your hikes and add photos, etc
- Graticule - which lets you share your location in realtime
What I tried:
1. Bringing up the task manager, locking the lock above the app.
2. Settings -> Battery -> Launch
* 'Manage all automatically' unchecked
* <App Name> unchecked then check all options on 'Manage manually' screen (Auto-launch, Secondary launch and Run in background)
3. Settings -> Apps & notifications -> Apps -> Settings (cog at the bottom of the screen) -> Special access -> Ignore battery optimisation
* Added the apps to the 'Allowed' list
Regardless of the three things above after locking the screen in 5 to 10 minutes the app is killed. I think this is a bug in Huawei's implementation but their support is impossible to contact. I tried repeatedly and received no answer.
This is very frustrating because it used to work until a short time ago. I'm thinking about a factory reset and if that doesn't solve the issue I will be selling the phone because unfortunately this is a deal breaker for me.
Anyone experiencing the same problems? Any solutions? Suggestions?
Click to expand...
Click to collapse
Goto Phone Manager touch power saving->Optimize.Phone Manager will rapidly identify apps or features that are rapidly drainning the battery.Touch the Optimize button net to each or feartures to disable it and start saving power.You can touch Recover to re-enable the app or feature.When you remove an app from the protected apps list,your phone will close the app automatically when you turn off the screen to save batterry.
Has this been fixed?
This was always the big issue with my P10 in that Apps that I wanted to always run kept being killed until I found this article https://dontkillmyapp.com/huawei?app=Tasker which refered to https://forum.xda-developers.com/mate-20-pro/themes/remove-powergenie-to-allow-background-t3890409
after removing powergenie with adb shell pm uninstall --user 0 com.huawei.powergenie I have had no more issues with applications being killed.
So here's my conundrum:
I use aa on a rooted phone with aamirror.
I do this because I use overlays to display obd2 gauges and my music widget overlaid on Waze.
However, if android auto is running, and my default nav app is set to Waze, Waze won't run in phone mode. If my default map app is Google maps and I use Waze in phone mode, maps refuses to stop running, and slows the phone down because it's a bloated pile of ****.
So my options are:
A) find a way to make Waze run in phone mode when android auto is running and it's my default map app.
2) find a way to break maps so it appears installed to android auto, but won't actually run because I hate it.
iii) find some other app that will behave as a "map" android app placeholder that either does nothing, or at least has the decency to piss off when I'm not using it.
Any suggestions?
Installed custom Android Q ROM and Android Auto stopped working. Looking around learned Android 10 muggles around Assistant Driving mode and some promised AA for Phone Screen etc but common ground is no solution for running AA on Q I found.
Digging more, found out working solution:
1. Grab latest apks of AA, Play Services and Google apps (apkmirror or so). Pay attention to look for latest version designated specifically for Android 10 if there are such!!! (otherwise get whatever is latest)
2. Install in following order: Play Services, Google and AA latest.
3. Move AA to system apps. Use Titanium or manually
http://www.friendfactor.org/install-user-apps-as-system-apps-on-android/
4. Reboot to recovery, clear cache & davlink.
5. Reboot to system
AA is installed but not visible in launcher. Check it is installed by going to settings - apps and look for it. On bottom of its details, there is option for more settings in application - there you can get int AA settings and activate Dev mode and other options.
So, AA is there but you cannot launch it as normal app.
YET...
After plugging phone to car, AA started automatically and now works flawlessly.
BTW in Dev options now is possible to activate option I'm main settings to use WiFi connection. Tried and working with my Audi
Tested also CarStream 2.0.4 and it works
I've tried it multiple times, with reinstall and reconfiguration both the smartphone and the car. It works for some time and is back to the same behaviour after that.
Was it rock stable for you?
m0d3rn said:
I've tried it multiple times, with reinstall and reconfiguration both the smartphone and the car. It works for some time and is back to the same behaviour after that.
Was it rock stable for you?
Click to expand...
Click to collapse
Yes it is stable for me. Today I also updated with latest Open gapps and it works Ok. I use it for a half an hour commute to work.
My Mi 9 just got upgraded to MIUI 11.
Before that I could let runkeeper run in the background and it would still track GPS while I run.
Now I need to keep phone on and runkeeper in the foreground otherwise it loses GPS connection.
But I see no option to keep location active at all times: https://holland.pk/uptow/i4/e975210e612de1c77bdbeba84edf8b9f.jpg
I see this option for other apps, just not runkeeper.... What gives?
Solved by moving runkeeper to become a system process via systemizer
This applies to the P30 too. I run an app called AlpineQuest which is GPS map/hiking software. It has the facility to track where you have been within the software (track recorder). Within the settings option I have set the following - Settings - Battery - App Launch - <select AlpineQuest and toggle to Manage Manually> - <select Auto-launch, Secondary launch and Run in background and tap OK>.
However, the track recorder gets stopped, presumably by the P30 Pro, after a period of inactivity. This doesn't happen on a Sony phone we have. Am I missing any other settings to try to stop Huawei shutting down the track recorder of this app? Or just in general keeping Apps fully 'alive'?
As an update I followed the guide here ....
Stop your Huawei smartphone from killing background apps | Digital Citizen
How to stop your Huawei smartphone from force-closing apps when you lock the screen. How to stop it from deactivating your antivirus, parental controls, voice recorder, fitness tracker, or navigation apps.
www.digitalcitizen.life
And my P30 Pro is set up as per that guide which includes setting the Special Access which I did not mention in the post above.
Strangely I have another GPS app which also tracks and is set up the same way but that manages to track routes without issue
Additionally try this (of course 'lock' your tracking app):