yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] rochrunner:
I'd like to thank whoever posted somewhere on this forum about how to clear the system cache on my N5, which has now completely fixed my battery usage issues after the Marshmallow OTA update! I think it's better now than it ever has been, although I'm keeping the Wifi location scanning option turned off as well. The only scary thing was that when it got to the "Formatting cache" step, it took a good 5-10 minutes to complete before I could go to the reboot step.

Again, this is THE place to go for in-depth technical help!
[Nexus 5 Q&A, Help & Troubleshooting] Chouiyekh:
:D:D:D:D:cool::cool::cool::cool::laugh::laugh::laugh::laugh:

perfect performance !
[Nexus 5 Q&A, Help & Troubleshooting] camaro322hp:
Could someone help me understand what is causing my wakeups? See screenshot attached for what I believe is the problem. BBS dump file is also attached.

I believe the culprit is: com.android.internal.telephony.data-reconnect.default.

I only have the problem when:

- wi-fi is connected and mobile data is turned on.

The problem goes away when either:

- I am connected to wi-fi and mobile data is turned off

OR

- I am not on wi-fi and mobile data is turned on and active

An exact description of my problem was posted here by another user with a different phone: (without a solution) http://xdaforums.com/lg-g3/help/wakelock-alarm-wifi-connected-t3057465

Thanks for any help anyone can provide.
[Nexus 5 Q&A, Help & Troubleshooting] Primokorn:
[MENTION=5167349]camaro322hp[/MENTION] I can't tell you why your issue only occurs in this situation. Did you check/ask in your dedicated forum?

The attached file is only a dump file of 30 m 52 s and the screen was turned on.

bam_dmux is a wakelock for mobile data. Check if you have apps or services that keep your mobile data connection active. (hello Gmail! :))

com.android.internal.telephony.data-reconnect.default could be also fixed by flashing another modem. (read this)
[Nexus 5 Q&A, Help & Troubleshooting] camaro322hp:
Thanks for the reply. Yes, I have been actively looking in my phone's forum, but I hadn't seen anyone else post about this there. I figured it's not a widespread issue with my phone, and it would likely be a generic issue not specifically unique to my phone. And frankly, this thread has been way more informative to me regarding battery life than anything in my phone's forum. I apologize if I've posted in the wrong place, but this looked like the best bet for some help.

The dump I posted is only 30 minutes, yes, but I have left it untouched overnight and I still get the same ~2.5 wakeups/minute from com.android.internal.telephony.data-reconnect.default. I should have grabbed a dump file and screen capture from the overnight test, but I failed to do so.

Thanks for the advice. For the time being, I have tried disabling fast dormancy as described in this thread: http://xdaforums.com/showthread.php?t=2382680 I'll monitor to see if it goes away. If not I'll look into flashing another modem, even though that sounds a little scary with my level of knowledge.
[Nexus 5 Q&A, Help & Troubleshooting] Primokorn:
Since you are rooted, could you install Xposed? If so, install Amplify and limit the alarm "com.android.internal.telephony.data-reconnect.default".

Good luck.
[Nexus 5 Q&A, Help & Troubleshooting] camaro322hp:
I had Xposed installed on KK, but haven't done so on LP yet. I could certainly do that. Thanks again!
[Nexus 5 Q&A, Help & Troubleshooting] coffeecore:
Hey guys,

I need your help on this one :)

I can exchange my Nexus 5 with a OnePlus One (64GB) but I don't know if I want to do it.

I'll root and flash it anyway so stock firmware isn't a big deal for me, only it is nice that you receive much faster updates on the Nexus 5.

Anyone have an OnePlus One or a friend of yours and could tell me which you like more and/or think is faster in daily use.

Thanks.
[Nexus 5 Q&A, Help & Troubleshooting] :
Perhaps you should read the thread title once more? :silly:
[Nexus 5 Q&A, Help & Troubleshooting] coffeecore:
Ooops sorry Darth I thought I was in the ''Ask everything thread''.

