Playing Music Cuts On Lock Screen - Huawei P20 Pro Questions & Answers

Hi;
Just set the phone up but am having issues with music playback with any app.
As soon as the black lock screen comes up the music stops; if I then wake the screen up by touching a button the music restarts; anyone come across this issue? Or have a fix?
**Update**
Ok it only seems to work with the stock music app - not player pro / vlc or anything else. Is this a permissions issue?

nigsy116 said:
Hi;
Just set the phone up but am having issues with music playback with any app.
As soon as the black lock screen comes up the music stops; if I then wake the screen up by touching a button the music restarts; anyone come across this issue? Or have a fix?
**Update**
Ok it only seems to work with the stock music app - not player pro / vlc or anything else. Is this a permissions issue?
Click to expand...
Click to collapse
I think it's related to a battery saving options.
Sent from my htc_m8 using XDA Labs

I have the same issues with my P20 lite. I think that the battery management has something to do about this. I looked into the battery and apps settings to allow my music player (BlackPlayer) all the permissions, but still having the music stopped. It's really annoying

Fixed!!
CrzMtz said:
I have the same issues with my P20 lite. I think that the battery management has something to do about this. I looked into the battery and apps settings to allow my music player (BlackPlayer) all the permissions, but still having the music stopped. It's really annoying
Click to expand...
Click to collapse
You're right it's a battery issue. If you go to settings > Battery > App Launch and set the apps you want to 'Manage Manually' you can leave them running in the background; this gets you over the issue.
This fixed several apps not running as I'd expected. The default action close the apps down as soon as the screen locks to save power.

nigsy116 said:
You're right it's a battery issue. If you go to settings > Battery > App Launch and set the apps you want to 'Manage Manually' you can leave them running in the background; this gets you over the issue.
This fixed several apps not running as I'd expected. The default action close the apps down as soon as the screen locks to save power.
Click to expand...
Click to collapse
Yes, we can fix by using 'Manage Manually' setting but I see that some other apps, such as Google Play Music, Zing MP3...still play music in background normally without setting it.
I wonder how they can pass this issue? Or Huawei has different treatments for each apps?

A.Pul said:
Yes, we can fix by using 'Manage Manually' setting but I see that some other apps, such as Google Play Music, Zing MP3...still play music in background normally without setting it.
I wonder how they can pass this issue? Or Huawei has different treatments for each apps?
Click to expand...
Click to collapse
I had to do this with spotify. It's an android thing, not specifically a huawei issue. I had this issue on an S9 i had on loan too.
As mentioned, it's just a power saving option. Just manage the app manually and it will continue to play.

jonboi said:
I had to do this with spotify. It's an android thing, not specifically a huawei issue. I had this issue on an S9 i had on loan too.
As mentioned, it's just a power saving option. Just manage the app manually and it will continue to play.
Click to expand...
Click to collapse
Thanks for your answer. Can we check if the app has been managing automatically? If yes, I want to show a dialog to guide user go to the setting screen. (Because user may not know this setting)

Anyone figured this out?
I'm using YouTube music with premium subscription.
I have edit the battery settings to Manage Manually and enabled all 3 sub options. After screenlock, msuci stop. I dnt have any battery saving options set

Okay I know this is an old thread, but thought I'd post what I found on my mate 20 pro, it's quite hidden away!
Settings -> Apps -> Apps -> 3 dot menu -> Special Access -> Battery Optimisation
Select 'All apps' from the drop down, and then select 'Don't allow' on the app you want to stop huawei from quitting

It works for me, try this.
beside your app in the "allowed" battery optimization list. the Google Play Service too must be exampt.
Battery Optimization > Google Play Service > Not Allowed (it drains battery)
- do the same for the music app.
App Launch > 3 dots on top right corner > Show System process > Google Play Service > Manage Automatically.
- do the same for your music app
i hope it works as it did for me

Related

Search installed applications in Google Now stops working

