yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] Younuszain:
Battery drain

my battery has started to drain out miserably. my screen cracked around a week back so i guess that is the issue. BUT google app seems to me draining it out a lot so i changed its permissions and now it isn't. BUT, if i just restart my phone, the battery drops a LOT. and its happened quite a few times. its not a software issue coz i changed the rom and flashed it back to stock and the drop was still there. i think it cant be the screen either coz it wont make the battery drop with just a restart, right?

help me out. :/﻿
[Nexus 5 Q&A, Help & Troubleshooting] PD1978US:
Something definitely is lying on the prowl... need to figure out what.

Apps which i manually installed:

ES File Explorer

Alarmdroid

GSAM Battery Monitor

Wake Lock detector

Quickpic

HTC Stock SMS/MMS

Whatsapp

Facebook w/o messenger

Google Chrome

In WakeLock my Apps have a usage of 86%

Kernel 40%

Android System 17,7%

System (adsprpcd) 4.3%

Ther kernel is held active for 10h48min and etc.

When I clear the cache all seems normal.... but as soon as i unplug from the charger I have a loads of kworker

Already followed sveral tips from Darth (Thankful for that).... but I'm still going crazy because 44% without doing anything, untouched is despicable..... in my eyes
[Nexus 5 Q&A, Help & Troubleshooting] migueldbr:
Is there anyway to make the facebook messenger app to stop creating so many alarms?In 14 hours WLD shows me that facebook messenger had 180 alarms(without using the app). Whats the point of creating that alarm even when i have wifi and data off? In the same period of time, whatsapp had like 10 alarms.

Is there anyway to make the alarms only happen when i turn on the screen or something instead of creating them when the phone is idle. Without using Xposed...i know that amplify could delay those alarms, but i dont really like xposed and if i greenify the app i wont get any notification
[Nexus 5 Q&A, Help & Troubleshooting] Parideboy:
The solution is right there... Stop permanently the alarm or allow it wherever it occurs.

Inviato dal mio buon vecchio Samsung Galaxy S4 AICP 5.1.1
[Nexus 5 Q&A, Help & Troubleshooting] migueldbr:
what do you mean?if i permanently stop the alarm i wont get any notification

What i want to know is if there is another alternative to xposed in order to get less alarms or to disable the app and somehow still get push notifications(like greenify+xposed)
[Nexus 5 Q&A, Help & Troubleshooting] a5pe4:
Man this is absolutely killing me. I really hate Google right now. Can anyone check these screenshots out and give some advice? Thanks

Sorry for all the screenshots...
[Nexus 5 Q&A, Help & Troubleshooting] Parideboy:
That's exactly what I ment

Inviato dal mio buon vecchio Samsung Galaxy S4 AICP 5.1.1
[Nexus 5 Q&A, Help & Troubleshooting] migueldbr:
Lol did you even read my post? That was as useful as not replying at all
[Nexus 5 Q&A, Help & Troubleshooting] :
No drama in here guys. Please. :good:
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
Can't wait for GSAM root or BBS to work on Android M. Cause this sucks. Lol
[Nexus 5 Q&A, Help & Troubleshooting] Anderson2:
Every night when going to sleep I connect my nexus 5 to its charger and it charges all night. Since it only takes 1-2 hours to charge, is leaving it connected to the charger all night harmful to the battery?
[Nexus 5 Q&A, Help & Troubleshooting] :
I've done that with every device I've ever owned and never had a battery noticeably degrade. :good:
[Nexus 5 Q&A, Help & Troubleshooting] Anderson2:
I think so have most users, but I wonder if it is good for the battery.
[Nexus 5 Q&A, Help & Troubleshooting] :
I still have my S2, it's my alarm clock. It's plugged in and screen on 24/7 and when I do unplug it to let my son watch Netflix on it, battery is as good as day one. Maybe I'm lucky? :)