Excuse me!
[Nexus 5 Q&A, Help & Troubleshooting] :
No worries! :good:
[Nexus 5 Q&A, Help & Troubleshooting] camaro322hp:
In case this helps anyone else: disabling fast dormancy did indeed solve the excessive wakeups from com.android.internal.telephony.data-reconnect.default.
[Nexus 5 Q&A, Help & Troubleshooting] michiganyooper:
battery usage stats do not add up on marshmallow

I currently have the stock android marshmallow installed with elemental x kernel and root. My problem is that the stock battery usage stats do not add up. I had this problem when I tried lollipop a year ago too. After trying lollipop a couple weeks I switched back to kitkat for the last year and have now tried marshmallow with the same problem. I have run my battery down to about 8 percent and the usage stats add up to nothing sensible. I have read some thread asking about this as well but with no answers to the problem. On a side note, I would like to add that run time on my device for marshmallow has been pretty good after I disabled the "ok google" thing, the screen shots show that I had about 4.5 hrs of SOT and about 23-24 hours since being fully charged and it made it through the night using about 1 - 2%.

I could not find how to upload screen shots to the forum so this is a link to my google drive account with my screen shots but you will need to remove the "remove me" from the edited link

drive.google.com/folderview?id=0BzxO_GbYevCgNWFvUkFYbUtHSVE&usp=sha*****REMOVE ME*****ring
[Nexus 5 Q&A, Help & Troubleshooting] maybeme2:
There is an app on the Play store called "Battery Life Repair" by Waroketu Fetrugotca that claims to repair the battery cells. It goes through a screen that supposedly identifies bad cells and then "repairs" them. Sounds too good to be true and almost looks like smoke and mirrors.

Anyone knows if this is even possible?

Same question about "Battery recalibration" apps. Do they do anything?

Thanks.
[Nexus 5 Q&A, Help & Troubleshooting] playitlouder:
Hi,

I am having "massive" battery problems with my nexus 5.

I am communting to uni by train every day. Well the hour I sit there, I often spend surfing or checking twitter.

But with CM 12.1 CAF I only manage to get about 1:30min screen time (and this is not even full brightness) on the end of the day.

I understand that mobile signal strength is not that great in the train, or uni but under two hours is just sad.

To clarify: I am not gaming on the thing. Location is off, wifi is off, lte is off. Purely 2g+3g internet.

I never had batter problems on kitkat. I usually got 3h of screen time out of the thing.

That was a physically different phone though (power button died, google sent me a refurbished phone with an 2013 battery :( )

Is there a chance that if I flash the KitKat radio, my phone stops draining that battery?

For now I only have the Android Stats. I will post the BetterBatteryStats screens tomorrow (just installed again after charging).

EDIT: The funny thing is: I let it play a 10h YouTube video the other day. On wifi only, 3/4 brightness. I got over 4hs of screen on :eek:
[Nexus 5 Q&A, Help & Troubleshooting] :
Both are placebos. ;)
[Nexus 5 Q&A, Help & Troubleshooting] :
Looking at the graph shot, you have a lot of wake locks, and yes, poor signal is likely doing heavy damage.

But why its worse on LP , I can't say. Battery life just seems worse on LP overall in my experience. Every android Update promises better battery life, then they throw in New features, and it ends up worse. Lol
[Nexus 5 Q&A, Help & Troubleshooting] maybeme2:
I suspected that might be the case which is why I asked. Felt like a con job. Thanks for confirming.
[Nexus 5 Q&A, Help & Troubleshooting] playitlouder:
I think I found one culprit.

And I haven't even used this app for almost a year...
[Nexus 5 Q&A, Help & Troubleshooting] Primokorn:
There's something wrong with your setup. I installed this app a few weeks ago and it doesn't appear in my BBS charts.
[Nexus 5 Q&A, Help & Troubleshooting] amir7777:
Try uninstalling and then reinstall the app
[Nexus 5 Q&A, Help & Troubleshooting] playitlouder:
This is today's stats.

Better, but not impressive.
[Nexus 5 Q&A, Help & Troubleshooting] Primokorn:
Post a idle dump file if you want to analyze your battery life.
[Nexus 5 Q&A, Help & Troubleshooting] playitlouder:
My Kitkat Radio experiment and disabling 3g in Uni (low reception in some rooms) helped my battery life a lot.

The battery lasted throughout the whole day and I even listened to music for 2,5h.
[Nexus 5 Q&A, Help & Troubleshooting] maybeme2:
How do you turn 3g off in kitkat?
[Nexus 5 Q&A, Help & Troubleshooting] Primokorn:
Change your prefefred network type. You can do it in the mobile networks settings or dial *#*#4636#*#* > Phone information I guess
[Nexus 5 Q&A, Help & Troubleshooting] Anderson2:
Thank you. Actually I'm on T-Mobile and my radio is set to lte. But I have the option to select 3G or 2G.

The signal strength is very weak on lte and gets stronger as I move down to 3 or 2G.

What do I give up when I go to these?

Does it matter to the battery if I mainly use wifi?
[Nexus 5 Q&A, Help & Troubleshooting] Pmart317:
Battery drain is occurring more than normal. Wasn't sure if it was due to the new ATT update? I am running package disabled. Any battery drain services or apps that I should disable? Location, WiFi, gps, sensors, and Google now are always off.
[Nexus 5 Q&A, Help & Troubleshooting] rainfactor:
Phone shuts off after being charged 100%

Hi

I have started to have this weird issue where i would unplug the phone from the charger (100%)

Put the Maps on and start driving, in 5 or more minutes it will shut down. I will turn it on manually and the battery would show 10 or even less %. Sometimes it doesn't turn on, will be showing the Android logo then will vibrate and turn off again. I have to leave it off for few minutes then turn it on and would be ok. It does it randomly. I picked up the Maps exemple but i could be texting or doing something else. It drives me crazy as i cannot tell what's causing it. I install Gsam but it doesn't update the stats, just says calculating. Maybe i need the paid version. At this point i know its a hardware issue but just wondering what can it be. I m willing to buy a new battery if that's it but what if its not

I am attaching the stock battery graph to see the gap. I know it doesn't mean much :

[IMG="battery"]http://s1.postimg.org/5ipxkmtcv/better.png[/IMG]

Does anyone have any idea or can maybe point me into the right direction ?

Thank you !!

I'm rooted and on Pure Nexus Rom but i have tested 4 others (AOSP or CM based) and does the same
[Nexus 5 Q&A, Help & Troubleshooting] cartman_73:
Install the better battery stats from this forum, charge to 100% in the evening then put in airplay mode over night. In the morning share the statistics from BBS and post it.

Inviato dal mio X9006 utilizzando Tapatalk
[Nexus 5 Q&A, Help & Troubleshooting] AndyAS:
Many N5 users complain about heavy battery drain with Android 6, due to massive wifi activity. I was one of them.

After trying everything others recommended, found that nothing worked. (wifi scanning and bluetooth scanning-disable, cache wipe, many roms including stock). I decided to downgrade the radio (modem) to

radio-hammerhead-m8974a-2.0.50.2.26

(Lollipop version). I haven't tested this for long, but I'm pretty sure my battery has improved a lot.

Some N5 users complain about this problem, others don't. Is it possible that those who don't complain haven't upgraded the radio but only their rom?

