Bluetooth turns off when screenlocks - Huawei P20 Pro Questions & Answers

Hi guys
Does anyone know how to fix this?
My Bluetooth turns off 3secs after the screen locks. At first I thought it was the app but I have it manually managed and enabled. This doesnt seem to be the issue as it has still happening. Last night when I had it casted to my Google Home to play music, I screenlocked it and music was still playing for 15mins. I think its not the app thats the issue, but the Bluetooth. I checked all the settings and there doesnt seem to be a setting for this.

gd6noob said:
Hi guys
Does anyone know how to fix this?
My Bluetooth turns off 3secs after the screen locks. At first I thought it was the app but I have it manually managed and enabled. This doesnt seem to be the issue as it has still happening. Last night when I had it casted to my Google Home to play music, I screenlocked it and music was still playing for 15mins. I think its not the app thats the issue, but the Bluetooth. I checked all the settings and there doesnt seem to be a setting for this.
Click to expand...
Click to collapse
What is your Bluetooth headset?Restore the mobile network settings and reconnect?

I have Samsung Gear X and my car Bluetooth

Related

Bluetooth Music Autostart

Ok so I've done some searching in both the Sprint and regular HTC one forums and can't seem to find where this is addressed so perhaps no one else is running into it.
Wife's phone (Sprint One, stock ROM, S-off, rooted) automatically starts playing music when it connects to the bluetooth in her 2008 Ford Edge with Sync. I've gone into the sync settings and autostart is disabled so I am thinking there is something in the device that is forcing the music start on bluetooth connect...
Anyone have any ideas on how to disable this?
Thanks,
MG
Check the Ford settings. Also check the player that's playing the music. Usually they have a toggle in their settings.
Sent from my HTCONE using xda app-developers app
Same thing happens with my Subaru.
Sent from my HTCONE using Tapatalk 2
MrDowntown12 said:
Check the Ford settings. Also check the player that's playing the music. Usually they have a toggle in their settings.
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Thanks, in the Sync settings on the radio it is already set to off and the music player doesn't seem to have a toggle unless I am missing it...
MG
Same problem
I've had this same problem as well. It is some interaction between the Sync system (or other bluetooth system) and the Music app. Unfortunately the Android developers have ignored this issue for YEARS as you can find threads going back to at least 2010 on it. A simple config switch to ignore headset starts like many other players have would fix it. In the past Headset Blocker worked to fix it but that app isn't compatible with newer releases. I tried Wizdroid witch worked previously but since the 4.3 upgrade it no longer works either. There are other disabling apps out there but from what I see they all break the bluetooth media function completely. Thankfully I am rooted so I am going to see if I can freeze the default player and install Poweramp or similar to replace it. Hopefully it won't break too much. Does anyone know if that is a bad plan before I do it?
UPDATE: I seem to have found a happy medium. I installed Poweramp and it's settings seem to handle the autostart signal without having to disable the Music app. I set Poweramp to "high priority" then disabled all the resume functions and disabled the lockscreen handler (it required the bluetooth start feature). Now the last few times I have paired nothing has started playing on its own.
moregadget said:
Ok so I've done some searching in both the Sprint and regular HTC one forums and can't seem to find where this is addressed so perhaps no one else is running into it.
Wife's phone (Sprint One, stock ROM, S-off, rooted) automatically starts playing music when it connects to the bluetooth in her 2008 Ford Edge with Sync. I've gone into the sync settings and autostart is disabled so I am thinking there is something in the device that is forcing the music start on bluetooth connect...
Anyone have any ideas on how to disable this?
Thanks,
MG
Click to expand...
Click to collapse
I thought this happen to all other phone as well. Do you have other brand phone? Are they doing the same thing?
DigitalDIY said:
I've had this same problem as well. It is some interaction between the Sync system (or other bluetooth system) and the Music app. Unfortunately the Android developers have ignored this issue for YEARS as you can find threads going back to at least 2010 on it. A simple config switch to ignore headset starts like many other players have would fix it. In the past Headset Blocker worked to fix it but that app isn't compatible with newer releases. I tried Wizdroid witch worked previously but since the 4.3 upgrade it no longer works either. There are other disabling apps out there but from what I see they all break the bluetooth media function completely. Thankfully I am rooted so I am going to see if I can freeze the default player and install Poweramp or similar to replace it. Hopefully it won't break too much. Does anyone know if that is a bad plan before I do it?
UPDATE: I seem to have found a happy medium. I installed Poweramp and it's settings seem to handle the autostart signal without having to disable the Music app. I set Poweramp to "high priority" then disabled all the resume functions and disabled the lockscreen handler (it required the bluetooth start feature). Now the last few times I have paired nothing has started playing on its own.
Click to expand...
Click to collapse
What happen to me is when I have stock Music app in the background pause it and when connect to the car kit the music will auto start. My friend said this is normal. Is that happen to you guys as well?

