Wake lock when using Netflix - Google Chromecast

I'm using a stock Nexus 4 running Android 4.3 and when the Chromecast is running a Netflix video the phone will not go into deep sleep and BBS indicates that Netflix is the culprit. Is this an issue with my phone or is the implementation of Chromecast in the Netflix app to blame?
Sent from my Nexus 4 using xda app-developers app

Are you running the latest Netflix update?

bozzykid said:
Are you running the latest Netflix update?
Click to expand...
Click to collapse
Yes I have the latest version from the Play Store
Sent from my Nexus 4 using xda app-developers app

VidMan said:
I'm using a stock Nexus 4 running Android 4.3 and when the Chromecast is running a Netflix video the phone will not go into deep sleep and BBS indicates that Netflix is the culprit. Is this an issue with my phone or is the implementation of Chromecast in the Netflix app to blame?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I believe this is the temporary fix to solve the problem that wouldn't allow the phone to wake after going to deep sleep while casting from Netflix. The phone would need to be hard rebooted and the newest Netflix app solved that by stopping the phone from going into deep sleep.
Sent from my iPad using Tapatalk HD

Negotiator50 said:
I believe this is the temporary fix to solve the problem that wouldn't allow the phone to wake after going to deep sleep while casting from Netflix. The phone would need to be hard rebooted and the newest Netflix app solved that by stopping the phone from going into deep sleep.
Sent from my iPad using Tapatalk HD
Click to expand...
Click to collapse
Yes. But it may be a permanent fix. I mean, I don't see how the phone should go into deep sleep when the Netflix controller needs to be actively connected in the background. The only solution is to kill the Netflix process. The video will still play and you can just open Netflix to get the controller back.

Netflixes solution is awful it doesn't seem to use any sort of local controls or typical lock screen implementation. It all relies on control page loaded from the net. Also it doesnt seem to properly have it's controls loaded as a foreground service so sometimes it just dies and doesn't respong and you have to reopen the netflix app (loading a bunch of stuff from the net again) to control it.

I think Youtube casting is causing same issues. So it is not the apps, it is the remote feature that is causing the wlan wake and can only be fixed deep inside Android's guts somewhere. To be honest, it only adds 1-2% per hour to the battery usage, and the only way to stop it if you are staying on the same wlan is to disable casting within the app.

Related

nexus 7 not killing wifi during sleep after updating to 4.2.1

I have selected to never keep WiFi on during sleep yet now the tablet continues to run the WiFi as you can see in the pictures. This has forced me to use airplane mode when I am on the go because otherwise the tablet just keeps WiFi on and burns the battery extremely quick. This has been a problem since I updated to 4.2.1. I am not rooted completely stock. A solution would be great because this sucks right now. I have tried clearing the cache in recovery but that didn't solve the problem.
I'm running the latest Paranoidandroid ROM and thought that was the problem. I can't yet post to that developer forum so I was just waiting for the next beta.
I guess it's a problem with 4.2.1 then.
-PMS
jetguy35 said:
I have selected to never keep WiFi on during sleep yet now the tablet continues to run the WiFi as you can see in the pictures. This has forced me to use airplane mode when I am on the go because otherwise the tablet just keeps WiFi on and burns the battery extremely quick. This has been a problem since I updated to 4.2.1. I am not rooted completely stock. A solution would be great because this sucks right now. I have tried clearing the cache in recovery but that didn't solve the problem.
Click to expand...
Click to collapse
If you don't find a solution you may want to try DataEasyPro from the market. It kills both 3g and wifi as soon as the screen is off and then runs a user defined schedule to turn on 3g or wifi every now and the for a few seconds to keep you upto date with your social world. Works great. There is even a widget so you can turn off the schedule when you are downloading or updating from the play store.
https://play.google.com/store/apps/details?id=cb56.dataeasypro
PsychoMcSatan said:
I'm running the latest Paranoidandroid ROM and thought that was the problem. I can't yet post to that developer forum so I was just waiting for the next beta.
I guess it's a problem with 4.2.1 then.
-PMS
Click to expand...
Click to collapse
I think it is a 4.2.1 problem. Its hard to say how wide spread it is though because I have only seen a handful of posts about this issue though. To me, this issue is unacceptable. I should not have to enable/disable airplane mode to conserve battery. Especially when the previous version of android prior to the 4.2.1 update handled WiFi sleep settings without a problem. Hopefully a fix will be here soon. My tablet used to have superb battery life without me constantly monitoring it. Now I feel like I have to keep double checking that I remember to use airplane mode so that I don't go to use the tablet and find a nearly depleted battery.
Dmwitz said:
If you don't find a solution you may want to try DataEasyPro from the market. It kills both 3g and wifi as soon as the screen is off and then runs a user defined schedule to turn on 3g or wifi every now and the for a few seconds to keep you upto date with your social world. Works great. There is even a widget so you can turn off the schedule when you are downloading or updating from the play store.
https://play.google.com/store/apps/details?id=cb56.dataeasypro
Click to expand...
Click to collapse
This app shows as not compatible for me when I used the link.
jetguy35 said:
This app shows as not compatible for me when I used the link.
Click to expand...
Click to collapse
I recommend automate it, I have a couple of rules set to turn WiFi of with the screen (with a 5min delay), then turn Wi-Fi back on when the screen turns on. There's plenty of other settings and rules to play with as well.
https://play.google.com/store/apps/details?id=AutomateIt.mainPackage
Sent from my Nexus 7 using xda app-developers app
In had the same issue. I found Google maps to be the culprit.
It defaulted back to location reporting.
Check Google now sync, maps and currents.
Sent from my Nexus 7 using xda app-developers app
It's not google maps itself, it's the android location service. It's always collecting data even if your phone or tabscreen isn't on. This is pretty anoying since google only let you choose between agreeing to run the service in the background or not using it at all. Stupid! How about collecting data only when the device is in use?
Same here. There is a bug report on Google about it.
Sent from my Nexus 7 using xda app-developers app
Ah this is interesting; as last night my battery was on 53% and I am sure I charged it fully previously...... Am on stock too but have rooted.
Might just switch the tablet off all the time for the time being.
I'm on stock rooted 4.2.1 and mine is fine. Strange.
Sent from my Nexus 7 using xda app-developers app
RKight said:
I'm on stock rooted 4.2.1 and mine is fine. Strange.
View attachment 1552034
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
WiFi turns off here also, which means its working as intended, what is strange is is it not working for some people, I'm also on stock rooted 4.2.1.
what is the OP using? Are there any apps installed/running on the OPs device that can keep the WiFi alive?
Sent from my Nexus 7
jersonf said:
what is the OP using? Are there any apps installed/running on the OPs device that can keep the WiFi alive?
Click to expand...
Click to collapse
I highly recommend using an app called Better Battery Stats. You can find the free version here on XDA. It'll tell you if there is an app causing a wakelock. I used it to troubleshoot my Rezound and I'm getting a solid 4-5 hours of screen on time with the extended battery on that because it helped me lock down the apps that were killing my battery.
Sent from my Nexus 7 using xda app-developers app
I'm stock rooted and mines don't turn off neither.
Sent from my Nexus 7 using xda app-developers app
Hmmm. Just checked PA beta 7 and it's doing it too. Wifi on always.
A custom kernel would probably fix that.
Sent from my Nexus 7 using XDA Premium HD app
RKight said:
I highly recommend using an app called Better Battery Stats. You can find the free version here on XDA. It'll tell you if there is an app causing a wakelock. I used it to troubleshoot my Rezound and I'm getting a solid 4-5 hours of screen on time with the extended battery on that because it helped me lock down the apps that were killing my battery.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Although my wifi is turning off I give thanks for pointing me in the direction of this app.
http://forum.xda-developers.com/showthread.php?t=1179809
Sent from my Nexus 7
I was having the wifi on issue as well. Just bought my N7, stock 4.2.1 and not rooted. I followed the tip in point four of this post, which details a simple set up using Tasker, where the unit turns the wifi on and off after the screen turns on or off respectively. The reason for the 10 second delay as is detailed in the link, is to allow for the turning on of your N7 to check the time or other reasons, and then quickly turn it off without the wifi on task being activated.
the screenshot below shows my wifi being stuck on while in sleep mode, even with it set to be never on during sleep in the settings, and the change in behavior once the 2 Tasker profiles we set up.
Cheers
Those of you having issues, have you tried the "only when plugged in" setting? Not sure if it would really matter but that's what I use and mine turns on and off just fine.
Sent from my ADR6425LVW using xda app-developers app
RKight said:
...have you tried the "only when plugged in" setting?
Click to expand...
Click to collapse
Testing that now. Turned off Tasker, and set wifi to the "only when plugged in" setting. It's only been about 30 minutes, but so far it looks like it's behaving the same as before, as in keeping wifi on while in sleep. I'll Let it sleep for a few hours and see what the chart shows.
Cheers
EDIT: So I let my N7 sit for about an hour after switching the above mentioned settings, and you can see in the screenshot below that the wifi is staying on while the unit is not awake. I've set my Tasker profiles to control the wifi once again.
I know it may be fixed by a factory reset, but frankly I'm more than happy with the way Tasker handles the issue.
Cheers
so 6 months later, I am still getting this problem. However it seems only to be with the last update. The tasker method seems to be working well though.