I'll report soon about my battery life.
[Nexus 5 Q&A, Help & Troubleshooting] porman:
The only thing that drains my battery is the gaming, Star Wars Galaxy of Heroes in particular. Goes from 100 to 50 in half an hour.
[Nexus 5 Q&A, Help & Troubleshooting] Primokorn:
FYI BBS should work soon on non-rooted devices. Check this out.
[Nexus 5 Q&A, Help & Troubleshooting] :
That would be useful for sure! Would it show app wakelocks though? Wakelock detector will, but only from its PC version.
[Nexus 5 Q&A, Help & Troubleshooting] Primokorn:
chamonix still has some things to fix - WIP ;)

From a non rooted user:
[Nexus 5 Q&A, Help & Troubleshooting] :
That's kernel wakelocks. Don't need root to see those. But app wakelocks have always needed root. Or are they working on that?
[Nexus 5 Q&A, Help & Troubleshooting] Primokorn:
AFAIK Partial Wakelocks aren't working yet (logs are welcome btw) and I don't see any screenshots from the Process screen.

I always have root access so I can't test myself. It's better to subscribe to BBS thread if we want to have the latest news.
[Nexus 5 Q&A, Help & Troubleshooting] :
Will do! I'm curious if or how they get app wakelocks listed unrooted.

Wakelock detectors PC version achieves it by using ADB somehow, to get the info from the device, without root. Never seen another way yet. ;)
[Nexus 5 Q&A, Help & Troubleshooting] atrix4nag:
I am having drastic battery drain. can you check whats the issue?

TIA
[Nexus 5 Q&A, Help & Troubleshooting] Primokorn:
Feel free to ask in the BBS thread since this one is dedicated to Nexus 5 users.

Your log mostly shows up alarms from CM cLock, Facebook and Google Services. Try reducing them through Amplify.
[Nexus 5 Q&A, Help & Troubleshooting] atrix4nag:
Thanks for the suggestion. I will try it.
[Nexus 5 Q&A, Help & Troubleshooting] shahrooz.omd:
My battery indicator shows voltage(mV) instead of percentage. Like 4150% or when it is low 3642%, what should I do?
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
I think that's a kernel bug. Just flash a different kernel.
[Nexus 5 Q&A, Help & Troubleshooting] shahrooz.omd:
I have not flashed a custom kernel, I'm on latest android for nexus 5 + systemless root and xposed. What do you suggest me to do, ultimately I will flash android again but want to try other stuff because I don't have a fast connection and setting up my phone again will be a drag.
[Nexus 5 Q&A, Help & Troubleshooting] henk_j:
Hi everyone, I have a problem witch occurred since I went to 6.0. Since then I have to swap from kernel to kernel cause after a few days my phone stops loading juice. Trough many cables I've tried. Wireless doesn't make a difference.only swaping from kernel to kernel helps. Anny ideas?
[Nexus 5 Q&A, Help & Troubleshooting] nexxer:
I'm seeing the same (battery percentage 3554% etc) after flashing March security update for 6.0.1, and after that latest ElementalX 6.14.

I had ElementalX 6.14 prior to the security update, and didn't boot before reinstalling it after the flash so I'm unsure what caused it.
[Nexus 5 Q&A, Help & Troubleshooting] Stormspik3:
Hi all,

Unfortunately I have better battery life but I am again losing a lot of battery. ( I recently removed GoogleFit,)

I have a screenshot but I am unable to upload it sorry about that.

I use my phone mainly for calls roughly about 15 mins per day at the most in total ( not a lot at all I know) and I also have my bluetooth on at all times cause I have LG G Watch.

thing is that I have never had problems with the battery before. When I say before back in the day I still had my LG G Watch ( I have it for about 6-7 months) . Problem with the battery started roughly around 1 month.

Location is off, wi-fi is on on very rare occasions throughout the day when I need to check my e-mail and mobile data is the same. Navigation is used only if needed. i.e. location is off at most times.

The real problem is that before I knew what was draining my batter now I have 79% of battery usage and I have 5 apps listed that drained each 1%

Android System 1%

Phone Idle 1%

Screen 1%

Google play services 1%

Android OS 1%

Where are the other 15 % ??