Are any of you having issues with the Google Now search of installed applications? I have the checkbox checked in the Google Now settings (Settings -> Phone search -> Apps- Names of installed applications), but sometimes this just stops working until I go into the settings again to uncheck and check it.
This also happens with my Contacts
dcpedit said:
but sometimes this just stops working until I go into the settings again to uncheck and check it.
This also happens with my Contacts
Click to expand...
Click to collapse
Yes! This just started for me a couple days ago. The only thing that setting you mentioned above does for me now is search THROUGH installed apps for hits, but no longer brings up the app itself. Unfortunately your fix of checking and unchecking doesn't seem to do the trick for me (I'm on a Note 2).
For anyone who's not familiar with this behavior, it's a really nice feature of the main Google Now bar everyone should have on their home screen:
Punching in part of an app name in the Google Now bar pulls up hits including the app itself.
It's very convenient to for example turn on your phone, type in "Scan", and get as the top hit the Genius Scan app for example (you might only remember the "Scan" part of the name of the app).
Or type in "Face" and the Facebook app shows up. (Partials work.)
It's very similar to the iOS left-swipe search, the Windows 7 Start button, and OSX Spotlight.
Hunting and pecking through the app list is for chumps.
After today's Google+ update patch, this issue is now resolved.
same problem here..
Uristocles said:
After today's Google+ update patch, this issue is now resolved.
Click to expand...
Click to collapse
didn't find any solution yet
any advice appreciated...
update...
just found je SOLUTION...
go into app setting.. (installed applications, details.. of Google search..)
clear anything AND un install all updates of the app..
now it finds everything again )
yey.. luckily

Third Party App Notifications not working unless App is Open

