[Q] Xposed framework battery drainage - Nexus 5 Q&A, Help & Troubleshooting

Hi i have a nexus 5 rooted on the stock rom and when i install the xposed frame work i have significant idle drain even when i have no moduels enabled. if any one knows what could be causing this please let me know thanks.

What do the battery stats show?
Sent from my Nexus 5 using XDA Premium 4 mobile app

its the same as when i dont have it enabled. only with alot more battery drain not really much out of the ordianary in the battery stats

Well I would remove the framework and see if it goes back to normal. It might be a coincidence, you could have a bad signal or something. The framework doesn't change my battery life at all
Sent from my Nexus 5 using XDA Premium 4 mobile app

I dont know really its kinda weird because when i uninstall it,it goes back to normal and as soon as i enable it the intense battery drain starts again

brandon131995 said:
I dont know really its kinda weird because when i uninstall it,it goes back to normal and as soon as i enable it the intense battery drain starts again
Click to expand...
Click to collapse
How many times have you tried it? I would download GSam or BBS. These are battery stat apps that can help detect where the drain is coming from.

ive tried it a few times now with same result

Gsam and screen shots. Will be much easier to help you.

What Xposed modules do you use?
I can't see how framework would drain battery on it's own.

brandon131995 said:
Hi i have a nexus 5 rooted on the stock rom and when i install the xposed frame work i have significant idle drain even when i have no moduels enabled. if any one knows what could be causing this please let me know thanks.
Click to expand...
Click to collapse
I had the same issue, all i wanted was customizable quick panel, battery icon and reboot menu. So I found Cataclysm Rom and have been using that ever since with no issues
Sent from my Nexus 5 using Tapatalk

Related

Battery drain

Im having Lot of battery drain by Google Service and I have all disabled.. Any idea?
Sent from my HTC VLE_U using xda app-developers app
no one can help me? :\ so I will do a new install of the rom then I'm sure to solve this problem.
McGiver93 said:
no one can help me? :\ so I will do a new install of the rom then I'm sure to solve this problem.
Click to expand...
Click to collapse
Which rom are you running?
Sent from my LG-P509 using Tapatalk 2
Could it be you have latitude turned on? This used loads of battery on the phone I just had
I solved it by discharging the battery completely, then I did wipe battery stats and then i re-charged it. now after 6 hours its 94%
What's the typical battery time for the One S? I got mine a few days ago and it just seems like the battery drains away way too quickly than what I read on reviews. 14 minutes in and already at 83%? Yet all I did was use the 3G connection. But my screen consumption is 89% yet I have brightness at below half way, probably 40%. How is any of this possible?! I've got Google's Location service and Location and Google search options turned on, could this be it?
I haven't had the opportunity to go at it for the full day, so that's what I'm gonna do today and see how it goes.
Take a look at this (which will grow over time):
http://forum.xda-developers.com/showthread.php?p=28947240
Lodberg said:
Take a look at this (which will grow over time):
http://forum.xda-developers.com/showthread.php?p=28947240
Click to expand...
Click to collapse
Thank you.
There are mods for battery saving
Sent from my HTC VLE_U using xda app-developers app

Inconsistent battery fixed by reboot

