yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Q&A, Help & Troubleshooting] KodRoute:
I think I just found out what's triggering Play Services. Take a look at these screenshots. I have no idea how to fix this. Ty
[Nexus 5 Q&A, Help & Troubleshooting] :
Here's a thread on it from N4 section,

http://xdaforums.com/nexus-4/help/google-services-wakelock-t2436880

One plus one section,

http://xdaforums.com/oneplus-one/general/guide-google-play-services-battery-t2832525

Solutions will apply to N5 too. Obviously don't use any files made for those devices tho.

I'm sure there's N5 threads on this, but I'm working and those are the first 2 I found.

Post 3 should cover most of this tho.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Don't worry about the kernel ones, they're normal unless they're active the entire time.

Post 3 should help with your Play Services wakelocks, and yeah location will always be a battery drain.
[Nexus 5 Q&A, Help & Troubleshooting] vasanthmes:
Battery sudden drop and sudden rise seen in my mobile..installed GSam battery monitor ...can anyone able to find the solution? I can post screenshots if u want.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Battery stats is purely estimation. If it sometimes goes up/down by itself it's just a recalculation. No big deal and fairly normal unless your battery dies in 5 seconds lol (in which case you have a defective battery).

---------- Post added at 20:19 ---------- Previous post was at 20:12 ----------

Somehow skipped over this and didn't see it, but yeah as [MENTION=4036181]Darth[/MENTION] said, the third post is mine :p

You know it's possible to get weather in Google Now without location? In "Customize", then "Places", if you add a home/work location, then it's possible to get a card asking "Interested in weather updates for home?" (and the same for work), which will work with location turned off, but won't change it automatically if you travel a lot. If you only care for home/work weather and don't travel then this will save battery.

I use Google Now with location off. Google Now itself does NOT drain battery. The location services do. As far as I know, the only thing you lose is the navigation card or a live-location weather card.
[Nexus 5 Q&A, Help & Troubleshooting] KodRoute:
Flashing clean firmware solved the issue :). I also disabled some of Play Services as stated in third post. Since then I was getting a notification from Play Music: "The gadget doesn't accept services."
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
You disabled something it uses, then. If the app works properly then I'd just ignore it, otherwise find out which service it keeps trying to find.
[Nexus 5 Q&A, Help & Troubleshooting] vasanthmes:
What's the media server ? This thing dominates up to 40% :(