I've noticed that if you use a third party app for SMS like Signal, you dont get a notification unless the application is open, same with gmail.
Has anyone else noticed this?
go to advance setting >battery manager >protected app and check if application is not checked on , that's mean when screen is off the application will not work unless you open it... so if you need notification from certain apps just mark it on
aymnga said:
go to advance setting >battery manager >protected app and check if application is not checked on , that's mean when screen is off the application will not work unless you open it... so if you need notification from certain apps just mark it on
Click to expand...
Click to collapse
I had the same issue, even checked on, my notifications are late or not working at all. Starting to regret I got this phone :-/
hello i have problem with notifications with boom beach and clash of clans.only raided notifications coming CoC and BB only task force operation. i try check in battery both games buth nothing change. still not coming.tried reinstall both and google play games too but same. any idea. stock MM without root
Odesláno z mého LG-H815 pomocí Tapatalk
This is a the 'doze' function in Huawei EMUI. A lot of firmwares have this issue. It's because Huawei has blacklisted many apps to not to send notification when screen is off. The apps that are white-listed include WhatsApp and some Chinese Tencent crap.
There is a method to enable notifications for all apps but obviously that requires root.
And yeah, Welcome to EMUI, a UI that plays with your emotions.
hackslash said:
This is a the 'doze' function in Huawei EMUI. A lot of firmwares have this issue. It's because Huawei has blacklisted many apps to not to send notification when screen is off. The apps that are white-listed include WhatsApp and some Chinese Tencent crap.
There is a method to enable notifications for all apps but obviously that requires root.
And yeah, Welcome to EMUI, a UI that plays with your emotions.
Click to expand...
Click to collapse
I find this quite worrying as a potential P9 owner. Is there a list somewhere of these black/white listed apps?
scook94 said:
I find this quite worrying as a potential P9 owner. Is there a list somewhere of these black/white listed apps?
Click to expand...
Click to collapse
All I can say is I have turned on every apps to run when the screen is off. I do t get any notifications, only if I go on the app or if I turned the phone off then back on I get a batch of notifications. I receive certain apps notification but its not consistent. Can't wait for a good root, to get rid of this crappy EMUI and hopefully the camera app will be ported, I'm happy with the pbone, the camera, but this UI is from hell.
Weird, I have 0 issues with notifications, everything turns up very quickly. Gmail, whatsapp, youtube comments... Etc.
I also use Nils lockscreen notifications though, I have the huawei lockscreen notification system disabled. It works very well like this until I find the time to root.
clouds5 said:
Weird, I have 0 issues with notifications, everything turns up very quickly. Gmail, whatsapp, youtube comments... Etc.
I also use Nils lockscreen notifications though, I have the huawei lockscreen notification system disabled. It works very well like this until I find the time to root.
Click to expand...
Click to collapse
How did you disable it? Mine is greyed out saying locked by administrator and I haven't. This UI is starting to P me off. Think touchwiz will see me again soon ?
Have you looked at apps > phone manager > notification centre?
Sent from my EVA-L09 using XDA-Developers mobile app
fredhd said:
How did you disable it? Mine is greyed out saying locked by administrator and I haven't. This UI is starting to P me off. Think touchwiz will see me again soon ��
Click to expand...
Click to collapse
I only disabled the huawei lockscreen notification system (to disable the lockscreen all together you need root). Just use any lockscreen other than the stock magazine one in the theme selecter.
The UI certainly is different. But imho customizable enough that it doesn't get in the way. This is android after all.
clouds5 said:
I only disabled the huawei lockscreen notification system (to disable the lockscreen all together you need root). Just use any lockscreen other than the stock magazine one in the theme selecter.
The UI certainly is different. But imho customizable enough that it doesn't get in the way. This is android after all.
Click to expand...
Click to collapse
Cheers mate, will have a pop at it. [emoji106]
Sent from my EVA-DL00 using XDA-Developers mobile app
delete
fredhd said:
Cheers mate, will have a pop at it. [emoji106]
Sent from my EVA-DL00 using XDA-Developers mobile app
Click to expand...
Click to collapse
OK if you guys have root i have something to try for you. I had issues with the process of GMD gesture control. It was killed by the battery saving tools implemented in this phone.
So I tried freezing certain system apps through titanium to find the one responsible for closing the background process and I think I found it:
It's a process/app called "power genie". I disabled it and now the process sticks. Also I made gesture control a system app, so maybe it's a combination of the two things.
It's not the same issue as you had but maybe it works for you too.
clouds5 said:
OK if you guys have root i have something to try for you. I had issues with the process of GMD gesture control. It was killed by the battery saving tools implemented in this phone.
So I tried freezing certain system apps through titanium to find the one responsible for closing the background process and I think I found it:
It's a process/app called "power genie". I disabled it and now the process sticks. Also I made gesture control a system app, so maybe it's a combination of the two things.
It's not the same issue as you had but maybe it works for you too.
Click to expand...
Click to collapse
So does this method allow for notifications to come through without having firstly opened the application then going to home-screen with it still open?
Milamber said:
So does this method allow for notifications to come through without having firstly opened the application then going to home-screen with it still open?
Click to expand...
Click to collapse
You'd have to try that out for yourself because I never had any issues with notifications coming through and I use third party software (Nils) for lockscreen notification.
What I described is a method that prevents a Huawei "power save" service called power genie killing background processes. No guarantees though, I had issues with gmd gesture control not working after a few minutes and I had to constantly open the app to make it work again. Then I froze power genie and since then it worked 100%.
So it's just my theory that it might stop other apps/processes from being closed as well.
I still dont get notifications coming through via the official gmail app, i might trying that power genie freeze, since any app thats not Huawei wont come through as a notification and thats when I give the app full access.'
I'm not sure if this is worth a try, but there's an option to 'ignore optimisations' on a per-app basis.
In settings > Apps > Advanced > Ignore optimisations > All apps
I've instructed to ignore optimisations for Dash, an app with a background service that launches the app upon connection to my car's Bluetooth OBD. I'll feed back if this has any impact, as I've noticed it doesn't auto-start the app on the Huawei P9 as it used to on my Nexus 5, despite 'protecting' the app in the battery manager.
Milamber said:
I still dont get notifications coming through via the official gmail app, i might trying that power genie freeze, since any app thats not Huawei wont come through as a notification and thats when I give the app full access.'
Click to expand...
Click to collapse
If it's just Gmail, try deleting cache and data for the Gmail app and reboot first. My wife had the same issue just with the Gmail app a few days ago (on a galaxy s3 though).
Same issue with Instagram so I guess it's not only gmail