It is weird I really took pride in that phone and his battery life, I know that it is mainly because I don't use it as a regular user do i.e. gaming, facebook etc, but I still want to charge less than 1 time per 2 days ... I had that experience before so would like to bring it back.

I have the Gsam Installed but it says calculating on everything oh and by the way I did not root my nexus 5 as of yet.

Thanks in advance

Regards

Nik
[Nexus 5 Q&A, Help & Troubleshooting] Matthias.ja:
Hi!

I am having rather major battery drain issues with my nexus 5 lately. I don't get through a day even with moderate use, and the phone seems to lose a lot of battery in standby too. I even flashed the factory image once, but it didn't really help. It seems like android system and kernel are using all the battery, but I don't know what is causing this. I turned off all the Google plus, Google fit etc apps and disabled WiFi scanning..

I am uploading the Screenshots, I hope someone can help me with this, otherwise I'll have to buy a new phone, charging twice a day is just unacceptable for me..

Thanks a lot!
[Nexus 5 Q&A, Help & Troubleshooting] Primokorn:
Please read this: http://xdaforums.com/showpost.php?p=53453771&postcount=4
[Nexus 5 Q&A, Help & Troubleshooting] Callliope:
My device is One M8, I have stock rom, rooted, and elementalx kernel, i have pretty nasty wakelocks, i run amplify and i used it to limit some of them but play services is eating my life, i use greenify too
[Nexus 5 Q&A, Help & Troubleshooting] overclock360:
I used to get 5hrs screen on time when i bought my nexus 5 in jan 2013, but now i hardly get 1hr45mins. will rooting improve my battery life?
[Nexus 5 Q&A, Help & Troubleshooting] amir7777:
A little it might, but I recommend a new battery

Sent from my Nexus 5
[Nexus 5 Q&A, Help & Troubleshooting] Primokorn:
Not at all. Try finding potential culprits before buying a new battery.
[Nexus 5 Q&A, Help & Troubleshooting] overclock360:
What do u mean by finding potential culprits :p
[Nexus 5 Q&A, Help & Troubleshooting] Primokorn:
Energy-consuming apps
[Nexus 5 Q&A, Help & Troubleshooting] Callliope:
Any idee what is this? And why after i powered on my htc one m8 after a full charge, battery gone from 100 to 95 in 5 minutes, and bbs showed that this alarm caused that.. Any idee? I searched everywhere, still no idee what htcmode or htc autobot is, anyway, i deleted it with titanium backup ( the thing that was wierd, i couldnt find it in the back up section, so i just uninstalled it without having a back up)

Let s hope its not something important
[Nexus 5 Q&A, Help & Troubleshooting] CutEar5278:
Did you fix your phone?

Did you fix your phone because I have almost the same problem seems like hardware related. My nexus won't charge fully. even when plugged in for a long time.
[Nexus 5 Q&A, Help & Troubleshooting] unvisigoth:
Hi to all. I hope this is the right thread.

My battery problem is that using a navigator in the car (obviously gps on and screen always on) even with a charger plugged the battery discharges. Slowly but discharges. I have a Motorola charger (950mA) and my question is if using a charger that supllies 2.1 A I can damage my Nexus. I know that the standard Nexus charger is 1.2 A so my question. I don't know if this has something to do with it but I have fast charge activated using Elemental X kernel.

Thanks for your answer
[Nexus 5 Q&A, Help & Troubleshooting] Fif_:
Using a higher rated power supply should work and shouldn't damage your phone.
[Nexus 5 Q&A, Help & Troubleshooting] gutbusterguy:
N5 battery problem

I am using a 2 year old nexus 5 with chroma ROM installed in it. I recently changed the sim card to a LTE enabled sim and used the LTE network for sometime. Since then i have faced a weird battery problem: at first it used to charge very slowly, then later it used to show that its charging but it was not. GSAM battery monitor shows a positive amperage when I keep it on charging. Its after a lot of plugging-in and taking out that the amperage turns negative and the phone actually starts charging. Even in that if i have my phone touched in between while its charging, it would again show a positive amperage. I have tried different chargers, but the problem persists.