+ kernel !!!! :(
[Nexus 5 Q&A, Help & Troubleshooting] smeejaytee:
There is a innitd script for that called media kill search for it, it might help.
[Nexus 5 Q&A, Help & Troubleshooting] KodRoute:
Yep the app works correctly. By the way, what's 'CheckinService' and is it important? When I go to wakelock detector Google Services still drains a little bit of battery - when I select that option there's a list with some wakelocks, for example, at the moment I'm having the following wakelocks:

- Checkin Handoff ~ 1h 25 min.

- Event log Handoff ~ 4 min 50 s.

- SystemUpdateService ~ 4 min 50 s.

I basically unticked anything with 'CheckinService', 'systemUpdateService' and 'EventlogService' in Android Tuner, both at providers and receivers section and it seems like it's keeping my device awake more than having them ticked.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
For some services disabling them will cause more wakelocks because the receivers are still active. You can disable the receivers as well with an app like Autorun Manager on the Play Store.
[Nexus 5 Q&A, Help & Troubleshooting] Bei60:
Stock 5.0.1

Franco r70 all stock

All but whatsapp and reddit are greenified

Sync off

Gps off.

Auto brightness.

Cant say much about phone signal, its great usually.

All screenshots are added. Sorry for not having a full BBS report but I hope thats okay.

Thanks!
[Nexus 5 Q&A, Help & Troubleshooting] Wh1t3Rose:
I haven't had to disable anything since Lollipop came out. I don't get it lol. Just lucky I guess.
[Nexus 5 Q&A, Help & Troubleshooting] brumgav:
Hi, I have LG G2 and hope someone can provide some help/explanation. Battery is pretty good for me at moment on a 5.0.2 ROM using Greenify on Candy Crush and Facebook. In the Lollipop settings I've blocked Facebook from waking the device as well as some other social apps.

My question really is around Miscellaneous battery drain as I'm still getting some, just wondered if there should be zero misc battery drain? Any ideas?

Thanks for any help
[Nexus 5 Q&A, Help & Troubleshooting] :
Nothing at all seems out of place. Miscellaneous is a new Lollipop thing. But yours is low. And in gsam everything looks ideal.

I see no issues at all. ?
[Nexus 5 Q&A, Help & Troubleshooting] brumgav:
On the second screenshot which is the GSam graph for 'Others' there are lots of short blips on the row for 'Active' even whilst the screen is off however there are very few occurrences of the device being woken when I check the wakelocks in both GSam and Wakelock Detector, I've attached another view of this graph for this morning showing it again but more zoomed in. Does that look normal for 'active' to show every 3-4 minutes and is this the same as awake?
[Nexus 5 Q&A, Help & Troubleshooting] MrObvious:
You may have a lot of wakelocks preventing it from deep sleep.

Also, Darth and Lethargy, one thing that I think really helps is browsing the web with some kind of ad blocking software in place. I notice when I don't run it my browser takes the most battery because the ads suck up CPU.
[Nexus 5 Q&A, Help & Troubleshooting] :
If we can confirm there is a difference, it would be a great tip for post 2. ?
[Nexus 5 Q&A, Help & Troubleshooting] mousefai0922:
hi folks

I'm using nexus 5, fransco kernel, stock ROM, kitkat 4.4.4 I noticed my battery is not as my ezpextation. I saw comment online and people say they can have 3 hours of sot and 1 days of standby time. but my phone is near dead only at 6 hours standby with 1.5 hours sot.

Anything weong with my phone?

I have upload some of my screenshots time to time as I used my phone.
[Nexus 5 Q&A, Help & Troubleshooting] :
Post 2 has all the general tips. What was your screen brightness?

Using Gsam and Gsam root companion and posting shots from post 4 would be more helpful for us to see if there's issues. ?
[Nexus 5 Q&A, Help & Troubleshooting] mousefai0922:
I set my brightness to minimum, should be around 15%

Sorry friend, I was just new here and I just visited your thread. I just installed GSM but need time to get the detail screenshots. I will post it once the battery drain the whole day.

But can u see some glue base on those shots i uploaded?
[Nexus 5 Q&A, Help & Troubleshooting] :
Nothing jumped out in those screen shots. Maybe Gsam will show something. Just be sure to go from 100 to about 10 or 15 percent left... No reboots during, or gsam will reset.

?
[Nexus 5 Q&A, Help & Troubleshooting] mousefai0922:
sure, i post it up asap

btw, what do u mean by

"App sucker screen.

(In app sucker, click the drop down for the rest...) "

and

- Times waking device means view num times waking devices right?
[Nexus 5 Q&A, Help & Troubleshooting] :
App sucker is what gsam calls the screen when you click apps from the main screen. ? in the app screen, at the top is a drop down to view different stats.

And yes, number of times waking device.
[Nexus 5 Q&A, Help & Troubleshooting] MrObvious:
Yesterday Naked Browser used ~20% of my battery in stock stats and now it's way down in the list so yes it works IMO. But yeah confirmation would be great.
[Nexus 5 Q&A, Help & Troubleshooting] :
I'll try to replicate by disabling my adaway when I can.....tbough would be best if another N5 user did. I don't have one anymore. ?
[Nexus 5 Q&A, Help & Troubleshooting] nednednerb:
Awesome! 15% battery life remaining. I've been waiting my while life 4 di$$ pnt.

Please click thanks!

---------- Post added at 11:35 AM ---------- Previous post was at 11:35 AM ----------

I got not screejcap for prrof

Have to search thread!z! XD
[Nexus 5 Q&A, Help & Troubleshooting] :
I didn't understand most of that. Lol
[Nexus 5 Q&A, Help & Troubleshooting] nednednerb:
Yes oktxda

---------- Post added at 11:41 AM ---------- Previous post was at 11:40 AM ----------

I can not thanks myself enough excuse me mr bug report
[Nexus 5 Q&A, Help & Troubleshooting] brumgav:
I am pretty certain the short blips I see on the graph for 'Active' every few minutes are related to the phone being held awake by 'Kernel (Android OS)' is this normal

Would you say that's normal [MENTION=4036181]Darth[/MENTION]
[Nexus 5 Q&A, Help & Troubleshooting] brumgav:
[MENTION=4036181]Darth[/MENTION]

I think I've found the culprit using BBS. It seems that

com.android.server.wifimanager.action.START_SCAN

is causing lots of alarms, about 1.3 a minute, regardless of if Wi-Fi is switched on or off

Any ideas?
[Nexus 5 Q&A, Help & Troubleshooting] mousefai0922:
soome quick questions:

-do u want those charts screenshot(temp, phone signal, rate of change......)?

-does the gsam app still work in the battery if i greenify it?
[Nexus 5 Q&A, Help & Troubleshooting] :
Turn off "always scan for wifi" in WiFi advance settings. Also, I don't agree with turning WiFi off when screen is off either.... Won't save much, or any battery life... But could increase battery consumption turning WiFi on every time the screen is turned on. But that's my opinion anyway. ?
[Nexus 5 Q&A, Help & Troubleshooting] :
The stock battery chart is good. Gsam for the rest....

And if you greenify Gsam, if it will let itself hibernate, will cause it to stop collecting stats. ?
[Nexus 5 Q&A, Help & Troubleshooting] mousefai0922:
dear [MENTION=4036181]Darth[/MENTION]

here is some pix from gsam:

pls note: batter was fully charged and unplugged at 12:05am, 94% at 7am i kept using the phone on light use and 4% at 7pm.

also, for some reasons, the battery today seem to be improved. im able to get like near 2 hour of sot, but still not like 4 hours of sot like u guys mentioned.

near 17 hour of standby.

let me know how can i improve the battery
[Nexus 5 Q&A, Help & Troubleshooting] :
Well, nothing looks out of place really. You have a few social apps. Is location on? Your standby drain isn't too bad either.

The only thing I see really is on the chart with your signal strength. Your signal has some dips on the chart, and your worst battery drop is at the same time.

That's the only thing that sticks out, that I see.

See what your stock battery chart in settings says for signal strength and battery drop. To me, that's all I see wrong.

I would try everything in post 2 for a couple days. Everything. Also try an ad blocker, like adaway, as suggested a few posts back.

See how it is. Again, everything from post 2. At least temporarily. That will eliminate a few possible issues.

And watch the signal strength. Those social apps will cause huge drain with a weak signal while using data.

That's all I got.
[Nexus 5 Q&A, Help & Troubleshooting] mousefai0922:
i just curious how people can get like 5 hour sot, i m not even half of that.

for the signal, it is because that i am at the elevator at that specific time, and no signal came to the whole. I remembed there was 2-3 times i was in the elevator today. However, none of those took more then 2 minutes tho. so it shouldnt cause a big concern, right?

location and location history is always OFF for me.
[Nexus 5 Q&A, Help & Troubleshooting] :
Must be your usage.... What apps you use etc.

Your device did start draining quicker ever since that big signal drop. Strange.

You could factory reset. Make sure your settings are all good and see how it is, before installing apps. Then if it's good, install 5 or so apps per day. If your battery suddenly gets worse... It's one of the few apps you installed last.

That's all I can suggest.

?
[Nexus 5 Q&A, Help & Troubleshooting] :
Or try some custom roms. ?

Not that roms affect battery life really, but you'll have a fresh start anyway.
[Nexus 5 Q&A, Help & Troubleshooting] mousefai0922:
nah, dont really want to reformat again.

beside, i like the current rom i have now
[Nexus 5 Q&A, Help & Troubleshooting] Bei60:
Stock 5.0.1

Franco r70

Greenified all but whatsapp and reddit.

Location off

Auto brughtness

Didnt have signal for a short time.

What is draining my battery?
[Nexus 5 Q&A, Help & Troubleshooting] brumgav:
Can you please repost later on when [MENTION=4036181]Darth[/MENTION] 's crystal ball is working again
[Nexus 5 Q&A, Help & Troubleshooting] :
Post 4 my friend. Read it well. ?
[Nexus 5 Q&A, Help & Troubleshooting] Bei60:
I attached all of my gsam stuff in nmy repky here a few days ago.
[Nexus 5 Q&A, Help & Troubleshooting] bblzd:
http://imgur.com/a/BC5Od

Usage, Settings and Signal determine battery life. So the apps you have installed and use, the settings you have enabled, and the type and strength of the signal being used.

Using a weaker signal data connection for instance will drain a lot of the battery, both during idle and usage. Even a strong signal data connection will usually drain considerably more than a WiFi connection.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Your lack of screenshots.

But seriously, post screenshots or nobody can help you.
[Nexus 5 Q&A, Help & Troubleshooting] Bei60:
I did: http://xdaforums.com/showthread.php?p=58457049#post58457049
[Nexus 5 Q&A, Help & Troubleshooting] mousefai0922:
[MENTION=4036181]Darth[/MENTION]

Here my battery usage shots for today.

Seem like i got worsen battery compare to yesterday. sot only last 1.5 hour

Let me know if u find out anything.

btw, what is bam_dmux_wakelock. It is on my kernel wakelock for 2 days.
[Nexus 5 Q&A, Help & Troubleshooting] marcelowuo:
Wipe data cache partition

I have cleaned the cache partition yesterday and it feels like a new phone today, both regarding battery and overheating.

Enter recovery mode by pressing Volume Down and Power simultaneously until it vibrates. Use volume buttons to select recovery mode and press power to select. then on the next menu select again with volume keys wipe cache partition and wait.

No need to backup data because nothing will be lost.

Hope it helps
[Nexus 5 Q&A, Help & Troubleshooting] :
I suggested factory reset, or fresh install of system... But you don't wanna try that. ?

Again, all your big battery drop times matched up with your signal drops. You probably have a lot of apps accessing data... And if they all have to struggle to get the info they want through your data... Battery will drop quickly.

Greenify just about everything that uses data. That would likely help a lot.

You could also try another radio maybe, if there's others compatible with your Android version.

That is all I can say about your issue. Again, nothing jumps out on your screen shots. So it's carrier or signal related... Or a couple rogue apps. ... Or possibly radio.

Try a whole day with every single app that uses data, particularly social apps, all Greenified. This will likely prove that it's a data or app issue.

Other than that, I'm sorry... Nothing else to suggest.

Oh... And how about that stock battery stat screen graph screen shot I suggested you post? Just to see what your signal bar looks like. ?
[Nexus 5 Q&A, Help & Troubleshooting] :
Sorry, above post was for [MENTION=6369115]mousefai0922[/MENTION]
[Nexus 5 Q&A, Help & Troubleshooting] kamajikaciya:
I recommend you to install last Google Play Services apk (6.6.0.3) and use last Chrome (not beta) apk (40.0.2214.89) as your default browser. It makes a dramatic change (positively of course) for me in 2 days. Now screen battery drain is always on top with a big difference and my Nexus 5 sleeps well. I just lost %23 battery with 1h 15m of SOT and 13h of standby.
[Nexus 5 Q&A, Help & Troubleshooting] exhibit1234:
I just noticed that the apps list is missing here on my battery stats. I greenified GSam a couple of times today.
[Nexus 5 Q&A, Help & Troubleshooting] :
Never seen that before. Does it show after a reboot?

Does Gsam show anything?

And greenifying Gsam defeats it's purpose so you know. But if would not cause that issue. Should leave it. It won't hurt your battery life... And can be invaluable in tracking down issues. ?
[Nexus 5 Q&A, Help & Troubleshooting] exhibit1234:
Unfortunately it didn't show up after I restarted the phone. GSam seems to be working. I just didn't see any need to have GSam running all the time since I don't use it much. I also gave root access to greenify today..
[Nexus 5 Q&A, Help & Troubleshooting] :
Without gsam running all the time, you won't be able to utilize it's stats when you need it. Trust me , it will have zero effect on your battery life.

Greenifying apps should only be apps that cause issues, or are known battery/resource hogs. Greenifying to many things will likely defeat the purpose and cost you more battery life.

As far as no apps showing in your stock battery stat screen... Maybe you froze or uninstalled a system app you shouldn't have? That would be my first guess.

Check that out. Also, maybe wiping the cache could help in your recovery. Or factory reset... But that seems too extreme. I'd do the following before that....

Worst case... Flash your rom again, no wiping anything.... Or flash your system. img with fastboot if you're on stock. Again, no wiping anything.
[Nexus 5 Q&A, Help & Troubleshooting] exhibit1234:
It must be something to do with giving root permission to greenify and then degreenify/greenifying GSam. That's when I noticed the apps on the stock battery stat screen disappeared. Also I tried uninstalling GSam and noticed GSam root companion doesn't have an uninstall option.
[Nexus 5 Q&A, Help & Troubleshooting] :
I've not heard of this issue personally. Gsam shouldn't affect the stock stat app in anyway.

Strange. ?
[Nexus 5 Q&A, Help & Troubleshooting] mousefai0922:
Hi, my google play service is 6.5.99 now. But how do i manually update google play service?

for chome, i m on the same version u mentioned.
[Nexus 5 Q&A, Help & Troubleshooting] exhibit1234:
I'm not very familiar with flashing system.img. I have root now with stock 4.4.4. I know there is a thread on how to reflash back to stock.
[Nexus 5 Q&A, Help & Troubleshooting] :
Method 2 here..... But only flashing system.img. That's it, nothing more.

http://xdaforums.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701

The same stock 4.4.4 version of course. ?
[Nexus 5 Q&A, Help & Troubleshooting] exhibit1234:
Thanks. That's what I was looking at. I'll probably just leave it alone and try having no battery stats for awhile :) . Seems okay so far.
[Nexus 5 Q&A, Help & Troubleshooting] porman:
Question: How much in genereal, of the battery would be consumed doing light browsing, percent per minute. Screen setting is fairly low, not rooted, running Lollipop 5.0.1