[Q] Devices is keeping device awake? Is this DLNA? Can I disable it?

When using the phone with 'Stamina Mode' switched on I got the message that the phone was kept awake because of 'Devices'. I went into my Pwer Management > Battery Usage, and to my surprise Devices is at the top of the list, it has used 19% of my battery. It has a red icon (round circle) with a 'Movies' pictogram in it. The information about Devices is the following:
Code:
CPU Total: 12m 58s
CPU Foreground: 0s
Keep awake: 2h 33m 48s
Data sent: 2.98MB
Data received: 9.30MB
When I open Settings > Apps > Running and look for 'Devices' I find three services: DlnaDmsService, PushDerviceImpl and UpnpServiceCp. I also find the com.sonyericsson.dlna service. Does anyone know why dlna is running on my phone, even when I'm not connected to WiFi? What could be causing the wake? I do not have dlna enabled, and I think 'Devices' is a strange name for an Android process, especially with the Movies icon.
TL;DR:
What is Devices, why iis it running when I'm not on WiFi, and Can I disable it permanently?
Did you use throw or media share?
Sent from my C6602 using xda app-developers app
abd_alazeez2002 said:
Did you use throw or media share?
Sent from my C6602 using xda app-developers app
Click to expand...
Click to collapse
I have used throw once on a Bravia TV, but I have turned media sharing off after that. This was about a week ago, and I have rebooted the phone at least two times since. My bluetooth headset has been connected for about an hour, and when it connects it is in the 'Throw' list. But is this a reason for the phone to use CPU wake time when WiFi AND Bluetooth aren't even connected?
Noticed mine was doing the same since yesterday over 45% battery useage for Devices.
I did work out how to use Throw yesterday, cant seem to get it to stop now
Just done a power volume+ reset and see if it clears up
If you refresh batter stats - the "Devices" changes to com.sonyericsson.dlna for a fraction of a second
Yup this is what kills Stamina Mode if you use throw you're phone will be like this for a while. Even when you turn all the auto stuff off it will happen again when you next throw. Hopefully it will be fixed, if not then it settles down again after a day or two.
Sent from my C6603 using xda premium
AntonyStark said:
Yup this is what kills Stamina Mode if you use throw you're phone will be like this for a while. Even when you turn all the auto stuff off it will happen again when you next throw. Hopefully it will be fixed, if not then it settles down again after a day or two.
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
But does using a Bluetooth Stereo Headset qualify as 'using Throw'? Because it shouldn't have anything to do with dlna, right?
It has happened to me once when I've used Walkman but I haven't managed to replicate it, but Throw it has done it to me repeatedly.
Sent from my C6603 using xda premium
AntonyStark said:
It has happened to me once when I've used Walkman but I haven't managed to replicate it, but Throw it has done it to me repeatedly.
Sent from my C6603 using xda premium
Click to expand...
Click to collapse
Hmm... interesting. Thanks for sharing your insights! Tomorrow I'll disable the 'Devices' application and see what it means in terms of battery usage and loss of functionality. I'll report back at the end of the day.
Today I disabled Devices. Bluetooth worked as it should, and my battery is at about 56%. I guess it's okay if you don't use DLNA. Of course this is all subjective, but I do think that my battery is lasting a little bit longer. If you're not using throw I recommend disabling Devices. You can disable it in Settings > Apps > All > Devices > Disable.
Stop Throw
So, anyone knows how to totally stop Throw???
No matter what I try, I keep getting the Throw symbol in my status bar.
No and I would like to know this. Seems like when you load it once, you're stuck with it (unless you disable).
Sent from my C6603 using Tapatalk 2