Anyone have issues with absent cast icon in music apps?

Has anyone else run into this? Last night I tried to cast some music from the music app, and the cast button would not appear. Now I've had some issues with this in the past that I could generally fix by rebooting the chromecast a few times, but last night nothing would work.
To be clear - the CC is on the network, and is specific to only some of my phone's apps:
I spent about an hour attempting to fix the problem and found that the cast button was missing for both google music and Pandora, but present for both Netflix and YouTube. I verified I could actually connect/cast in Netflix/YouTube just fine. I tried rebooting the Chromecast a half dozen times via both the Chromecast app on my phone, as well as manually by turning my AVR on and off. I rebooted my router. I used the Chromecast app to "restore to factory default" in the menu. I thought maybe it was the music app, so I rebooted my phone, cleared the cach on the music app, cleared data on the music app... Nothing. I finally gave up and watched 2 episodes of Breaking Bad, casting via Netflix.
Afterward, right before calling it a night, I checked one last time and sure as **** the icon had come back for music and Pandora.
I'm just wondering if anyone has seen this or knows how to force it to fix itself in the future. I've had this happen in the past where I just had to give up and wait and the next day I wouldn't have the problem... Google's online help offers nothing for this scenario, dealing only with the case where the CC can not connect to the network....
It's quite frustrating!
I had the same problem. Quick solution is to make sure the music app (play music/pandora/whatever) is completely closed, then launch the chromecast app. Send it to the background, and then launch the music app. Cast button will be there everytime.
SalTNutz said:
I had the same problem. Quick solution is to make sure the music app (play music/pandora/whatever) is completely closed, then launch the chromecast app. Send it to the background, and then launch the music app. Cast button will be there everytime.
Click to expand...
Click to collapse
Thanks, I'll give that a try if it happens again. Though to be honest I have to think I tried that. I was force-closing music and Pandora repeatedly as well as repeatedly opening the CC app.
Just a bump that I"m still seeing this strange issue.
It occurred again last night - no cast icon for the audio apps - Google music and pandora (I forgot to try Songza). The apps w/ video (YouTube/VEVO/Netflix) all had the cast button. I have two Chromecasts on the network and tried with two devices (phone and tablet). Both devices had the same behavior and both chromecasts were present on the apps that had the cast button, so the chromecasts are correctly connected to the network, and it's not specific to the phone. I tried rebooting the router, both chromecasts, and my phone and couldn't resolve it.
Once again the fix was only to wait and an hour or so later the cast button returned to google music and Pandora.
So strange and completely frustrating. What's more frustrating is that I can't find an official support forum for help directly from Google. Tough to fix something when you can't ask the question to begin with. Though I did find a support phone number so I guess I could try that...
Interesting to see that this is such a long standing issue. Just had the exact same problem with the brand new lollipop version of play music, but it looks like the issue wasn't related to the recent update.
Incidentally, removing updates fixed the problem for me.
What brand of routers are you guys using? I have a buffalo, wonder if it's related.
Edit :
Appears to actually be related to the new play services update.
https://code.google.com/p/google-cast-sdk/issues/detail?id=314

[Q] Bluetooth media, auto-play disable?