I'll try to flash the factory image today and see whether the problem persists or not.

But can anyone please let me know if they have faced a similar issue before? Any checks that I should do?

Is the battery swollen or is its life over? I doubt that the battery is a problem since if i get it charged fully somehow then it lasts for an entire day, which was my normal battery life before.

Please help!
[Nexus 5 Q&A, Help & Troubleshooting] Krupi3r:
Hey there.

I think I have problem with battery drain that I can't find solution for it at any other website. The problem is kinda hard to explain so I hope you understand it with my english. ;)

The problem is in GPS battery drain. I have location services always off and turn them on only on demand when I need them. So I'm using for example Endomondo, I turn on the app, turn on the location in the toggle bar and use the app. Then I turn off the app and location services. After some time (it's really random) I see huge battery drain in the settings caused by GPS in the app that I used.

The weird part is that the GPS is turned off. The weirdest is that also the app is turned off (I forced it in the settings). The GPS is still runnig for Android and takes a huge amount off battery consumption.

When I cancel the permission for location in the app settings GPS is still running. Also, when I Greenify the app it's still running.

So - the GPS is always on after some time I turn it off. The only way to stop this is (except restarting the phone) to turn location on for few seconds and turn it off. Then it stops working but... sometimes it stops for good but sometimes the problem come back after few hours even if I did not use GPS or other location services for this time. So it's absolutley random.

I have MM 6.0.1 MMB29V, rooted, stock. Other stuff like wifi scanning, location history etc. is of course turned off. I also had this problem on 6.0 Cataclysm so I came back to stock but it's still causing problems.

For some time after hard reset it works perfectly even when I use location. So, my mind is really confused and have no idea for solution. I can add that I did not have this kind of problem at KK or LP Android.

If you have some suggestions of if you know how to solve this problem I will be grateful.

I have a movie where I recorded the problem but can't put it in the post so if you want I can send it via priv or sth.
[Nexus 5 Q&A, Help & Troubleshooting] Stevica Smederevac:
Is this off?
[Nexus 5 Q&A, Help & Troubleshooting] Krupi3r:
Yes, of course.

Yesterday I used Endomondo, starts at around 12:00, stops after 2h. All day GPS was ok and today I wake up in the morning and what? Endomondo is using GPS from 1,5h.

And the app dosen't matter. Today it's Endo, tommorow it will be another app that use location (I had this problem with Endo, Google Maps, Osmand, Wizzair app, all that I use with location, it's totally random).
[Nexus 5 Q&A, Help & Troubleshooting] Krupi3r:
Nah, I still got this problem, still with Endomondo. I used it, turn location on, then off when I finished and after several hours Endomondo starts using GPS, just so. The app is off, the location services (all) are off and the battery is drained by GPS. I turn it on for second and turn off and the app stops using it. But later, even when I don't turn on the app, it starts using GPS again.

And I can have this problem with any other app which I used with GPS. I don't have any idea what could be the problem. :(

You can check the movie I recorded with this issue (just paste it into the browser).

onedrive.live.com/redir?resid=68FB3E37C8695AF2!1085&authkey=!AOCl_3SqM8aTzSo&ithint=video%2cmp4

Anyone have some idea?
[Nexus 5 Q&A, Help & Troubleshooting] NoOne12:
Hello,

do you have a recommendation where to buy excellent battery for Nexus 5?

Thanks!
[Nexus 5 Q&A, Help & Troubleshooting] Primokorn:
Have a look at these threads:

http://xdaforums.com/google-nexus-5/general/battery-amazing-life-nexus-5-t3087545

http://xdaforums.com/google-nexus-5/accessories/battery-replacement-t3003478