[V20A] Deep Sleep issue possible solution

Hi everyone,
I've had weird battery life with my phone since I flashed official V20A. Sometimes the phone goes into perfect deep sleep and sometimes it gets stuck at 51 MHz and drains battery like hell !
There are many people here complaining about the same problem and that the phone drains battery quickly over night.
The cause of this problem for me is that Mediaserver keeps running in the background even though I'm not listening to any music. Usually happens when I unplug my Headphones without pausing the music first (and sometimes it happens for no specific reason).
To check if this is also causing a problem with your phone, go to Settings - Power saver - Battery use - scroll down and tap "Mediaserver". Look at "Keep awake” and know the exact time, go back and wait for a few seconds then open Mediaserver again. If Keep awake time has increased and you're not playing any music, that means it's causing deep sleep issues.
The solution of this is to simply play then pause music payer (I use PlayerPro).
I have no idea what's causing this but this seems to be a temporary solution for me.
Let me know if this also works with you
I think i have the same problem,but i dont use the music player and i dont have any music on my phone.
The awake time of media server is 8h 33m. Any other solution maybe?
I don't have media server at all but in running application i always find active DMClient running as process in Software Update, PC suite and Google Play app.
But i noticed something that might solve my problem but i don't know how to do it. After i flashed to v20a first couple days i had 1-2% drain per night, but after a played in hidden menu trying to change FOTA server to EU-server my phone starrted to drain 12-15% per night.
Can i disable DMClient or FOTA?
tin1808 said:
I think i have the same problem,but i dont use the music player and i dont have any music on my phone.
The awake time of media server is 8h 33m. Any other solution maybe?
Click to expand...
Click to collapse
Disable background data.
Sent from my LG-P880 using xda premium
babymatteo said:
Disable background data.
Sent from my LG-P880 using xda premium
Click to expand...
Click to collapse
How to disable background data?
battery
Navios92 said:
Hi everyone,
I've had weird battery life with my phone since I flashed official V20A. Sometimes the phone goes into perfect deep sleep and sometimes it gets stuck at 51 MHz and drains battery like hell !
There are many people here complaining about the same problem and that the phone drains battery quickly over night.
The cause of this problem for me is that Mediaserver keeps running in the background even though I'm not listening to any music. Usually happens when I unplug my Headphones without pausing the music first (and sometimes it happens for no specific reason).
To check if this is also causing a problem with your phone, go to Settings - Power saver - Battery use - scroll down and tap "Mediaserver". Look at "Keep awake” and know the exact time, go back and wait for a few seconds then open Mediaserver again. If Keep awake time has increased and you're not playing any music, that means it's causing deep sleep issues.
The solution of this is to simply play then pause music payer (I use PlayerPro).
I have no idea what's causing this but this seems to be a temporary solution for me.
Let me know if this also works with you
Click to expand...
Click to collapse
hi,where can i find this mediaserver?
thanks
mimivg said:
hi,where can i find this mediaserver?
thanks
Click to expand...
Click to collapse
To check if this is also causing a problem with your phone, go to Settings - Power saver - Battery use - scroll down and tap "Mediaserver"
What is the media server,is possible that the media server prevents the phone to goes into deep sleep?what is the best solution to solve this?
Sent from my LG-P880 using xda app-developers app
neba123 said:
How to disable background data?
Click to expand...
Click to collapse
Go in to mobile data. And set a data limit. Then scroll down and select the app you want background data off for.
Sent from my LG-P880 using xda premium
i had the same poblem but with audio out 2 wakelock, i isable all related with TalkBack and google speech text and the phone can go to deep sleep mode
donkanmcklaus said:
i had the same poblem but with audio out 2 wakelock, i isable all related with TalkBack and google speech text and the phone can go to deep sleep mode
Click to expand...
Click to collapse
Even viber is a rogue app on 4.1.2 AFAIK
Sent from my LG-P880 using Tapatalk 2
I got baseband_xmm wakelock. It's drain 10-20% per night.
Sent from my LG-P880 using Tapatalk 2
Maybe this App would help.
https://play.google.com/store/apps/details?id=com.rootuninstaller.batrsaver
Just get betterbatterystats. Its THE solution
Sent from my LG-P880 using xda app-developers app
ronhoover88 said:
Even viber is a rogue app on 4.1.2 AFAIK
Sent from my LG-P880 using Tapatalk 2
Click to expand...
Click to collapse
i don't use viber, in leak release i didn't have that issue