I've had this problem in the past with my old GNex, but it seems much worse on my new Moto X. i've been unable to find a solution, so it's come to asking the XDA crowd.
I use bluetooth audio to stream music from various app's through my Jeep's stereo (Using UConnect if that has any bearing on the situation).
I've had the moto x for about a month. When i first got it, this didnt seem like a big problem, but within the past week or so, maybe even since the most recent update (though i do not have solid proof of that) its become a real problem.
When my phone associates to my UConnect, it immediately opens up google music, and starts playing whatever it can get its mit's on. If it has local cached content it plays that, if it doesnt, it'll go out to google music and get something to play. Even if i have nothing queued. Its like its on a mission to entertain me (even at the cost of my monthly data allowance). If i close google music in the notification area, about 50% of the time, it'll just open itself right back up again. If i pause it, it'll start playing again in a few seconds. If i open google music, clear my queue, and close google music, it'll put something back into queue, and start playing that.
All of this would be fine, if i only listened to google music, and had something queued all the time. but i dont. Sometimes i do use google music, other times i'm listining to di.fm, or some other media app, like podcasts or whatever. or sometimes, i'm not even listening to media from my phone, rather satellite or something. In which case i may not even realize that the phone has started playing media, until i check the phone for some other reason.
I assumed that this was my UConnect asking my phone to play something. Like an auto "play" command sent to whatever bluetooth device is connected. However, i cant find any way to tell UConnect not to do this, and the more i fight with it. the more i think its something on the phone, not the UConnect.
I found this thread, while starting this one. http://forum.xda-developers.com/showthread.php?t=2564580 which is the same issue, on a different device. Unfortunately it doesnt look like it's gotten a good answer. It links to an app that is supposed to kill off media apps that start right as bluetooth does, but that seems like a hack rather than a fix. Regarless, im going to try the app. I'd like to know if there's a better fix though.
Ive tried looking through google music's settings, nothing in there about turning this off.
Has anyone had this issue? Have you found a decent solution?
Thanks!
gangrif said:
I've had this problem in the past with my old GNex, but it seems much worse on my new Moto X. i've been unable to find a solution, so it's come to asking the XDA crowd.
I use bluetooth audio to stream music from various app's through my Jeep's stereo (Using UConnect if that has any bearing on the situation).
I've had the moto x for about a month. When i first got it, this didnt seem like a big problem, but within the past week or so, maybe even since the most recent update (though i do not have solid proof of that) its become a real problem.
When my phone associates to my UConnect, it immediately opens up google music, and starts playing whatever it can get its mit's on. If it has local cached content it plays that, if it doesnt, it'll go out to google music and get something to play. Even if i have nothing queued. Its like its on a mission to entertain me (even at the cost of my monthly data allowance). If i close google music in the notification area, about 50% of the time, it'll just open itself right back up again. If i pause it, it'll start playing again in a few seconds. If i open google music, clear my queue, and close google music, it'll put something back into queue, and start playing that.
All of this would be fine, if i only listened to google music, and had something queued all the time. but i dont. Sometimes i do use google music, other times i'm listining to di.fm, or some other media app, like podcasts or whatever. or sometimes, i'm not even listening to media from my phone, rather satellite or something. In which case i may not even realize that the phone has started playing media, until i check the phone for some other reason.
I assumed that this was my UConnect asking my phone to play something. Like an auto "play" command sent to whatever bluetooth device is connected. However, i cant find any way to tell UConnect not to do this, and the more i fight with it. the more i think its something on the phone, not the UConnect.
I found this thread, while starting this one. http://forum.xda-developers.com/showthread.php?t=2564580 which is the same issue, on a different device. Unfortunately it doesnt look like it's gotten a good answer. It links to an app that is supposed to kill off media apps that start right as bluetooth does, but that seems like a hack rather than a fix. Regarless, im going to try the app. I'd like to know if there's a better fix though.
Ive tried looking through google music's settings, nothing in there about turning this off.
Has anyone had this issue? Have you found a decent solution?
Thanks!
Click to expand...
Click to collapse
I had this on my GNex, Nexus 4 and my Moto X and it's very annoying. I'm not sure if it's not just related to the type of bluetooth device you are connecting to though as I don't remember this happening when connecting to a set of BT headphones or a portable radio, only in my car. I'm rooted so I have just either uninstalled Play Music or used Titianium and froze it which is what I did on the Moto X since I want to easily have a stock system for OTA's.
FSRBIKER said:
I had this on my GNex, Nexus 4 and my Moto X and it's very annoying. I'm not sure if it's not just related to the type of bluetooth device you are connecting to though as I don't remember this happening when connecting to a set of BT headphones or a portable radio, only in my car. I'm rooted so I have just either uninstalled Play Music or used Titianium and froze it which is what I did on the Moto X since I want to easily have a stock system for OTA's.
Click to expand...
Click to collapse
I've thought of doing just that. The problem is, i use google play music. Just not all the time. I'd rather it didnt just pop up and start playing.
On my GNEX, it was Apollo player in Cyanogen that kept popping up. But all I did to solve that was delete all local music. Google play music was never a problem on that device.
Your right about Apollo player doing that also. What's so screwed up is I could be playing a podcast get out of my car for a few minutes then get back in and once I connect BT Pay Music starts even though the podcast is active and paused.
Have you noticed it happening on other BT devices other then your car?
Beamed from my Moto X
FSRBIKER said:
Your right about Apollo player doing that also. What's so screwed up is I could be playing a podcast get out of my car for a few minutes then get back in and once I connect BT Pay Music starts even though the podcast is active and paused.
Have you noticed it happening on other BT devices other then your car?
Beamed from my Moto X
Click to expand...
Click to collapse
Im a relatively light bluetooth user. My Jeep is really the only bluetooth device i use for media output. I do have a headset (media headset, not phone headset) that supports bluetooth, that I could test with that.
I have 4 bluetooth devices (two headphones, and two receivers hooked to audio systems) and have never seen this behavior on my moto X, Nexus 4, or Nexus 7.
However, Assist has a setting to resume playback when it detects you are driving; have you checked that?
Solutions Etcetera said:
I have 4 bluetooth devices (two headphones, and two receivers hooked to audio systems) and have never seen this behavior on my moto X, Nexus 4, or Nexus 7.
However, Assist has a setting to resume playback when it detects you are driving; have you checked that?
Click to expand...
Click to collapse
Nope, not set to do anything while driving. I dont have that profile enabled.
One thing I did do, which may or may not be related, it tell google now what to use to handle my music (and i set it to google play music) requests. Maybe i'll try turning that off to see what happens.
OK, i just tested it with my headset.
Connected bluetooth, it didnt do anything automatically.
I fired up DI.FM's app, and played some music, it played through the headset as expected (verifying that the phone and the headset were actually successfully paired).
I turned off the headset, the phone disconnected bluetooth within a few seconds.
Turned the headset back on, bluetooth reconnected, nothing happend.
So, i figured i'd try to emulate a "play" command. I pressed play on the headset, and it fired up DI.FM (the last media app i had open) NOT (this is important!) NOT google play music!
Every time i get in the Jeep, its google play music that opens, regardles of what the last app i was playing media on was. Why would this be different? Also, it only tried to start anything after I pressed play.
Is there any way to diagnose whether my UConnect is sending a play command? Some sort of bluethooth debugger or something?
Just for grins, try setting a different app than Play Music in the Assist settings to see if that app is then opened.
Solutions Etcetera said:
Just for grins, try setting a different app than Play Music in the Assist settings to see if that app is then opened.
Click to expand...
Click to collapse
Tried switching it to beyond pod, the podcast app i use. We'll see what happens next time i'm in the Jeep.
gangrif said:
Tried switching it to beyond pod, the podcast app i use. We'll see what happens next time i'm in the Jeep.
Click to expand...
Click to collapse
Switching didnt help.
Also, removing the google play music check from the google now search options, didnt help.
Im going to give the auto-kill app listed in that other thread a try, see what happens. Still seems like there should be a better solution here. Its not like android to make an assumption like this and not let you turn it off.
the issue is not how you're connecting. the issue here is Google Play Music if i'm remembering correctly. on an SGS4, if, for example,Google Play Music and Spotify are installed alongside each other, even if the last app i was using was Spotify, when i reconnect to BT Google Play Music takes precedence and will start playing something. this is why i do not have Google Play Music on my device.

[Q] Data connection and Pandora streaming issue

Hi all,
I've spent the last day trying to solve this issue and searching for answers on xda and elsewhere but there doesn't seem to be a solution. I have an HTC One, rooted, s-off, and running ViperOne. I recently upgraded my data plan and no longer have to worry about conserving my data each month so I started using Pandora in my car via Bluetooth. Bluetooth connection from my phone to the car has never been an issue. However, when I run Pandora, initially it has no problems connecting and will start playing a station right away but then when a song ends (and the screen has turned off), I always get the message that Pandora is unable to connect. Once I wake the screen, it magically starts playing the next song. Then when that song ends, the connectivity problem happens again and the only way to get it starting again is to once again unlock my phone, which is not exactly safe if I'm driving along and trying to be a safe driver by not fiddling with the phone. I've tested this out in the same spot in my home using my home wireless internet, and it works flawlessly. Even when the screen is off, the next song will play. Once I'm back on LTE, same problem happens again. I've already disabled the Power Saver option to not turn off data connection when the screen is off and turned off Sleep Mode. I'm wondering if this happens to anyone running stock software on their HTC One? Going through the ViperOne thread, it has appeared to be an issue for others as well. Thanks
Im on stock TMO HTC One and have streamed pandora, siriusxm and google play music many times on my way home with no issues.
Mainly through the headset jack. But for a few weeks i did use the HTC audio bridge A100 to stream music via bluetooth and that also had no issues.
Try to test another BT device OR if your vehicle has a stereo headset jack input try that. See if you get the same results.
Thanks for the quick reply. The problem seems to occur whether or not I'm using Pandora in my car via Bluetooth or just running Pandora by itself in my house as background music.
IAmSixNine said:
Im on stock TMO HTC One and have streamed pandora, siriusxm and google play music many times on my way home with no issues.
Mainly through the headset jack. But for a few weeks i did use the HTC audio bridge A100 to stream music via bluetooth and that also had no issues.
Try to test another BT device OR if your vehicle has a stereo headset jack input try that. See if you get the same results.
Click to expand...
Click to collapse
glo106 said:
Thanks for the quick reply. The problem seems to occur whether or not I'm using Pandora in my car via Bluetooth or just running Pandora by itself in my house as background music.
Click to expand...
Click to collapse
Any luck finding an answer to this? I'm having this same problem with TuneIn and XiiaLive, and haven't been able to find anything.
I've also completely uninstalled Viper Audio, so I'm thinking that isn't the issue.
Skyh said:
Any luck finding an answer to this? I'm having this same problem with TuneIn and XiiaLive, and haven't been able to find anything.
I've also completely uninstalled Viper Audio, so I'm thinking that isn't the issue.
Click to expand...
Click to collapse
I ended up wiping and re-installing Viper and the problem didn't happen anymore. I have not had any problems since. I think the thing to make sure of is that on whatever app you're having trouble with, to make sure you're not restricting background data for it in Data Usage.

No bluetooth audio unless phone audio is disabled.

I'm having an issue with my bluetooth audio all of the sudden not working. I've paired to bluetooth devices in my car and Bluetooth headphones and everything was working fine up until this weekend, now I don't get any music audio unless I disable the phone audio in bluetooth settings. I'm running stock Marshmallow and I've went in and disabled permissions for phone and microphone for any app that wouldn't logically need. I booted into Safe Mode and things worked normally but I can't figure out how to isolate a particular app that might be causing it, if that is the problem. I also tried reseting Network Settings in Backup and Restore but that force closes everytime. I Uninstalled all the apps that updated over the weekend thinking an update might have caused it but it's still there. Can't seem to find this particular issue documented anywhere else. Any ideas?
Found the problem!
Sorry to post this before I went through all the steps... Hopefully it can help someone else out at some point...
Since everything worked properly in Safe Mode I figured it was one of the apps installed. I just started clearing out five apps at a time until I found the culprit.
It was Voxer, and it wasn't the app itself with a bug, it was the setting in Preferences to enable Voxer over Bluetooth. With that option on and phone audio enabled in Bluetooth settings, no music would play. Unchecking that setting and turning phone audio back on in bluetooth, I got all of my media audio back over bluetooth.
Pain in the ass but it all works now.
sometimes...

Categories

Resources