I have been so impressed with the battery life on the N5 however the last 2 weeks my battery is dropping 50% in less than 4 hours. If I reboot my phone it fixes this and drops about 10% - 15% in 4 hours.
I thought it must be an app I am opening that is constantly running in the background but can't see anything obvious.
Anybody got any suggestions or advice? I have stopped almost all apps and uninstalled the majority. I don't want to restore factory defaults if I can help it.
Have you checked Gsam? Mine sometimes does that, and the culprit normally is my kernel keeping the phone awake for whatever reason, and a reboot solves it. Not sure why though
Sent from my Nexus 5 using XDA Premium 4 mobile app
Jinson7 said:
I have been so impressed with the battery life on the N5 however the last 2 weeks my battery is dropping 50% in less than 4 hours. If I reboot my phone it fixes this and drops about 10% - 15% in 4 hours.
I thought it must be an app I am opening that is constantly running in the background but can't see anything obvious.
Anybody got any suggestions or advice? I have stopped almost all apps and uninstalled the majority. I don't want to restore factory defaults if I can help it.
Click to expand...
Click to collapse
Get betterbatterystats and see what your wake locks are.
I have gsam but not really sure what to look for?
Jinson7 said:
I have gsam but not really sure what to look for?
Click to expand...
Click to collapse
I'm not familiar with that. Does it tell you what your partial and kernel wake locks are?
If you go to App Usage it will give you a breakdown of what apps are using your battery
Sent from my Nexus 5 using XDA Premium 4 mobile app
I have this exact same problem. I normally have to reboot my phone when I disconnect from the wireless charger. I don't think that's always the cause tho. I would love to install batterbatterystats but you need root am I'm really trying to not go down that road anymore.
Sent from my Nexus 5 using Tapatalk
I think It's the dialer. I had this problem in 4.1.1 where it would constantly be looking at my address book in exchange.
In my case, Gsam points to the Kernel being the issue. I'm trying out a different kernel, and haven't experienced the same issue.
Sent from my Nexus 5 using XDA Premium 4 mobile app

Battery draining

