Adaptive Battery Killing Chromecast Connection? - Google Pixel 2 XL Questions & Answers

I keep having regular Chromecast issues since upgrading to Android Pie. What it does is if I'm connected, playing audio to any of my Google Homes or even the Chromecast on my TV, is it will become disconnected. For example this morning I was trying to play a podcast from Pocketcasts to my Google Home in my kitchen and it had trouble connecting at first and then kept disconnecting. It would continue to play on the Google Home but when looked at my phone it shows it stopped playing, was now out of sync and I could no longer control it (pause/play). I did a second fresh install of Pie but still having the same issues. Someone told me it was the battery monitoring stopping stuff in the background and killing my Chromecast connection. I turned off adaptive battery and it seems better. Is there just a way to tell it not to close certain apps?

I cast Hulu and MLB at Bat to ChromeCast Ultra / TV, and Play Music to two Home Max & three Mini many hours of the day with few issues. I very rarely get errors from Hulu, but it is there servers giving Hulu error codes.

acheney1990 said:
I keep having regular Chromecast issues since upgrading to Android Pie. What it does is if I'm connected, playing audio to any of my Google Homes or even the Chromecast on my TV, is it will become disconnected. For example this morning I was trying to play a podcast from Pocketcasts to my Google Home in my kitchen and it had trouble connecting at first and then kept disconnecting. It would continue to play on the Google Home but when looked at my phone it shows it stopped playing, was now out of sync and I could no longer control it (pause/play). I did a second fresh install of Pie but still having the same issues. Someone told me it was the battery monitoring stopping stuff in the background and killing my Chromecast connection. I turned off adaptive battery and it seems better. Is there just a way to tell it not to close certain apps?
Click to expand...
Click to collapse
You may want to leave adaptive battery on and try to exclude your audio player from battery optimization.

madscribblerz said:
You may want to leave adaptive battery on and try to exclude your audio player from battery optimization.
Click to expand...
Click to collapse
I know how to do that for an app but is there a way to stop it from stopping Chromecast itself from being "optimized". Because I think it's still stopping the Chromecast connection even if I stop it for try specific app.

acheney1990 said:
I know how to do that for an app but is there a way to stop it from stopping Chromecast itself from being "optimized". Because I think it's still stopping the Chromecast connection even if I stop it for try specific app.
Click to expand...
Click to collapse
Go to settings/type in battery optimization on the top search bar. Look for the app you want to un-optimize, and turn it off :good:

acheney1990 said:
I know how to do that for an app but is there a way to stop it from stopping Chromecast itself from being "optimized". Because I think it's still stopping the Chromecast connection even if I stop it for try specific app.
Click to expand...
Click to collapse
AFAIK there is no 'chromecast' application per se. Your phone tells the Chromecast where to get the stream, then the Chromecast and the source are directly connected. Sometimes the initiating app gets shut down and when you relaunch it there is a reconnection to the Chromecast to get stream state, but if you reboot your phone the Chromecast won't stop playing.

madscribblerz said:
AFAIK there is no 'chromecast' application per se. Your phone tells the Chromecast where to get the stream, then the Chromecast and the source are directly connected. Sometimes the initiating app gets shut down and when you relaunch it there is a reconnection to the Chromecast to get stream state, but if you reboot your phone the Chromecast won't stop playing.
Click to expand...
Click to collapse
Ok. I think I'll just keep adaptive battery off for now because it's been messing up a ton of my apps. I cast numerous audio and video apps. Too bad. But thanks for the help. Hopefully it works. ?

acheney1990 said:
Ok. I think I'll just keep adaptive battery off for now because it's been messing up a ton of my apps. I cast numerous audio and video apps. Too bad. But thanks for the help. Hopefully it works. ?
Click to expand...
Click to collapse
Makes sense. What I said about the Chromecast isn't the case with all apps though, so if you're streaming Spotify or some other background media that isn't through Chromecast it might get shut down unless excepted.

Related

Chromecast Icon Disappearing???? !!!

Hello everyone
To whom it may concern:
My name is Jé and I am having issues with this Chromecast. I was able to successfully set it up and begin streaming videos successfully via YouTube and Google Play Video( I rented a movie to try it out). I do not recall if this issue occurred on the YouTube video but upon casting a video from my T-Mobile Galaxy Note 3 to my T.V it plays just fine, as with YouTube I was able to hit my home screen and send texts, etc and the Cast window still be in my notifications panel.
Well I got a phone call and went to answer it and the Chromecast window disappeared . I tried going into Google Play and even the Chromecast application and got nothing….I even restarted my phone and the movie was still PLAYING!...o and I was OFF Wi-Fi! My device said Wi-Fi was on but my data was coming from 4G LTE!
Again the movie still played with no hiccups or nothing even when I restarted my cellphone and played just fine when I accepted the phone call.
I had to unplug it from the back of my T.V, re connect it, and then go back into it works just fine I scrub to where I was and again after a short while the cast icon disappears but the movie is still playing and the phone drops from Wi-Fi. I even turned Wi-Fi off this time and it still played just fine! This is weird! I put a call into Google but to no avail.
I was wondering if anyone else experienced this issue. Why does the icon go away? How was it even working with me being off Wi-Fi ?
bipoler said:
I was wondering if anyone else experienced this issue. Why does the icon go away? How was it even working with me being off Wi-Fi ?
Click to expand...
Click to collapse
You have to be using WiFi to see and control Chromecast. After it starts playing a selection it is NOT using your phone any more.
You are not streaming from your phone to Chromecast. Once you send the program you want to view to YouTube, Google Movie etc... the Chromecast gets the URL for the item and then plays the item using its own connection to the network the WiFi you set up for it.
You can turn off your phone and it will not have any effect on what is playing since it is not using your phone to play the item.
When you got a call, your WiFi on you Phone must have been turned off, but the Chromecast is playing the movie on its own and doesn't need you phone).
To talk back to the Chromecast from your phone you have to have WiFi turned back on, and then send another program to the Chromecast.
You might look into a beta app called RemoteCast https://play.google.com/store/apps/details?id=com.benlc.camcast
This will allow you to control Chromecast when it is playing something even if the phone didn't start the playing.
Google responded
krelvinaz said:
You have to be using WiFi to see and control Chromecast. After it starts playing a selection it is NOT using your phone any more.
You are not streaming from your phone to Chromecast. Once you send the program you want to view to YouTube, Google Movie etc... the Chromecast gets the URL for the item and then plays the item using its own connection to the network the WiFi you set up for it.
You can turn off your phone and it will not have any effect on what is playing since it is not using your phone to play the item.
When you got a call, your WiFi on you Phone must have been turned off, but the Chromecast is playing the movie on its own and doesn't need you phone).
To talk back to the Chromecast from your phone you have to have WiFi turned back on, and then send another program to the Chromecast.
You might look into a beta app called RemoteCast https://play.google.com/store/apps/details?id=com.benlc.camcast
This will allow you to control Chromecast when it is playing something even if the phone didn't start the playing.
Click to expand...
Click to collapse
Googles support team just wrote me back saying this, I will try this the next time I cast from my device :
Hello,
Thank you for contacting Google. It was my pleasure speaking with you about your Chromecast device. With the issues that happened while watching the movie on Google Play, I have a quick question. Do you have battery saving mode on your phone? If so, please disable the battery saving mode.
The Battery Saver feature can be found under Apps > Settings > General Tab > Battery

prevent app from automatically closing by task manager in kitkat

I listen to music via Bluetooth streaming in my car using the factory MUSIC app. I'd like to be able to get into the car, turn on the BT streaming mode on my car audio and automatically begin playing music. However, the factory task manager automatically closes the MUSIC app after I get out of the car and I have to load it manually each time.
Being that everyone recommends that with KitKat one shouldn't install a task killer/manager other than what's from the factory....how can this be done?
Is there any way to put the music on an exclusion list?
Thanks in advance.
If understand correctly, you want the music to continue playing on your phone's speaker when disconnected from your car audio?
serio22 said:
If understand correctly, you want the music to continue playing on your phone's speaker when disconnected from your car audio?
Click to expand...
Click to collapse
negative, the music will pause automatically when the music app detects a break in bluetooth connection when I turn off the car. What I need is for the MUSIC app itself to continue running in the background (it's not a big resource or battery hog) for when I get into my car for a seamless transition back to playing music.... because once the phone shuts down the app I need to load it again...a PITA.
Thanks.
KEVIN88GT said:
negative, the music will pause automatically when the music app detects a break in bluetooth connection when I turn off the car. What I need is for the MUSIC app itself to continue running in the background (it's not a big resource or battery hog) for when I get into my car for a seamless transition back to playing music.... because once the phone shuts down the app I need to load it again...a PITA.
Thanks.
Click to expand...
Click to collapse
It will continue running in the background, this isn't really a task killer problem but more of an app thing.. For example, I use play music and it resumes playing once I connect to Bluetooth again even if I kill it myself.. I would check the settings if you haven't already and see if there's is a setting for it, I've seen other apps with settings like that, but don't know about the stock music app
it is not in fact running in the background. No such option in setting either. Anyone know of any app that could make it be ignored by the default task manager?
You can do it with xposed if interested
The head unit in your car may have something to do with it.
Factory? Aftermarket?
I have a Kenwood w/7in touch screen and if my BT on phone is enabled as soon as the Kenwood starts up whatever app was running before will start playing automatically, Samsung music app, Amazon music app..
If Milk music or Pandora I have to launch app.
Pp.
there are a few apps on the market with that name.... also do I need root access? As far as the head unit it's a factory stereo Infiniti q50
KEVIN88GT said:
there are a few apps on the market with that name....
Click to expand...
Click to collapse
It's not on the market and you need root access.. If you are interested do a quick search for xposed on Google and go to the one here on XDA, read about it on the thread and how to use it, install it, open it, and search for a module called app settings, in there you have an option to always keep in memory for whatever app you want so just select stock player. Keeping the music player running may not even be the solution, but it is a possibility.. As the previous poster stated, there are apps that just lack autoplay feature.. It is also possible that some other music app or app that uses Bluetooth may conflict with it, preventing it from auto playing

Why can't this phone stream video through DLNA without cutting off the stream?

Is anyone else able to stream movies from this phone to their DLNA devices (my case I use either Panasonic smart TV or Xbox One to stream to)? I've tried AllConnect and BubbleUPnP (and lesser know ones from google play) and they all drop connection between 5 - 15 minutes into the stream. I've tried turning off battery optimisation on the apps but it made no difference, nor did a reset. On occasion the phone even soft reboots whilst streaming.
Never had this problem on my android tablet or other phones. Any ideas?
I'm on the latest stock android nougat, unrooted. Never got to see if it worked on MM.
Hi guys, could anyone help me out with this?
Had a bit of a breakthrough with it today... the phone streams video perfectly without cutting off after 5/10mins if I set the phone to 'stay awake while charging' in developer options and leave it plugged in. I assume by activating that setting there are processes being overridden and prevented from occurring that cut the video stream off in normal use.
Perhaps some system process related to doze/battery optimization?

m9 nougat DLNA & sleep

Hi there,
Is there any way to prevent htc m9 from going to sleep when the screen is off?
I use the phone's stock Music App to play music from a DLNA Server.
It plays for about 2 minutes then stops.
So I guess it's gone to sleep or something.
The screen is off as it's night time.
It's running android 7.0.
Are there better DLNA Players maybe that will stay playing while the screen is off maybe ?
Is there a custom rom that doesn't do this maybe ?
I got the phone specifically for its audio capabilities so this is a showstopper for me.
Tried setting HTC Service - DLNA, Music, Music Widget, HTC Sense Input to 'Not optimized' in 'Battery optimization'. Didn't make **** difference.
thanks for any ideas,
FYI for anyone interested, turns out phone wasn't the problem.
Tried a different dlna source (miniDLNA) and the app MediaHouse . Works as expected - no more pauses, timeouts, sleeps, cut off or doze when the screen turns off or not charging battery.
Also, before that amongst other things I tried rooting it and playing around with the governor and minimum speed. No effect at all.

Help troubleshooting Sony X950G video and audio streaming problem

Hello,
Long story short, I have a Sony X950G with Android 9, and for some time, usually every day, randomly, when playing an stream the video and audio pauses on the TV.
I can browse back to the homescreen again, but the system will lose its navigation sound, and if I try to open another app, video won't play (eg, YouTube) or video will play breaking up and without sound (eg, CW app), and the system will feel under stress.
The only way to mitigate the problem is restarting the TV, but the next day will happen again.
I believe this not a networking problem, because I have 100mbps up/ 100mbps down, and it's a reliable connection.
Using the analiti app, the network ttl (round trip) was around 47, 55, 65, is this acceptable? Could this be an issue? I have an Xbox One, and I don't have this issues using streaming apps.
Anyone having a similar issue or ideas on how to fix the problem?
Thanks,
What application is this happening in, or is it on the OTA tuner?
Note10.1Dude said:
What application is this happening in, or is it on the OTA tuner?
Click to expand...
Click to collapse
Usually, this happens when I'm watching videos, such as The CW, NBC, Plex, Sony Media Player app, etc. However, yesterday for example, I got the issue as I finish installing the NBC app. Though, I couldn't say if it actually started as I tried to open the Google Play store.
When I sound went off, I was able to navigate, but it felt that the system was using a lot of resources, because moving around and starting apps took a long time.
Disable any/all apps that you don't use?
Factory reset would be next suggestion.

Categories

Resources