Push notifications still not working for some apps

Hi all.
I am sure this question has been asked again and again.
But I am having troubles with push notifications working for some apps
I.e. Pushbullet, kaokaotalk
They don't work unless i open the app.
WhatsApp and Facebook seem to be working fine.
Anyone have an absolute fix?
Sent from my NEXT using XDA-Developers mobile app
Even gmail and Google inbox don't work.
They have been setup as protected apps etc already
Sent from my NEXT using XDA-Developers mobile app
Try adding them to the memory whitelist.
Phone manager>system optimization (paintbrush)>settings (gear top right)>memory cleanup whitelist
My understanding is apps in this list will not clear the memory when you "kill" the app. I could be wrong. Please respond to this post if this fixes your problem or not.
Two important settings, under Battery (protected) and under "Apps" (ignore optimization). Also try to put CPU to performance
jibbbyy said:
Try adding them to the memory whitelist.
Phone manager>system optimization (paintbrush)>settings (gear top right)>memory cleanup whitelist
My understanding is apps in this list will not clear the memory when you "kill" the app. I could be wrong. Please respond to this post if this fixes your problem or not.
Click to expand...
Click to collapse
Already had it on whitelist. Frustrating. Thanks though
Sent from my NEXT using XDA-Developers mobile app
plzextendcookietime said:
Two important settings, under Battery (protected) and under "Apps" (ignore optimization). Also try to put CPU to performance
Click to expand...
Click to collapse
Still no luck with inbox by Google and kaokaotalk. Urgh
Sent from my NEXT using XDA-Developers mobile app
Solve -> Problem with Pushover notification on lockscreen
my notification did not show on notification and lock screen.
1. Phone manager>system optimization (paintbrush)>settings (gear top right)>memory cleanup whitelist
2. Setting>advanced settings>Battery manager>Power plan> Smart or Performance>
3. Setting>advanced settings>Battery manager>Protected apps> Turn on for Whatsapp and Pushover
4. Clean Master < I think this is the culprit causing problem > Ensure Tools>Notification Cleaner is disable. My was enabled. and it cause notification not to show on the Lock Screen.
streetsurfer said:
Already had it on whitelist. Frustrating. Thanks though
Sent from my NEXT using XDA-Developers mobile app
Click to expand...
Click to collapse
I have a note 8, but emui 4.1 is pretty standard across the line. Having the exact same issue. Have tried the PNF, whitelisted google play and whatsapp in the memory whitelist, protected apps, ignore battery optimizations etc.
I can repeat the error. So it seems that it ignores the whitelist like you suspected.
Steps. Clear all apps.
Open quicksync manually sync accounts that i want to show up.
Notifications appear.
Go to app task manager view with the square button, kill app.
Send message. No dice.
Have even tried using the PNF heartbeat fix, but to no effect.
Now i have one odd issue. When i received the device, google play services was already installed, but some how it was in the system folder despite the phone being locked. Not sure if that is an issue, since if anything i would suspect that would be helpful instead of harmful, but i have no way of removing it to test since bootloader is locked , and the play services is persistent over a factory reset.
Anyways, any other solutions i have not thought of would be helpful, huawei makes such nice devices, but if you get stuck on a chinese rom, it can be a nightmare for some.. went through the same headache with mate 7 but managed to solve its notifications issues.
Go to Settings-->Accounts-->Tap on the Menu button at the bottom-->Check[?] Auto-sync data
Sent from my Huawei P8 using XDA Labs
erayrafet said:
Go to Settings-->Accounts-->Tap on the Menu button at the bottom-->Check[?] Auto-sync data
Sent from my Huawei P8 using XDA Labs
Click to expand...
Click to collapse
Yes I have tried that. For now I think i will just add my chat clients and aquamail to the locked status on the task manager and keep them open... I have tried all iterations of power saving, etc.. so I think it may just be the build unfortuneately. Hopefully EMUI 5.0 will be a bit less invasive, as they said they are going back to a more stock android vibe to compete in international markets.
Hello, I am in the exact same situation. Did you get some luck?
I updated mine to emui5, but nothing changed.
Do you have a AL10 chinese version? I am thinking that this might be the point.
Thank you.