I'm beginning to suspect that my battery is getting a bit weak so I ordered a new one. I have had my Nexus since December 2013.

I will post screenshots later tonight of my usage as well.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
"Percent per minute" is hardly accurate and doesn't tell you anything since it would depend on the CPU states during that minute.
[Nexus 5 Q&A, Help & Troubleshooting] kamajikaciya:
You can download from apkmirror and install.
[Nexus 5 Q&A, Help & Troubleshooting] mafsi:
Gionee P3/KK 4.4.2/513 MB ram/Quad Core 1,3 Mhz

Hi,

Thanks a lot for this topic. I took some of your advises in disabling services + others and i managed to have a decent battery in idle time. (See my BBS log).

My problem is that when I'm using actively the phone battery drops like a rock (loosing 10-15%/h) . I usually browse net, tapatalk, Telegram, and some time FB lite.

My screen is always 3,5 h on for the period of 22-23 h, my phone calls /day goes somewhere to 2,5-3h. Battery is 1700 Mha and I'm running on dual sim.

Except reducing frequency to my CPU (sometimes reducing it consumes more power from battery) is any trick to prolong battery?

Thanks in advanced!

Screen ON

Battery stats
[Nexus 5 Q&A, Help & Troubleshooting] mousefai0922:
if is official, why cant the nexus auto update on the play store?