Chromecase app causing Battery Drain?!?

I really like the chromecast so far, but the android app is killing me (well my phone).
Ever since I installed the Chromecast app on my Galaxy S4 My battery life is horrible. When I look at the battery stats Chromcast is always the highest by far (even more than screen). It apparently doesn't matter if I force close it either. I tried reinstalling it and that didn't help either. Unfortunately I can't keep this on my phone! Is anyone else seeing this?
I'm seeing the same thing, but my drain is not coming from the Chromecast app, but rather from Google Services.
If you're rooted you could try Greenify from the Play store, it'll identify background apps(and their memory usage) and you can select & disable them until you actually start it.
Play store link:
http://goo.gl/LSsNw
Sent from my HTCONE using Tapatalk 4 Beta
Thanks, I will take a look at it.:good:
empirescrumble said:
I'm seeing the same thing, but my drain is not coming from the Chromecast app, but rather from Google Services.
Click to expand...
Click to collapse
Yea its been a problem on the S4, now I turn it off when I can
The app doesn't do anything aside from getting it initially setup to connect to your wifi.
Are you saying its automatically starting up the app even after you've killed it the first time?
hawkns said:
The app doesn't do anything aside from getting it initially setup to connect to your wifi.
Are you saying its automatically starting up the app even after you've killed it the first time?
Click to expand...
Click to collapse
Yes, it is very odd. The only other thing I can think of is that the battery status app (stock) is misreporting the app info and something else is killing my battery and chromecast app is being blamed ... I will try to dig around a bit more and see whats going on.
Thanks

Audio playback stopped on 8.1