apps not starting when switching on the phone

Hi,
Since I uninstalled both Greenify and hibernator some apps are not starting anymore when I switch on the phone. (podcast republic, Gmail and Three in touch. There might be others that are playing up but haven't noticed that.) Three in touch and podcast republic are set to start automatically and Gmail I think always have always done this. Any idea what is going on and what to do to make them work properly.
Running OOS 5.0.4 and not rooted
Eggstones said:
Hi,
Since I uninstalled both Greenify and hibernator some apps are not starting anymore when I switch on the phone. (podcast republic, Gmail and Three in touch. There might be others that are playing up but haven't noticed that.) Three in touch and podcast republic are set to start automatically and Gmail I think always have always done this. Any idea what is going on and what to do to make them work properly.
Running OOS 5.0.4 and not rooted
Click to expand...
Click to collapse
I will suggest
1.Try booting the phone in safe mode and then check
2.For the required app goto app info > battery >turn on background activity (if not) AND also you can try turning off the battery optimisation setting for the specific app
3.Install SD MAID ( sideload the pro version from net) and in the app control section try turning on individual boot up settings for the specific apps <<<I THINK IT REQUIRES ROOT>>>
4.Atlast you can try reinstalling those apps
:good:
Thanks
Tried option one but didn't seem to have an impact
Option two, I can't see an option to turn on or off background activity for Gmail or podcast republic. Switching off battery optimization for three in touch seems to have sorted that problem but not for podcast republic. Gmail doesn't seem to have this option.
Option 3 haven't tried
Option 4 I might try tomorrow.
Thanks for the tips. At least one problem is solved now.
PreciousPulkit said:
I will suggest
1.Try booting the phone in safe mode and then check
2.For the required app goto app info > battery >turn on background activity (if not) AND also you can try turning off the battery optimisation setting for the specific app
3.Install SD MAID ( sideload the pro version from net) and in the app control section try turning on individual boot up settings for the specific apps <<<I THINK IT REQUIRES ROOT>>>
4.Atlast you can try reinstalling those apps
:good:
Click to expand...
Click to collapse
So nice of u that u r suggesting to other members to install cracked apk.
Sent from my ONEPLUS A3003 using Tapatalk

[APP] TTS apps stop reading after a few minutes with screen locked

Hello,
I'm using eReader: Prestigio Text to Speach (TTS) to listen to books while I'm moving from one place to another.
I don't know why, but after a few minutes of listening, with the app minimized and screen locked, the TTS stops. The only way to resume TTS is to unlock the phone and open the app. Doing this will resume the TTS from where it was before stopping.
I thought that this is because of the app, but the exact same thing happens with Moon+ Reader Pro.
I didn't had this problem on my previous phone (Xiaomi MI 5).
I think this happens because of a setting which suspends the app.
Did somebody had this problem or knows how I can fix this ?
Thank you and I wish you a good day
Turn off the battery optimization for this application in the battery settings
Hello pablo103,
Thank you for your response
I went to Battery -> Battery usage -> Moon+ Reader Pro and at App launch I disabled Manage automatically and left Auto-launch, Secondary launch and Run in background on, but this doesn't fixed the problem.
In the next test I also turned Performance mode on, but still no change
Hi. Any update regarding this issue? Maybe try to turn off battery optimization for TTS engine too?
rassha said:
Hi. Any update regarding this issue? Maybe try to turn off battery optimization for TTS engine too?
Click to expand...
Click to collapse
Hey,
I didn't test the app in the last months since I'm using it while I'm out (pandemic).
I've looked for TTS in "Battery optimization" but I couldn't find anything related. The app uses Google Text-to-speech.
Now I've went to "App launch" and disabled the automatic management for Moon+ and left only Run in background (from the available options).
I'll test one I'll get more out of the house.
Wrong thread

Categories

Resources