just worry something went wrong if i install from other location, esp essential apps like play service.

let me knkow.
[Nexus 5 Q&A, Help & Troubleshooting] kamajikaciya:
Dunno why. But I say that apkmirror is one of a trusted sites.
[Nexus 5 Q&A, Help & Troubleshooting] :
What device are you using? 1700Mha battery and your times seems pretty good to me.

Plus, those screen shots seem OK too.... But Gsam shots as recommended in post 4 would tell a better tale. ?
[Nexus 5 Q&A, Help & Troubleshooting] mousefai0922:
sorry if i let u donw.

if is other non major/system related apps, then i will go download for sure.

but for play service, just worry something may creash after installing.

but how well did ur battery improved after installing it?
[Nexus 5 Q&A, Help & Troubleshooting] mafsi:
I'm using Gionee Pioneer 3 (aka Allview A5 Quad in my country) and i combined your advices with this one . I/m also using Amplify. The only thing i didt follow you is to disabe PeopleSync cause my contacts are in Google Mail not on my phone or SIM. I also have location services enabled but Location is OFF. I open it when i use Maps (greenified) to orient on the city.
[Nexus 5 Q&A, Help & Troubleshooting] :
Well, I'm not familiar with your device or its average battery times... But for the size of your battery, your setup, your screen shots and the times your getting.... Sounds to me like your doing OK.
[Nexus 5 Q&A, Help & Troubleshooting] kamajikaciya:
2h 15m SOT and 1d 6h standby time. Still have %51 battery left. It's a big difference for me. On the other hand I never had such battery stats:

Android OS was always on top or same percentage with screen.

I shall say that I'm using full stock Android and kernel. Not any custom ROM or kernel.
[Nexus 5 Q&A, Help & Troubleshooting] :
You could ask about others battery life here maybe,

http://xdaforums.com/showthread.php?t=2606113
[Nexus 5 Q&A, Help & Troubleshooting] mousefai0922:
damn, that was impressive.

um.... let me think about it first. installing the play services on non play store.
[Nexus 5 Q&A, Help & Troubleshooting] kamajikaciya:
http://www.androidpolice.com/2014/11/19/meet-apk-mirror/

Take a look at this.
[Nexus 5 Q&A, Help & Troubleshooting] mousefai0922:
but then i noticed there is a couple version for the new google play services.

which one should in install?
[Nexus 5 Q&A, Help & Troubleshooting] kamajikaciya:
Look your installed version's last 3 digit. You'll install that version.

"To figure out the right version of Google Play Services for your Android device, go to Settings -> Apps -> Google Play services, and look at the last 3 numbers in the parentheses. You'll see something like -XYY where X is 0 for pre-Lollipop and both 4 and 7 for Lollipop+, and YY is a specific variant id. -738 means you need the APK that has -738, etc.

Note: It seems that -7xx builds became -4xx with Google Play Services 6.5. If you were on -7xx before, you should now install -4xx."

From apkmirror. ;)
[Nexus 5 Q&A, Help & Troubleshooting] mousefai0922:
the last digit for my play service is -038, should i install this one?

http://www.apkmirror.com/apk/google.../google-play-services-6-6-03-1681564-038-apk/
[Nexus 5 Q&A, Help & Troubleshooting] mafsi:
Nothing much to do, right? It seems that android system is eating battery across day
[Nexus 5 Q&A, Help & Troubleshooting] :
Nah, with a few things enabled... What you have is normal. It only kept you awake minutes.

Again, as far as I see, you're good. See what others with your device are getting... For a rough guess at the norm.