I am having an issue where audio stops after about 30 minutes of playback, the only way to get it going again is to unlock the device and go into the app. This happens with audio books on Audible and podcasts through Podcast Addict with wired and Bluetooth headphones. The issue only starred after the full 8.1 update. I had no issues with 7.1, 8.0 beta, 8.0 full release or 8.1 beta. I tried a full wipe and it still happens. Is anyone else seeing this? Any ideas on a fix? It's as if Android is killing the app.
I tried tweaking a couple of things in developer settings but nothing worked. So I tried playing Audible and Podcast Addict using Android Auto and both played for well over 30 minutes without stopping. This was with the screen off and over bt. But having to fire up AA to play something isn't ideal.
Sent from my TA-1012 using Tapatalk
I have had Poweramp stop just like that as well using 8.1 stable and Bluetooth headphones
Same for me with any audio apps.
Could be a background killing service after 30 min of srenn off.
Mastamike said:
Same for me with any audio apps.
Could be a background killing service after 30 min of srenn off.
Click to expand...
Click to collapse
Good to see I am not alone. Let's hope HMD are on this and we see a fix next update.
Sent from my TA-1012 using Tapatalk
Its just happened to me twice while i was walking somewhere, not ideal having to get your phone out to get the music going again when it is banging it down with snow.
Same here
me too, it happened twice using "music folder" app.
it happened since I've oreo 8.1 stable version.
I have tweeted Nokia Mobile and i have seen people have posted about it on the official community forums (probably us lot lol) so lets hope they hear this, clearly it isn't a one off and i haven't stumbled across a simple fix.
MrBelter said:
I have tweeted Nokia Mobile and i have seen people have posted about it on the official community forums (probably us lot lol) so lets hope they hear this, clearly it isn't a one off and i haven't stumbled across a simple fix.
Click to expand...
Click to collapse
Yeah, I created the thread on Nokia Care. The issue is pissing me off so I want HMD to address it.
I will have a better test of using Android Auto to initiate audio playback when I go for a run tomorrow. Having to stop every 30 minutes to restart a podcast isn't good.
Sent from my TA-1012 using Tapatalk
Well it stopped twice for me in a 4 mile walk, it's a bit of a pain in the arse to be honest.
Press and hold battery, go to background activity manager, find your app, grey out slider switch.
This will allow any app to work forever and a bit longer.
TeddyBeers said:
Press and hold battery, go to background activity manager, find your app, grey out slider switch.
This will allow any app to work forever and a bit longer.
Click to expand...
Click to collapse
Cheers, trying now will report back. I was looking for a setting like this but what I found in developer settings didn't work.
Sent from my TA-1012 using Tapatalk
Been playing audio for 45 minutes now with no issues. Thanks Teddybears.
Just hope that it doesn't rape the battery and Nokia fix it properly.
Sent from my TA-1012 using Tapatalk
I'm blind. Teddybeers. Doh.
Sent from my TA-1012 using Tapatalk
TeddyBeers said:
Press and hold battery, go to background activity manager, find your app, grey out slider switch.
This will allow any app to work forever and a bit longer.
Click to expand...
Click to collapse
Maybe i have the wrong end of the stick here but I don't have the background activity cleaner enabled and all of my apps are on the whitelist and shouldn't be restricted anyway, i also have Poweramp set to have no battery optimisation since google fannyed around with how Bluetooth works and the audio still stops at around 30 minutes.
MrBelter said:
Maybe i have the wrong end of the stick here but I don't have the background activity cleaner enabled and all of my apps are on the whitelist and shouldn't be restricted anyway, i also have Poweramp set to have no battery optimisation since google fannyed around with how Bluetooth works and the audio still stops at around 30 minutes.
Click to expand...
Click to collapse
It needs to be greyed out, not blue. Imo this is a bug. After changing it to grey solved the problem
Sent from my TA-1012 using XDA Labs
Toedwarrior said:
It needs to be greyed out, not blue. Imo this is a bug. After changing it to grey solved the problem
Sent from my TA-1012 using XDA Labs
Click to expand...
Click to collapse
So you have to remove it from the whitelist essentially blacklisting it even if the actual background activity cleaner is turned off which is the exact opposite of what it was in 8.0?
That's just bonkers.
MrBelter said:
So you have to remove it from the whitelist essentially blacklisting it even if the actual background activity cleaner is turned off which is the exact opposite of what it was in 8.0?
That's just bonkers.
Click to expand...
Click to collapse
This is dumb but yeah it fixed the problem
Sent from my TA-1012 using XDA Labs
Bizarre and a bug that needs correcting sharpish really, when you turn it off (or make it grey which ever term you prefer to use) you can even see the number of allowed apps that can run in the background decrease so android is even telling you you have just restricted its ability to run in the background lol
Seems there is some aggressive background app optimisation. Better if hmd unlock the bootloader so that devs can utilise the full potential of the device.

Categories

Resources