It does have screen burn in from the clock though. Lol
[Nexus 5 Q&A, Help & Troubleshooting] iximedaixi:
My nexus 5 won't charge or see any connection

Here is my problem my n5 a couple of hours ago stopped charging I tried ton of cables and chargers including the original ones it won't even light the screen when I connect a cable and it won't show the charging sign I tried charging while off also nothing happens I tried connecting to PC the PC won't recognize it it doesn't even make that sound when u connect any USB device so any ideas would be appreciated FYI I am rooted running custom ROM stock kernal and I am pretty sure it's hardware related so if u can point me to the faulty part I can replace it
[Nexus 5 Q&A, Help & Troubleshooting] kted:
http://pages.ebay.com/link/?nav=item.view&id=27182363297

Sent using Tapatalk.
[Nexus 5 Q&A, Help & Troubleshooting] iximedaixi:
I went to the url it shows listing not available or item has been removed
[Nexus 5 Q&A, Help & Troubleshooting] invisible_touch:
hello

to me with 5.1.1 and the battery has deteriorated a lot, I did a wipe cache but did not bring improvements, then a factory reset but even that improves the situation

I use it when the battery drops by 1% per minute with 10% brightness.

In standby consumes 10% per hour

I disabled all syncs, gps but nothing ...

I do not know what to do :crying::crying::crying:
[Nexus 5 Q&A, Help & Troubleshooting] :
See Post 4, and we can try to help. Specifically, times waking device and held awake time. :)

No other way to know what to suggest.
[Nexus 5 Q&A, Help & Troubleshooting] invisible_touch:
I have these two

They can be of help?

:)thank you all
[Nexus 5 Q&A, Help & Troubleshooting] migueldbr:
you have a wakelock keeping the cpu awake all the time. reboot the phone and see if it fixes it
[Nexus 5 Q&A, Help & Troubleshooting] trawel:
What Facebook and Messenger services can I disable in Disable Service app? I don't want to loose main functionality (I want to receive messages and notification if any appears, etc). These two apps are on top in my battery consumption (Facebook has over 21h of "keep awake" and messenger has more than 1h of "phone transmitter on" or something like that.
[Nexus 5 Q&A, Help & Troubleshooting] silvertrain78:
The services you can disable are called all of them.. Uninstall. Use alternatives: Chrome browser & Tinfoil for Facebook.
[Nexus 5 Q&A, Help & Troubleshooting] ehud83:
Possible solution for all the Battery Drains..

Hi!

After upgrading my Nexus 5 to

rooted Loillipop 5.1.1

, battery drained fast.

Since I couldn't find any apropiate Battery Saver application that answer all of my needs, and actually works on Lollipop, I decided to think out of the box.

My answer was to use an automation application: E-Robot. To whom doesn't familier with it, it's an automation application, kind of simple programming of the phone to do specific actions as you preffer, and after getting to knowing it, it's pretty simple for use.

3 short examples:

1. Since I use a lot a navigation application (Waze), I defined that everytime I start it, the GPS, bluetooth (it's forbidden to drive and hold the cellphone) and data network should turn on automatically. When I close the application, I defined the GPS to shut down by itself, and the bluetooth would do the same, unless I'm during a call!

2. I noticed that the data network consumes a lot of battery percentage. So, I defined that whenever the screen is off, both WiFi and data network should go off (if WiFi is in use, it should wait a bit until it ends). Whenever I turn screen on again, both connections are on again.

3. Syncing data: I defined the GPS, data network and WiFi to to be on every hour for 30 sec in order to sync mails, whatsapp, hangouts and all other ****. after that its just turn off again.

All these examples, and many more, promise me a very amaizing low battery drain and it's also very very simple.

The draws are that you must take in count that every event you put in it doesn't contradict other ones. After short training it bacomes very very very easy!

If any questions feel free to ask! (and shere your E-Robot events! ;) )

Ehud
[Nexus 5 Q&A, Help & Troubleshooting] VQ30DE:
Turning WiFi on and off is supposed to be a big battery drain. Always on WiFi is supposed to use less battery, I have read.
[Nexus 5 Q&A, Help & Troubleshooting] ehud83:
I'll be happy if you can direct me to where you read it, since it contradict science as I know it..

The only way I can think of battery drain cause of it is if the device scan for new networks
[Nexus 5 Q&A, Help & Troubleshooting] Paget96:
This can maybe help you guys ;)

This is mainly for LG L7 but, you can skip CPU freq setup... :D

http://xdaforums.com/showthread.php?t=3013229
[Nexus 5 Q&A, Help & Troubleshooting] VQ30DE:
Old but I think it still applies. http://m.androidcentral.com/android-101-save-battery-keeping-wifi-alive
[Nexus 5 Q&A, Help & Troubleshooting] silvertrain78:
The resources required for managing Wi-Fi on/off don't justify the savings, in my experience. Whether Wi-Fi is controlled by a quick settings toggle or Tasker, the difference in battery isn't apparent to me, so I never turn it off. Keeps it simple
[Nexus 5 Q&A, Help & Troubleshooting] ehud83:
Well, no offense, but I don't think people realize what they read.

I want to ask you something: If you leave your room at night, would you turn off the light or leave it on (and pay more for electricity)..?

If you know you don't have wifi in the street, why to leave it on? Why to drain battery percentage for nothing..?

That's one of the things I programmed my phone to do automatically, instead of thinking about it and perfroming those action by my self.

Today I left my home with 18%, charged it on my ride, and arrived back home with 96%. I let programing do its job according to

MY needs

, and not my

PHONE needs
[Nexus 5 Q&A, Help & Troubleshooting] :
I will never believe in "battery saver" apps. What's described above is no different than Juice Defender mostly. And it's been proven to eat more battery than it saves.... Except for possibly extremely light users who don't use their device very much.

If a moderate to heavy user can show this battery life increase with actual meaningful screen shots....I'd be surprised. But I've never seen that yet since I've been on XDA. ;)

My 2 cents. But to each their own. If you wanna use one, feel free. :good:

This is why they are not in this, or most other battery threads.
[Nexus 5 Q&A, Help & Troubleshooting] Paget96:
I didn't use any app for battery saving, just scripts, no ram usage, no cpu usage, and help much more than app :)
[Nexus 5 Q&A, Help & Troubleshooting] VQ30DE:
And let me ask you something: if you were in and out of your room all night and the process to switch the lights off and on used, say, the same energy as 30 mins of lights on, then you'd use more power by flipping them off and on so many times. This seems to be the situation with Android wifi.

This is just an analogy; I do turn off lights when I leave a room IRL!
[Nexus 5 Q&A, Help & Troubleshooting] ehud83:
I agree with you that the application consumes CPU=> may drain battery percentage, and I also think it's negligible (I work with controllers and CPUs), and also think that the analogy you've done is wrong (automation controllers usually consume less than electrical devices on StandBy).

The bottom line is that I looked for a way to decrease battery percentage during 1 day while I'm:

1. On my way to work, using gps and bt for navigation

2. At work, using network data, wifi, getting cellular calls, emails and etc.

3. On my way back home, including unplanned stops on the way

and I couldn't find even one "Battery Saver" application that done its job while using 5.1.1. So, in my opinion, the new method is perfect

FOR ME

and usually, when I don't have time to use my phone, battery's percentage decrease by 1%/45-60mins, so yes, I do recommend desperate users to try it.

That's way I wrote at the original message's header the exact sentence I wrote there.

Good night!

Ehud
[Nexus 5 Q&A, Help & Troubleshooting] :
Can we please move the above discussion to here,

http://xdaforums.com/showthread.php?t=2509132

Or create a new thread on that app.

This is a troubleshooting thread.

No more please. Thanks!
[Nexus 5 Q&A, Help & Troubleshooting] Anderson2:
I hope this is not off topic.

Why does the nexus 5 battery recharge so much faster than the nexus 7 battery?

Is the nexus 5 battery of smaller capacity, or the charger better, or something else?

Thanks
[Nexus 5 Q&A, Help & Troubleshooting] :
N7 battery is bigger. Not sure about how much current each device will accept either, but size alone explains some of it. :)
[Nexus 5 Q&A, Help & Troubleshooting] Paget96:
Also that depend on devices kernel (slower and faster charge) I'm not kernel developer, but I know that this is changable.
[Nexus 5 Q&A, Help & Troubleshooting] :
I had both, and both near stock... Definitely the N7 took longer. But you're absolutely right. There's fast charge too. :)
[Nexus 5 Q&A, Help & Troubleshooting] Paget96:
Yup :D this only work when charging on USB with PC. :D
[Nexus 5 Q&A, Help & Troubleshooting] PIRATA!:
Hi there!

Are the things listed in OP still good for Lollipop?

Tnx.
[Nexus 5 Q&A, Help & Troubleshooting] :
I don't see why not. Nothing is really device or version specific. If anything needs to be adjusted, let me know. ;)
[Nexus 5 Q&A, Help & Troubleshooting] Lawk:
Just bought a used n5 today, the battery life is abysmal it went from 75% to 45% in 1 hour with using it maybe 5 minutes. No apps running. I am installing this GSam and will unplug the phone when at 100% and let it drain over night to get some statistics. But seems very odd. Should I buy a new battery I the statistics don't show a culprit?
[Nexus 5 Q&A, Help & Troubleshooting] :
I wouldn't do anything until you check out wakelocks in gsam.
[Nexus 5 Q&A, Help & Troubleshooting] :
RIP my battery.

Just 6 months of use, and my battery is a crap right now. 1 hour with 4G with no heavy use drains 60-70 of my battery. The 30 mins of sot is the wi-fi. Here is the GSam Screenshots, if need the BetterBatteryStats, i'll put.

Cataclysm + Stock Kernel

5.1.1 Lollipop.

Here it is:

http://imgur.com/ciJ5FxW&WxAgulC&4hnHAIs&WPrDAQG&iqGZz1B&jEPUHEv&q8dDiCh&IOmtSYP&8RcYsQ8&liXDPK3#0
[Nexus 5 Q&A, Help & Troubleshooting] Lawk:
I barely used it all day, download an app, check some websites, a few whatsapp messages. Maybe a little over 30 mins of using. It is already down very low. Just idling.

Any suggestions? the htc desire 816 I had I would mostly have 70% left at the end of the day with this light usage pattern.

I flashed CM12.1 yesterday from stock but no difference same thing.
[Nexus 5 Q&A, Help & Troubleshooting] Bxilal:
Massavie Battery Problem

http://xdaforums.com/google-nexus-5/help/massive-b

Hello everyone I put my problem here, and that guy advice me to ask you guys here, so please help me if you know what is my problem.

Some screenshots
[Nexus 5 Q&A, Help & Troubleshooting] Anderson2:
I've suddenly developed a battery problem. My battery used to only lose about 5% during the night while it is in sleep mode. For the last few days it shoots from 95% to 38% by morning, 6-7hrs later. Don't know why.

Phone is a rooted nexus 5 running stock 4.4.4 and xposed framework. Here are some screenshots. Any advice appreciated.
[Nexus 5 Q&A, Help & Troubleshooting] :
Were you connected to Wi-Fi? If not, weak signal is the obvious culprit.

You have over 5 hours held awake time... You need to check and/or Post your times waking device and held awake time screens. That's extremely high awake time.

Check out Post 3 perhaps. And turn of location services for a couple days to see if there's a difference. Even try airplane mode, or at least data and Wi-Fi off over night. See how that goes.
[Nexus 5 Q&A, Help & Troubleshooting] :
Same thing... Was Wi-Fi actually connected all the time? Otherwise bad signal could be it. Fit is a battery drainer... And you have a bunch of social apps. Try things from post 2. Do most suggestions a couple days. :good:
[Nexus 5 Q&A, Help & Troubleshooting] Anderson2:
My battery problems persist and I can't figure it out. Battery which used to drain 4-5% when asleep during night now drops from 97% to 40% from midnight to 7:30am.

Nexus 5, stock 4.4.4 ,xposed with xprivacy and gravitybox. Greenify. Location has always been off. I don't sync. Never have. Wifi on during sleep is "only on when plugged in". No change when off during sleep. Same wifi at home I've had for years.

I'm starting to wonder if the battery has suddenly gone bad or there's a problem app installed.
[Nexus 5 Q&A, Help & Troubleshooting] :
It is definitely your signal. That combined with apps that want access to data are destroying your battery. Social apps especially. If location is on and set to anything other than device only, that's adding to your problem.

But, you need to find the screen shots from gsam for me... Held awake time and times waking device. You are rooted hopefully? You need to install gsam root companion to see those stats. Over 6 hours your device was held awake. That's brutal.

So no, it's not a bad battery. It's signal and wakelocks.

Airplane mode one night should prove the signal issue. :good:

Edit: and turning Wi-Fi off when screen off is not a good plan. I'd keep it on constantly... But turn off always scan for Wi-Fi option.

Again, check those screens I mentioned... But try airplane mode one night. That should show you it's signal related. If there's still 6 hours of wakelocks... Apps are causing the drain also.
[Nexus 5 Q&A, Help & Troubleshooting] Anderson2:
Thanks for replying. I am rooted.

I discovered that I already have GSam root Companion installed. But I'm not sure how to get the screens you request.

"Held awake time and times waking device"

When I click on the wakelock line in GSam no other screen opens up.

I switched wifi to be on when asleep as you recommended. (see screenshot) I don't see where I control wifi scanning.

Something happened 2 hours ago that never happened before and might be a clue. When I pressed the power button to get the phone out of sleep I got a popup that said new smicard detectef. Please reboot. I had not changed any smicards. I rebooted. I had a phone data signal before rebooting and after.

Thank you so much for helping.
[Nexus 5 Q&A, Help & Troubleshooting] arlenwoot:
Third option in your screenshot but you already have it disabled which is good.
[Nexus 5 Q&A, Help & Troubleshooting] dplcj:
The last couple of weeks my Battery is really dying quickly. Seems like no more than 5 to 6 hours max on a charge and the last 40% goes really fast. I would really appreciate some help figuring out whats going on. Unrooted, Stock Nexus 5 on android 5.1.1.

Here are some screen shots. Sorry but on Lollipop, Gsam can't give Wake Lock information without being rooted.

Thanks for the help!
[Nexus 5 Q&A, Help & Troubleshooting] :
Your phone is awake nearly half the time. Yes, without root, most apps won't show wakelocks.

I'd either root to see what's keeping you awake, or try Wakelock Detectors PC version...it doesn't need root.

And again, were you actually connected to a Wi-Fi network? Cause your signal is terrible. If you weren't on a network... Your battery would drop quick.
[Nexus 5 Q&A, Help & Troubleshooting] dplcj:
Thanks for the reply,

I was on WiFi for all expect maybe 30 to 45 minutes while I was driving to work. Yes work has bad Sprint reception but that is not a new problem.

Is this the Wakelock Detector your talking about?

http://xdaforums.com/showthread.php?t=2179651

I assume I just run it after a full drain on my battery again and it extracts the data?
[Nexus 5 Q&A, Help & Troubleshooting] :
That's the app. I've never used the PC version... But I imagine that is exactly what to do. :highfive:
[Nexus 5 Q&A, Help & Troubleshooting] dplcj:
Here is the screen shot of Wake Lock detector. (only waited for it to drain down to about 60%) Looks like something with Bluetooth. Any suggestions on how to find which app is causing it?
[Nexus 5 Q&A, Help & Troubleshooting] arlenwoot:
Have anything connected over bluetooth? Make sure its turned off in settings. A google search shows some having this issue with their pebble watch connected, others with bluetooth just on and it draining. AOSP bug or something.
[Nexus 5 Q&A, Help & Troubleshooting] dplcj:
Only the car when I drive. In the screen shot above only for 30 minutes. But I do leave it on all the time.

