Nvidia and Robotics w/ Barrett Williams – XDA:DevCon 2014

Robotics continues to dominate our videos from this years XDA:DevCon 2014 in … more

Speed Up Deodexing with JoelDroid Batch Deodexer

Android 5.0 Lollipop brings many under-the-hood changes like changing the default compiler … more

Top 5 Apps for 2014 + Top Xposed Mod of 2014 – XDA TV

Its that time of year where you look back and remember the things that happened … more

NVIDIA SHIELD Tablet Gets Android 5.0.1, OTA Available

The NVIDIA SHIELD Tablet is the latest Android-powered device released by famed GPU … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Inactive YouTube drains a lot of battery

OP xxxmarienxxx

30th May 2014, 10:12 PM   |  #1  
xxxmarienxxx's Avatar
OP Member
Flag Barendrecht
Thanks Meter: 13
 
40 posts
Join Date:Joined: Apr 2013
Donate to Me
More
So of course I know YouTube uses a lot of battery when watching some video's, which I do a lot. This, however, isn't the problem I'm experiencing.

So lets say my phone is 100% charged and still on its charger, and I start watching a video or two. Then I close the app (still in multitask bar) and take it off the charger. I use my phone a bit, put it in my pocket and just forget about it. After a few minutes/hours battery has dropped almost 10% (depends on time). Checking battery stats shows YouTube using most of the battery, more than screen and other processes.

Here's a screenshot of today. Just normal battery usage, then i watched two 4 minute videos over WiFi, closed YouTube and put it away. Got about 10% drop in the following 30 minutes.
Click image for larger version

Name:	Screenshot_2014-05-30-21-57-18.png
Views:	76
Size:	245.2 KB
ID:	2771743Click image for larger version

Name:	Screenshot_2014-05-30-22-03-04.png
Views:	68
Size:	184.3 KB
ID:	2771744

Clearing the YouTube app from recents does get rid of the problem, but it seems that this is something unusual, and I hoped someone had a more permanent solution.

My device is running on stock rom with Franco kernel v50 (Vomer settings), although I've had this problem with earlier versions of Franco kernel with other settings. Furthermore I'm using Xposed with App Settings, AppOpsXposed, Gravitybox and Unicon. Using custom DPI for whole system and certain apps (using App Settings). If I forgot some crucial information I'll hear it.

I hope someone can help.
30th May 2014, 10:18 PM   |  #2  
jd1639's Avatar
Recognized Contributor
Minnetonka, MN
Thanks Meter: 3,991
 
11,383 posts
Join Date:Joined: Sep 2012
Reboot the device and see if the problem continues. It probably just got hung up the one time.

Sent from my Nexus 5 using XDA Free mobile app
30th May 2014, 10:23 PM   |  #3  
simms22's Avatar
Recognized Contributor
BROOKLYN!
Thanks Meter: 22,913
 
27,538 posts
Join Date:Joined: Jun 2009
from your screenshots, youtube doesnt look like your problem. it only used 18% of your battery thats already used, and only kept your phone awake for 2 and a half minutes. when you close an app in your app via the multitask bar, you arent actually closing the app(its the same as just backing out of the app). but google play services is taking much more battery than it should.
The Following 2 Users Say Thank You to simms22 For This Useful Post: [ View ]
30th May 2014, 10:26 PM   |  #4  
Recognized Contributor
Thanks Meter: 1,290
 
3,206 posts
Join Date:Joined: Aug 2012
More
Greenify.
The Following User Says Thank You to Aerowinder For This Useful Post: [ View ]
30th May 2014, 10:29 PM   |  #5  
Member
Thanks Meter: 1
 
39 posts
Join Date:Joined: Sep 2008
More
I had the same issue, but only happens sometimes. If you check FKU - CPU usage you'll notice sometimes it will be on four cores and as soon as you close it from recents it will revert back to two cores. Also happens on Instagram if im using it for a long time.
30th May 2014, 10:56 PM   |  #6  
xxxmarienxxx's Avatar
OP Member
Flag Barendrecht
Thanks Meter: 13
 
40 posts
Join Date:Joined: Apr 2013
Donate to Me
More
Rebooting won't fix anything, been having this problem for months now, just always cleared recents to avoid the drain. Plus its a consistent problem, i can predict it draining battery when i leave it open, and it stops draining when I remove it from recents. That's why I'm confused. I will try Greenify, and thanks for the tips everyone.

Still, I find it strange that, even though you say the drain can't be from YouTube, it's always YouTube causing the problem in the first place. And the thing about Google Play Services, mostly it's this high in the list. It reports 7m52s CPU and 43m11s Keep Awake right now (1hr after OP). Is this not good? What can I do to fix that?
Post Reply Subscribe to Thread

Tags
battery, drain, drain battery, inactive, youtube
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes