Music stopped by energy saving? - Huawei P20 Pro Questions & Answers

Hi,
how do I prevent the Huawei software to stop playing the music once it turns off the screen? I have tried to give the google music app all sorts of permission that explicitly state that it would keep on running in the background.
The only way is to turn off standby mode off?

Settings -> Battery -> App launch -> Disable "Manage automatically" for your music app.
Settings -> Search for "Battery" -> Battery optimization -> Change to "Don't allow" for your music app.

Did that already, it seems there are some other dependencies with the Google Music app, which also need the same settings.
In the end I used another app, and set the right permissions, now my mother has stopped complaining.

I have noticed this same problem. I use my P20 pro as my music phone, and the Play Music app is always getting killed. I'll probably have to just switch to another app or use a different phone.

Related

switching apps off outside home

I'm trying to get tasker to switch an app on and off depending on if I am home. I can get the app to launched but not to kill it. Have added an exit task but it doesn't seem to work. Tried to get it to make a notification when I get home and leave using the same setup and that works any ideas how to get around this.
Very new to the app so bear with me.
Killing apps is iffy at best. I believe since lollipop, it has to do with SELinux. Google play pulled Taskkill from the play store a long time ago. It's still available though. See this Reddit post.
ktmom said:
Killing apps is iffy at best. I believe since lollipop, it has to do with SELinux. Google play pulled Taskkill from the play store a long time ago. It's still available though. See this Reddit post.
Click to expand...
Click to collapse
That's bit of a bummer. Killing apps at various locations was my main reason for buying the app.
+ Profile -> State -> Phone -> Cell near (at home) SCAN
... + task -> app -> launch app => exit task -> app -> kill app
Similar to this I mananged to enable/ disable (cgi, http get) my ip camera at home.
perhaps it helps.
br
Ulrich
That's what I did on my oneplus 3t but the Three in Touch refuses to switch close down.
Eggstones said:
That's what I did on my oneplus 3t but the Three in Touch refuses to switch close down.
Click to expand...
Click to collapse
Mmmh, I checked with three apps on my device, they also refuses to close.
Go to settings -> about phone and look for SELinux status. I'm sure it says enforcing.
Can't find SElinux in that menu.
You must be stock, so it's enforcing.
I am
I've the same problem, but i've magisk and SElinux permissive. Can not kill an app anymore with Tasker on Nougat (tried with root option checked and unchecked). Tasker is enabled in Magisk superuser.
AutoInput back out of the currently running app.
I ended up with an autoshorcut to a kill task in automate. Works perfectly. It's a shame that this function is not working in Tasker but in others like automate or macrodroid.

Huawei P10 killing apps that use the GPS (ignoring any settings)

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.

Google Keep notifications are working only when app is ipen

Google Keep notifications do not appear if the app is not open. Never happen to me on P10. Uninstaled it, worked for a day, again not working
Go to Battery -> App Launch and turn Manage automatically off for Google Keep.
Maybe also Apps, Apps, "3 dots top right", special access, battery optimization and exclude google keep.
DonĀ“t really know why there are two options for battery saving to be honest, if anybody has an idea.....

Question Notification and Sync issue

Hi there,
Gmail, WhatsApp, Telegram Skype, Google voice and more won't sync automatically and I'm not getting notification until open the apps manually
Motorola X30 Pro RETCN original firmware
My friend look for device shield in your device and there you have some options to enable background services that's an app, pretty sure that is causing your issues.
Vullnet13 said:
My friend look for device shield in your device and there you have some options to enable background services that's an app, pretty sure that is causing your issues.
Click to expand...
Click to collapse
yes, its device shield stops everything, after allowing for WhatsApp it's working fine
but Gmail, and Telegram do not update until opening and of course some other apps
some apps work fine when allow to run in the background in the device shield and some of them not working
You need to enable and auto restart there as well
I did it too, not working
I'm going a reset factory with LMSAA
also something weird is happening
Sometimes personalize app 0kb data and force close until I do restart phone several times
I found the problem for anyone who has the issue like me
first: Device Shield background running app should be ok
second: The device Shield Auto start app should be on
third: Automatic Battery saver turn on 1 AM - 6 AM, turn off this option, when battery saver is on force close all apps, after the battery saver duration is over apps doesn't sync automatically until opening them by your self
so the problem solved
AHMN48 said:
Hi there,
Gmail, WhatsApp, Telegram Skype, Google voice and more won't sync automatically and I'm not getting notification until open the apps manually
Motorola X30 Pro RETCN original firmware
Click to expand...
Click to collapse
NO issue for me.
1. Autostart apps from DeviceShield
2. "Allow running in background" for those apps in DeviceShield
3. From the app tray/drawer, press and hold an app (ex. Telegram) and tap on App Info.
Tap Battery and choose "Unrestricted".

Keeping Apps Alive in P30 Pro

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):

Categories

Resources