I will try turning it of when I don't need it and ssee whathappens.
[Nexus 5 Q&A, Help & Troubleshooting] bekasulaberidze:
Guys my nexus charges very very slow and drains extremely fast, I'm new user had Note 4... ease help me, any suggestions ?
[Nexus 5 Q&A, Help & Troubleshooting] bekasulaberidze:
is this fake charger ? 230 mA ? :/
[Nexus 5 Q&A, Help & Troubleshooting] Anderson2:
OK. Last night I turned on airplane mode as you suggested and the battery loss was only 3%. So you are absolutely correct, my overnight battery loss of about 60% is due to weak signal (but it isn't: see attached screenshot). Based on the screenshots I previously posted, you mentioned weak wifi and wakelocks as the probable causes but as you can see in the attached image, I have excellent wifi signal (but poor data signal).

So my question now is "how" do I determine what is causing the wakelocks and battery loss? I am rooted and have GSam, GSam root Companion, and Wakelock Detector installed. Although GSam shows me the % Wakelock it doesn't tell me what is causing them. This overnight battery loss only started happening in the past 10 days or so. So I suspect some newly installed app or setting change, but which one? Before that I used to only lose about 3-4% overnight.

What specific screenshots do you need to help figure this out?

Thanks again for your help.
[Nexus 5 Q&A, Help & Troubleshooting] :
Definitely try another charger, and cable also. That would be the first and simplest thing to try.
[Nexus 5 Q&A, Help & Troubleshooting] :
Normally connecting to Wi-Fi eliminates the weak data signal issue. So are you getting this drain even connected to Wi-Fi over night? Or is the drain while on data?

If it's on Wi-Fi and you are getting this drain... It must be an app. Or, you have the Wi-Fi bug that happens with some routers... Other devices spam ping your phone and causes kernel wakelocks normally.

Well, in gsam, in app section... Click the drop-down at the top. Check in the morning, after charging fully right before bed. Times waking device and held awake time... And possibly kernel wakelocks should tell the tale.

:good:

Edit: always screen shot main gsam screen too... It's a good overall look. The graph from the stock battery section in phone settings is helpful also.
[Nexus 5 Q&A, Help & Troubleshooting] Anderson2:
Will do and post tomorrow morning.

Thank you. I really appreciate your help.
[Nexus 5 Q&A, Help & Troubleshooting] bekasulaberidze:
Can I use iPhone charger ?
[Nexus 5 Q&A, Help & Troubleshooting] bblzd:
I believe they will be limited to 500mA when used with an Android device.
[Nexus 5 Q&A, Help & Troubleshooting] Anderson2:
To summarize

When I turned airplane on during the night my battery loss during the night dropped only 3% (like it used to 10 days ago)

Yesterday, I fully charged and at midnight let the phone go to sleep. This morning, battery loss was better than it has been over the last 10 days. I only lost 20+%. Much better than the 60+% of previous nights, but not the 3-4% it used to be. I did nothing different that I know of. Cpu tuner is not enabled.

Here are the charts from GSam and wakelock detector. There are still wakelocks but I don't know what is causing them. Maybe you can decipher them better than me.

Again, thanks for your support.
[Nexus 5 Q&A, Help & Troubleshooting] :
Wakelock detector isn't showing 2 hours of wakelocks, like the gsam main screen shows. Can you please try the gsam times waking device and held awake time screens? Perhaps they show more. Kernel wakelocks screen too. :good:

Whatever is keeping you awake is still a mystery.