I don't know why. I have wake lock sector and have greenify. I use them to counteract the apps the suck my juice. I don't use 3g much and do light gaming and WiFi usage. I only get 2hrs SOT. PLEASE HELP I USE TO GET 4HRS (haven't done anything since)
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
I don't know why. I have wake lock sector and have greenify. I use them to counteract the apps the suck my juice. I don't use 3g much and do light gaming and WiFi usage. I only get 2hrs SOT. PLEASE HELP I USE TO GET 4HRS (haven't done anything since)
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
You're going to have to supply some information from gsam or better battery stats for anyone to help you. It could be anything that is keeping your phone awake
Sent from my Nexus 5 using XDA Free mobile app
Here. Google seems to taking a lot. Please help now
Sent from my Nexus 5 using XDA Premium 4 mobile app
google search would normally be up there, it also includes the launcher plus other things. you use googles launcher dont you? the play store and calandar storage is being used too often.
Did this issue appear in the last weak or so? I'm encountering the same issue, it drives me nuts.
Using same apps as usual, no gaming and still my battery drain is far worse than before. I have even disabled Google Now and Location all together.
Installed GSAM now to analyze the stats, nothing unusual in Android battery stats compared to the stats I had before.
is google play services showing up for you guys?
simms22 said:
is google play services showing up for you guys?
Click to expand...
Click to collapse
Low single digit %
Edit, my battery is still good, 5 + sot
Sent from my Nexus 5 using XDA Free mobile app
simms22 said:
is google play services showing up for you guys?
Click to expand...
Click to collapse
I wouldn't necessarily say my drain is bad, but yeah google play services did start showing up for me the past two days. I think it might be because of the google search update. Could be from the parking location feature.
razvanbalica said:
Did this issue appear in the last weak or so? I'm encountering the same issue, it drives me nuts.
Using same apps as usual, no gaming and still my battery drain is far worse than before. I have even disabled Google Now and Location all together.
Installed GSAM now to analyze the stats, nothing unusual in Android battery stats compared to the stats I had before.
Click to expand...
Click to collapse
Yes last week or so. My battery is really bad now. Don't know what to do
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
Yes last week or so. My battery is really bad now. Don't know what to do
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
It seems weird that my HTC One M8 doesn't have this issue, at least I don't sense it.
PsychDrummer said:
I wouldn't necessarily say my drain is bad, but yeah google play services did start showing up for me the past two days. I think it might be because of the google search update. Could be from the parking location feature.
Click to expand...
Click to collapse
the play services showed up on mine as well, 2 or 3 days ago. my phone normally sleeps better than a knocked out baby, but since the play services showed up, i see it wake every few minutes on my battery usage chart(draining some extra battery). been changing my permissions not allowing anything to wake my device, but it still does.
simms22 said:
the play services showed up on mine as well, 2 or 3 days ago. my phone normally sleeps better than a knocked out baby, but since the play services showed up, i see it wake every few minutes on my battery usage chart(draining some extra battery). been changing my permissions not allowing anything to wake my device, but it still does.
Click to expand...
Click to collapse
It could be that mine doesn't usually sleep that well that I'm not seeing a huge difference. Speaking of permissions though, I actually made it so G+ can't wake the device because I don't use it, and it still wakes it sometimes.
Try gsam from play store. And if rooted....gsam root companion as well.
Do a full charge, 100 to low....no reboots. Then print a few gsam screens. The main screen, app screen, and in app screen.... Click the drop down and screenshot time held awake and kernel Wakelocks. Also, maybe "screen" screen and radio screen.
I know its a lot, but between all these your issue should show up.
Tho....if you have terrible signal ever while on data....that will crush your battery.
Good luck!!
Yes I have noticed that now my Google play services is right at the top. I might as well try a placebo and do battery calibration. Fingers crossed lol
Sent from my Nexus 5 using XDA Premium 4 mobile app
dec1153 said:
Yes I have noticed that now my Google play services is right at the top. I might as well try a placebo and do battery calibration. Fingers crossed lol
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
You're battery calibrates every time you charge it. No need to do anything else.
I'm noticing more than the normal amount of "suddenly my battery is draining" threads. Seems to coincide with the update to Google Search. I also noticed my battery draining itself with nothing being reported in the battery page last night but a reboot put an end to it as usual.

Massive drain with no wake locks

Hey all
I had a wake lock trigger that was draining my battery so I decided to try and find what was causing it. I turned off all background sync and disabled GPS. I charged my phone to full and then let it drain over night. As you can see in screen shots... Massive drain occurred with no visual signs of the cause. Anyone have an idea?
Sent from my Nexus 5 using XDA Free mobile app
Demonic240 said:
Hey all
I had a wake lock trigger that was draining my battery so I decided to try and find what was causing it. I turned off all background sync and disabled GPS. I charged my phone to full and then let it drain over night. As you can see in screen shots... Massive drain occurred with no visual signs of the cause. Anyone have an idea?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Try to turn off wifi and see what happens
Demonic240 said:
Hey all
I had a wake lock trigger that was draining my battery so I decided to try and find what was causing it. I turned off all background sync and disabled GPS. I charged my phone to full and then let it drain over night. As you can see in screen shots... Massive drain occurred with no visual signs of the cause. Anyone have an idea?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Did you get any shots of the Kernel Wakelocks and Partial Wakelocks screens in bbs? That's where you would see the culprit(s). Also, do you ever do soft reboots? Some people (including myself) have experienced increased battery drain with no visible wakelocks after soft rebooting. Doing a full reboot seems to fix it.
Sent from my Nexus 5
It's definitely something using Wi-Fi. Need more in depth analysis
Sent from my Nexus 5 using Tapatalk
premo15 said:
Did you get any shots of the Kernel Wakelocks and Partial Wakelocks screens in bbs? That's where you would see the culprit(s). Also, do you ever do soft reboots? Some people (including myself) have experienced increased battery drain with no visible wakelocks after soft rebooting. Doing a full reboot seems to fix it.
Sent from my Nexus 5
Click to expand...
Click to collapse
I checked those but there was nothing abnormal. I'd done a reboot when I flashed the kernel back to stock pa.
Sent from my Nexus 5 using XDA Free mobile app
rootSU said:
It's definitely something using Wi-Fi. Need more in depth analysis
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I've disabled wifi and it drained to dead. Going to recharge to full and see what it does off wi-fi. What could I do to see why/if wi-fi is killing it?
You can see it is draining it in your screen shots. Maybe you didn't fully disable the background Wi-Fi usage. "scanning always enabled" for example
Sent from my Nexus 5 using Tapatalk
rootSU said:
You can see it is draining it in your screen shots. Maybe you didn't fully disable the background Wi-Fi usage. "scanning always enabled" for example
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
That was one of the first things I disabled.
Demonic240 said:
That was one of the first things I disabled.
Click to expand...
Click to collapse
Doesn't look like its disabled correctly. Your screenshot shows nearly 8 hours Wi-Fi.
Maybe there is a bug in your settings data.
Not sure if you're rooted or not but maybe a backup / wipe is the best course of action
Sent from my Nexus 5 using Tapatalk
rootSU said:
Doesn't look like its disabled correctly. Your screenshot shows nearly 8 hours Wi-Fi.
Maybe there is a bug in your settings data.
Not sure if you're rooted or not but maybe a backup / wipe is the best course of action
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Here's the current setting. I guess I can factory reset again. I'll try that after this current charge cycle.
Sent from my Nexus 5 using XDA Free mobile app
You could try booting the phone into safe mode to see if it's a 3rd party app, though unnecessary if you plan on trying a full reset anyways.
Disable xposed
Sent from my Nexus 5 using XDA Free mobile app
Factory reset, no syncing enabled, no auto updates, google now disabled, no apps other than stock gapps installed. Still high android os usage.
Demonic240 said:
Factory reset, no syncing enabled, no auto updates, google now disabled, no apps other than stock gapps installed. Still high android os usage.
Click to expand...
Click to collapse
while at first it looks high, in reality it isnt(yet). in your screenshot you have only lost 5% battery so far with light use. at this point you really cant tell what your battery will be like with use.
simms22 said:
while at first it looks high, in reality it isnt(yet). in your screenshot you have only lost 5% battery so far with light use. at this point you really cant tell what your battery will be like with use.
Click to expand...
Click to collapse
How about now?
Demonic240 said:
How about now?
Click to expand...
Click to collapse
ahh, thats a little better, but itll drop a little more with use. while 20 is a little high, id still classify as normal. really anything up to 20% is normal. typically, after a full cycle, i see android os between 9-15%. but it would all depend on exactly how you use your phone.
simms22 said:
ahh, thats a little better, but itll drop a little more with use. while 20 is a little high, id still classify as normal. really anything up to 20% is normal. typically, after a full cycle, i see android os between 9-15%. but it would all depend on exactly how you use your phone.
Click to expand...
Click to collapse
Right now.. I'm not doing anything other than replying to this thread.
Demonic240 said:
Right now.. I'm not doing anything other than replying to this thread.
Click to expand...
Click to collapse
i see that chrome(and chrome sandbox) is taking a huge amount of battery for very little use. 21% together, just to respond to xda..
Install system monitor from play store and check CPU freq and number of CPU's online while screen on.
Sent from my Nexus 5 using Tapatalk
As said above....use the phone normally and check when its almost drained. It will surely be much lower.
If location is on...it will probably be higher than 10% I'd guess. If so....completely normal.

battery life is horrible, what can I do? (stats included)

I have 2 hours of SOT! Why? I use a a stock 5.0.1, rooted with latest ElementalX. Greenified all apps except of the ones I need notifications from, gps is off, auto brightness and I can't get a decent battery life? Why?
I know people like GSam, but could we get a BBS log please?
I dont have that, but I will install it now. For now, please help me with what I have
Bei60 said:
I dont have that, but I will install it now. For now, please help me with what I have
Click to expand...
Click to collapse
I can't do much with what you have. That's why I requested you provide a BBS log.
I can tell you that you need to go into Developer Options and disable NuPlayer (and reboot). That's (one of) the culprits of crazy battery drain in 5.0. I don't use ElementalX, so I can't say if it's default settings are contributing to your problems or not. You may want to roll with stock until this issue is fixed?
I recommend for now turning off NFC and turning location off or setting to GPS only. Working pretty good on CM12.
Sent from my Nexus 5 using XDA Free mobile app
This is what I got today, sorry that its not a full day, also I changed my jernel to franco r70.
Bei60 said:
This is what I got today, sorry that its not a full day, also I changed my jernel to franco r70.
Click to expand...
Click to collapse
It's kinda hard to see anything out of the ordinary. Have you tried different ROMs?
Sent from my Nexus 5 using XDA Free mobile app
Chrome eats battery. I would get a different browser like Naked Browser.
Sent from my Nexus 5 using XDA Free mobile app
Getxrealx said:
It's kinda hard to see anything out of the ordinary. Have you tried different ROMs?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I don't see anything too out of the ordinary. Have you disabled NuPlayer and changed location mode to Device only?
Please use the "Battery Life Help" thread convienently stuck at the top of this section.
http://forum.xda-developers.com/google-nexus-5/help/battery-life-help-troubleshoot-battery-t2785128
Closed.

Categories

Resources