Something is killing my battery - please advice - Nexus 5 Q&A, Help & Troubleshooting

Hi guys,
since a few weeks it's the same sh*t with every Omni-Nightly and franco.Kernel.
Everything is working fine for 1-2 day.
But then the cpu usage increases (i don't see any reason) and won't go back to idle again.
I tried several cpu monitor apps but none is showing me which app is causing this issue.
Please help.
And please don't blame facebook.
My cpu behaves the same way even no facebook app is installed.
If you need further information please tell me.
Thanks a lot for your help!

go to the main phone settings, location, now press google location reporting.. turn off location reporting and location history. your location will still work without these. no go back to the location option, and turn the mode to battery saving.

simms22 said:
go to the main phone settings, location, now press google location reporting.. turn off location reporting and location history. your location will still work without these. no go back to the location option, and turn the mode to battery saving.
Click to expand...
Click to collapse
i've got this issue since 1 or 2 weeks.
i can say for sure that it's not any location services fault.

leAndroid91 said:
i've got this issue since 1 or 2 weeks.
i can say for sure that it's not any location services fault.
Click to expand...
Click to collapse
i see google play services showed up on your battery stats. normally, you wont even see it there, but you are at 71% and so far its taking 6%. its not the location services per se, they work fine with those options disabled. but it is a well known battery drainer.

simms22 said:
i see google play services showed up on your battery stats. normally, you wont even see it there, but you are at 71% and so far its taking 6%. its not the location services per se, they work fine with those options disabled. but it is a well known battery drainer.
Click to expand...
Click to collapse
you're right that those services are draining the battery, but in an acceptable way.
when i don't have the isse with the increased cpu usage i've 4-5 hours sot @ 12 hours overall uptime.
so i guess in general everything is working fine on my device.
but i don't know what and why is causing the high cpu usage :crying:

I'm no good at understanding BBS stats, but what is daemonsu?
There seems to be something keeping your phone awake and attributing its drain to "Android OS" which could be many things, including Widgets.
Sent from my Nexus 5 using Tapatalk

I could help, but prefer gsam screenshots. Unfamiliar with BBS.
Also, for starters....and please trust me here...just turn location services completely off for one charge cycle and see what happens. Also, Google settings app....go into android device manager and uncheck both options.
See how your full charge goes like that. If its still bad...its an app doing the damage, or a very weak signal.
Try it, and it will narrow down the problem. ?
Sent from my N5, N7, Moto X, G Tab 3 or S2.....

Option 1. go back to 100% stock Rom see if it behaves the same
option 2. hard reset your phone and check battery usage with no apps installed
option 3. put your phone on airplane mode and see if battery still drains the same way using wifi. Usually if I have bad reception my battery will drain like crazy. My personal experience using my Nexus 5 I can't tell how much my battery is going to last day by day sometimes I get over 12hrs other days I'm lucky if I get 8hrs.

Related

[Q] battery drain in standby, and Google play service problem

so I decided to charge my phone fully then leave it alone for 12 hours to see the standby drain, and This morning when I took a look and I was pretty disappointed. I attached pics, but as you can see, 12 hours of standby and 30 percent of my battery is gone. wtf? another time I did this a week ago with only 8 hours of standby, it drained 20 percent, which if scaled to 12 hours will become 30 percent. Why is the drain so high? Google play services is at the top of the list, and even with normal use it takes about 10 plus percent of my battery. my friends nexus 4, with basically the same apps I have (fb, messenger, Chrome, snapchat, bbm, etc) only had 10 percent after 12 hours. both our phones have the battery saving location enabled, radios on, but the only difference is that he wasn't connected to WiFi and I was. any suggestions? And yes I've looked around on the Internet at other people having the same problem and I still haven't found a fix
Lol sorry I forgot to add the pics in the first post
It's the WiFi. I had the really bad battery drain issue while connected to WiFi after the 4.4.2 update. I lost about 30% of charge after 4ish hours while connected. Currently I'm at 92% after 3 hours.
Try disconnecting from WiFi and redoing your test!
spitefulcheerio said:
It's the WiFi. I had the really bad battery drain issue while connected to WiFi after the 4.4.2 update. I lost about 30% of charge after 4ish hours while connected. Currently I'm at 92% after 3 hours.
Try disconnecting from WiFi and redoing your test!
Click to expand...
Click to collapse
oh wow, that might be my problem then. thanks a lot, I'll redo the test and see what happens, thanks
I haven't used WiFi at all today, my phone had been unplugged since 6 am and at 1pm today it's down to 57 percent. I have hardly used my phone today and the play services are killing it.
I think WiFi was my issue actually, I have kept it off all day and after 2.5ish hours I'm down to 72 percent battery, with an hour of screen on and using Google search quite a bit. the screenshot has screen and Google search at the top, Google play services hasn't been up in double digits at all
NuckFuggets said:
I think WiFi was my issue actually, I have kept it off all day and after 2.5ish hours I'm down to 72 percent battery, with an hour of screen on and using Google search quite a bit. the screenshot has screen and Google search at the top, Google play services hasn't been up in double digits at all
Click to expand...
Click to collapse
On your first screenshot Google play services consumed 34% out of 30% of your total battery loss, which is approx. 10% of your full charge. Within 12 hours this would be a 0.85% battery drain per hour because of gp services.
I did the math again for the second screenshot and Googe Play services consumed 0.7% per hour.
Doesn't feel like a big difference for me. If the time was actually less than 2.5 hours the drain could be equal.
George_Mn said:
On your first screenshot Google play services consumed 34% out of 30% of your total battery loss, which is approx. 10% of your full charge. Within 12 hours this would be a 0.85% battery drain per hour because of gp services.
I did the math again for the second screenshot and Googe Play services consumed 0.7% per hour.
Doesn't feel like a big difference for me. If the time was actually less than 2.5 hours the drain could be equal.
Click to expand...
Click to collapse
oh, well this is disappointing. that's so stupid, what is Google play services even for? and why does it have like an hour of keep awake time??
NuckFuggets said:
oh, well this is disappointing. that's so stupid, what is Google play services even for? and why does it have like an hour of keep awake time??
Click to expand...
Click to collapse
Go to Settings->Location->Google Location Reporting and set both to Off => no more battery drain
George_Mn said:
Go to Settings->Location->Google Location Reporting and set both to Off => no more battery drain
Click to expand...
Click to collapse
but then won't Google now not work anymore?
NuckFuggets said:
but then won't Google now not work anymore?
Click to expand...
Click to collapse
Google Now will still function. It just will not show cards based on location. Also when you disable or semi disable location sometimes Search start's keeping you're phone awake trying to find some location information. If this happens just force stop Google search or reboot the phone.
bblzd said:
Google Now will still function. It just will not show cards based on location. Also when you disable or semi disable location sometimes Search start's keeping you're phone awake trying to find some location information. If this happens just force stop Google search or reboot the phone.
Click to expand...
Click to collapse
oh ok, so like the weather card won't work? what about commute time to home? I'm guessing that won't work either right?
but anyway thanks for the help!
NuckFuggets said:
oh ok, so like the weather card won't work? what about commute time to home? I'm guessing that won't work either right?
but anyway thanks for the help!
Click to expand...
Click to collapse
Weather will still work you just need to input you're location into the card settings manually. I used that for a while but it consistently wakes the phone to update it which annoyed me so I use Dashclock as it only updates when I turn the screen on.
Without Locations it will still grab information from the net about your searches, sports teams, stocks etc. It will no longer show you commutes, local picture spots etc.
I've kept Google Now on mainly so I can still set and receive reminders but don't want to tolerate any unnecessary wakes when the screen is off and have accomplished that now.
bblzd said:
Weather will still work you just need to input you're location into the card settings manually. I used that for a while but it consistently wakes the phone to update it which annoyed me so I use Dashclock as it only updates when I turn the screen on.
Without Locations it will still grab information from the net about your searches, sports teams, stocks etc. It will no longer show you commutes, local picture spots etc.
I've kept Google Now on mainly so I can still set and receive reminders but don't want to tolerate any unnecessary wakes when the screen is off and have accomplished that now.
Click to expand...
Click to collapse
oh man, Idk il have to see how that works, cuz I use Google now a lot. but I'll try it, thanks again
George_Mn said:
Go to Settings->Location->Google Location Reporting and set both to Off => no more battery drain
Click to expand...
Click to collapse
Not necessary to go that extreme.
I had the same issue as you guys after upgrading. Goto Settings->App->All
Select Google play services. Stop it. And clean data (All, including cache)
Reboot. And voila, it will consume much much less battery (Dont ask me why... Probably some conflict arising on the data file after upgrade)
On a side note, without completely disabling data location, it is worth switching to the battery friendly mode (Location will be evaluated using the network and not the GPS)
Sent from my Nexus 7 using xda app-developers app
Alcibiade said:
Not necessary to go that extreme.
I had the same issue as you guys after upgrading. Goto Settings->App->All
Select Google play services. Stop it. And clean data (All, including cache)
Reboot. And voila, it will consume much much less battery (Dont ask me why... Probably some conflict arising on the data file after upgrade)
On a side note, without completely disabling data location, it is worth switching to the battery friendly mode (Location will be evaluated using the network and not the GPS)
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
just tried that, I'll see what happens. what's this though, when I want to disable it I get this pop-up. I get it with all system apps, but the last line I've never seen before
NuckFuggets said:
just tried that, I'll see what happens. what's this though, when I want to disable it I get this pop-up. I get it with all system apps, but the last line I've never seen before
Click to expand...
Click to collapse
Dont disable it. Stop it and wipe data
Sent from my Nexus 7 using xda app-developers app
Alcibiade said:
Dont disable it. Stop it and wipe data
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
I wasn't going to disable it, I was just wondering what would happen if I did
also here are my stats from today, what is android system and android os? why are they draining so much battery? also why is Swype using so much battery?
Researched this a lot, found some solutions, bad and good fixes and after trying some different twists on it after two days this is what I found to be the best, and I decided since this is just as bad as 4.0/4.1 and the mediaserver battery drain I might as well try and help at least 1 person by mass posting this reply I wrote else where to other threads, so here you go:
"Hey- I don't know if you, or anyone else has found a working solution, but here is the way I found best:
Note- I am on galaxy s4 [sgh-i337] running a 4.4 KitKat rom. I have found the following work around to work best for me:
1 Google now & Hotword detection=OFF,
2 GPS = OFF and turned on only when needed, eg maps/checkin on facebook/whatever needs location.
3 Settings-> Manage Apps -> Google Play Services -> Manage Space -> Clear All Data.
**Optional:After this [root only] I go into KT tweaker and make sure my phone cpu is set to a max of 810 Mhz when screen off.**
This fix usually works until I reset the phone. I ALWAYS follow those 3 steps when rebooting. AND always check that after I've used GPS that Google Play Services isn't keeping my phone awake. [Eg, after 30 minutes I check if the phone ever went to sleep again when the screen was off.] IF it does act up, I repeat steps 1, 2 &3. I still get notifications and all, and this is the least feature disabling way I've found that works with the cost of a little micro-management of your phone.
With this fix I can idle for an estimated 5-6days. As I take off my phone from charge at 8am and at noon with minimal usage [maybe 4 or 5 texts] I am at 97%. With WiFi on & connected.
OTHER: I personally keep NFC&Android beam&Bluetooth OFF, and turn ON when I need it on. Other- WiFi is always ON, and "Scanning Always Available" EDIT: Now is OFF, "WiFi Optimization" is checked ON for me. And for location mode when I do have it on, I keep it at EDIT: Device only. Using only gps to find my location.
All in all, I hope this gets fixed."
I can post screen shots and all if somebody wants them or if there is need for one
-icy
icy4phone said:
Researched this a lot, found some solutions, bad and good fixes and after trying some different twists on it after two days this is what I found to be the best, and I decided since this is just as bad as 4.0/4.1 and the mediaserver battery drain I might as well try and help at least 1 person by mass posting this reply I wrote else where to other threads, so here you go:
"Hey- I don't know if you, or anyone else has found a working solution, but here is the way I found best:
Note- I am on galaxy s4 [sgh-i337] running a 4.4 KitKat rom. I have found the following work around to work best for me:
1 Google now & Hotword detection=OFF,
2 GPS = OFF and turned on only when needed, eg maps/checkin on facebook/whatever needs location.
3 Settings-> Manage Apps -> Google Play Services -> Manage Space -> Clear All Data.
**Optional:After this [root only] I go into KT tweaker and make sure my phone cpu is set to a max of 810 Mhz when screen off.**
This fix usually works until I reset the phone. I ALWAYS follow those 3 steps when rebooting. AND always check that after I've used GPS that Google Play Services isn't keeping my phone awake. [Eg, after 30 minutes I check if the phone ever went to sleep again when the screen was off.] IF it does act up, I repeat steps 1, 2 &3. I still get notifications and all, and this is the least feature disabling way I've found that works with the cost of a little micro-management of your phone.
With this fix I can idle for an estimated 5-6days. As I take off my phone from charge at 8am and at noon with minimal usage [maybe 4 or 5 texts] I am at 97%. With WiFi on & connected.
OTHER: I personally keep NFC&Android beam&Bluetooth OFF, and turn ON when I need it on. Other- WiFi is always ON, and "Scanning Always Available" & "WiFi Optimization" is checked ON for me. And for location mode when I do have it on, I keep it at EDIT: Device only. Using only gps to find my location.
All in all, I hope this gets fixed."
I can post screen shots and all if somebody wants them or if there is need for one
-icy
Click to expand...
Click to collapse
thanks! but wow i wish my battery would be that good. i actually did so,ething else, i turned off the location reporting like someone earlier said and google play services dont even show up anymore. using device only disables location reporting as well so they both should have similar improvements.

[Q] Is this considered abnormal battery drain?

I have been using my N5 for a couple of weeks and I know its battery life isn't the greatest. I have watched some youtube videos for tips on better battery life, and here's what I have done.
Turn off auto brightness, and screen brightness is about 1/4 of the way
Turn off haptic feedback
Turn off vibration on keypress
Turn off sync for most Google services
Turn off NFC
Location service set to battery saving mode
But it seems like after all that's been done, the battery is still draining pretty fast. For example, I went out for dinner and drinks with friends and my phone is just sitting in my pocket the whole time not being used, 4 hours later, I have lost 30% battery. Coming from an htc one, it doesn't drain nearly as much. Is this abnormal or just about right for the N5, thoughts?
Infiniteloop7 said:
I have been using my N5 for a couple of weeks and I know its battery life isn't the greatest. I have watched some youtube videos for tips on better battery life, and here's what I have done.
Turn off auto brightness, and screen brightness is about 1/4 of the way
Turn off haptic feedback
Turn off vibration on keypress
Turn off sync for most Google services
Turn off NFC
Location service set to battery saving mode
But it seems like after all that's been done, the battery is still draining pretty fast. For example, I went out for dinner and drinks with friends and my phone is just sitting in my pocket the whole time not being used, 4 hours later, I have lost 30% battery. Coming from an htc one, it doesn't drain nearly as much. Is this abnormal or just about right for the N5, thoughts?
Click to expand...
Click to collapse
7.5%/hr is high for standby time. You can get it down to 1-2%/hr by using more of the battery-saving tips you'll find in the various threads on the subject.
Sent from my Nexus 5
Check the wakelock with better battery stat
If you don't need GPS on all the time turn that off too saves quite a bit of battery even the battery saving mode isn't that battery friendly
Sent from my Nexus 5 using Tapatalk
Infiniteloop7 said:
But it seems like after all that's been done, the battery is still draining pretty fast. For example, I went out for dinner and drinks with friends and my phone is just sitting in my pocket the whole time not being used, 4 hours later, I have lost 30% battery. Coming from an htc one, it doesn't drain nearly as much. Is this abnormal or just about right for the N5, thoughts?
Click to expand...
Click to collapse
You really need to share your battery usage screen, and show what apps drained your battery. It is possible that you were had low signal strength, and so your phone kept trying to search for a signal and drained itself. Also, as dark_ente suggested, look at betterbatterystats results to see if you had wakelocks.
With no active use, that is very high drain - unless you were in a very low signal strength area, or had an app keeping your phone awake.
When I work from home, connected to WiFi, my phone drains about 3-4% in about 9 hours (assuming I don't actively use it. I use pushbullet to show me all notifications on my PC, so I don't have to turn my phone on at all)
Infiniteloop7 said:
Turn off auto brightness, and screen brightness is about 1/4 of the way - I do the same (actually, I set it to the lowest possible level), because it is too bright
Turn off haptic feedback - I do the same, because it is annoying
Turn off vibration on keypress - I do the same, because it is annoying
Turn off sync for most Google services - I leave sync on
Turn off NFC - I leave it on
Location service set to battery saving mode - I do the same - but set up a tasker profile to enable GPS when I launch maps - Disabling GPS helped the most in my case
Click to expand...
Click to collapse
jj14 said:
You really need to share your battery usage screen, and show what apps drained your battery. It is possible that you were had low signal strength, and so your phone kept trying to search for a signal and drained itself. Also, as dark_ente suggested, look at betterbatterystats results to see if you had wakelocks.
With no active use, that is very high drain - unless you were in a very low signal strength area, or had an app keeping your phone awake.
When I work from home, connected to WiFi, my phone drains about 3-4% in about 9 hours (assuming I don't actively use it. I use pushbullet to show me all notifications on my PC, so I don't have to turn my phone on at all)
Click to expand...
Click to collapse
When you say turning off GPS and only enable it while launching maps, do you mean turn off location completely? Does that affect other Google apps/services? Such as Google now
If all else fails, do a factory reset.
Sent from my Nexus 5 using xda app-developers app
I noticed from the past few days that my N5 seems to have abnormal battery usage pattern. There are days with mostly light use (text messaging, whatsapp messaging, some web browsing, minimal on screen time) I can go for 2 days without charging, and I am only losing 1% battery per hour when it's in stand by. However, they are times (see attachment) when I didn't use my phone for 11 hours, and the battery level is down from fully charged to 26%. Can anyone give me some ideas on what may be the culprit?
kevtrysmoddin said:
If you don't need GPS on all the time turn that off too saves quite a bit of battery even the battery saving mode isn't that battery friendly
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
battery saver mode is actually very battery friendly. i've done extensive testing...
---------- Post added at 06:25 PM ---------- Previous post was at 06:24 PM ----------
Infiniteloop7 said:
I noticed from the past few days that my N5 seems to have abnormal battery usage pattern. There are days with mostly light use (text messaging, whatsapp messaging, some web browsing, minimal on screen time) I can go for 2 days without charging, and I am only losing 1% battery per hour when it's in stand by. However, they are times (see attachment) when I didn't use my phone for 11 hours, and the battery level is down from fully charged to 26%. Can anyone give me some ideas on what may be the culprit?
Click to expand...
Click to collapse
you need 'better battery stats' log. . . stock battery screen tells you almost nothing
Infiniteloop7 said:
When you say turning off GPS and only enable it while launching maps, do you mean turn off location completely? Does that affect other Google apps/services? Such as Google now
Click to expand...
Click to collapse
No. I keep location enabled all the time, but in battery saver mode - that way, google now, weather widgets etc can get my approximate location (using cell tower triangulation), but can't activate my GPS for accurate location fix.
When I use maps/navigation (which in my case is the only time when I need accurate GPS location fix), I change from battery saving location to the GPS type location fix, and when I'm done with maps/nav, I switch back to battery saving location.
If you turned location off completely, google now, and possibly other apps (like weather widgets for current location) won't work.
Infiniteloop7 said:
I noticed from the past few days that my N5 seems to have abnormal battery usage pattern. There are days with mostly light use (text messaging, whatsapp messaging, some web browsing, minimal on screen time) I can go for 2 days without charging, and I am only losing 1% battery per hour when it's in stand by. However, they are times (see attachment) when I didn't use my phone for 11 hours, and the battery level is down from fully charged to 26%. Can anyone give me some ideas on what may be the culprit?
Click to expand...
Click to collapse
From your 2nd screen print, you can see that your phone was awake pretty often. As @Enddo wrote, betterbatterystats should help you figure out what is causing the wakelocks.
Enddo said:
battery saver mode is actually very battery friendly. i've done extensive testing...
---------- Post added at 06:25 PM ---------- Previous post was at 06:24 PM ----------
you need 'better battery stats' log. . . stock battery screen tells you almost nothing
Click to expand...
Click to collapse
jj14 said:
No. I keep location enabled all the time, but in battery saver mode - that way, google now, weather widgets etc can get my approximate location (using cell tower triangulation), but can't activate my GPS for accurate location fix.
When I use maps/navigation (which in my case is the only time when I need accurate GPS location fix), I change from battery saving location to the GPS type location fix, and when I'm done with maps/nav, I switch back to battery saving location.
If you turned location off completely, google now, and possibly other apps (like weather widgets for current location) won't work.
From your 2nd screen print, you can see that your phone was awake pretty often. As @Enddo wrote, betterbatterystats should help you figure out what is causing the wakelocks.
Click to expand...
Click to collapse
I am still pretty new to Android and I don't know how to root my phone. I did check out betterbatterystats on google play, it says the app doesn't work on non-rooted Android phone running kitkat, that's why I haven't installed it yet. It seems that kitkat made some changes which prevent battery usage apps from working properly, wake lock detector also won't work on non-rooted phones running kitkat
Infiniteloop7 said:
I am still pretty new to Android and I don't know how to root my phone. I did check out betterbatterystats on google play, it says the app doesn't work on non-rooted Android phone running kitkat, that's why I haven't installed it yet. It seems that kitkat made some changes which prevent battery usage apps from working properly, wake lock detector also won't work on non-rooted phones running kitkat
Click to expand...
Click to collapse
Rooting is pretty easy. And it opens up a whole new world.
________________________
Sent from my Nexus 5
Infiniteloop7 said:
I am still pretty new to Android and I don't know how to root my phone. I did check out betterbatterystats on google play, it says the app doesn't work on non-rooted Android phone running kitkat, that's why I haven't installed it yet. It seems that kitkat made some changes which prevent battery usage apps from working properly, wake lock detector also won't work on non-rooted phones running kitkat
Click to expand...
Click to collapse
While betterbatterystats will work on kitkat (unrooted), it won't give you partial wakelock summary That requires root)
http://forum.xda-developers.com/showpost.php?p=15869904&postcount=3 - see FAQ 1 and 3. You can download the kitkat compatible version from http://forum.xda-developers.com/showthread.php?t=1179809
As PhilipTD wrote, rooting a N5 is pretty easy, but if you don't feel comfortable doing it, don't.
If you decide to root, follow the steps in first post at the link that PhilipTD provided.
Note that Step 1 (unlocking bootloader) will wipe out all your data.
Before you root, why not disable GPS (keep location active) and see if that helps? Also, how often do you reboot your phone?

Tricky Idle battery drain problem

***********************
**** I have been performing controlled experiments to the best of my ability. See below for results. ****
Experiment #1: Isolate if this is due to Wifi
Methodology (one test per night)
1. Keep wifi off. Perform a set usage pattern, then keep phone on sleep all night.
2. Perform the set usage pattern using wifi, then keep phone on sleep all night with wifi turned on.
3. Perform the set usage pattern using wifi, then keep phone on sleep all night with wifi turned off.
Results:
http://forum.xda-developers.com/showpost.php?p=50548879&postcount=27
Experiment #2: Isolate if this is due to GPS/Location Services (Ongoing)
Methodology (one test per night)
1. Keep GPS off. Perform a set usage pattern, then keep phone on sleep all night. [This is identical to the WiFi experiment, so there is no need to replicate this]
2. Perform the set usage pattern using WIFI, then keep phone on sleep all night with GPS turned on.
3. Perform the set usage pattern using GPS, then keep phone on sleep all night with wifi turned off.
Results:
http://forum.xda-developers.com/showpost.php?p=50685378&postcount=69
***********************
So, I've been battling idle drain battery problems for a while now . I was unable to make much progress because I did not have visibility into partial wakelocks on the system . So I did what any inquisitive person would, I rooted my phone. Bye bye warranty.
Now that I have root, I am able to see the partial wakelocks in better battery stats. To my partial surprise , I do not see any substantial partial wakelocks that would explain the significant battery drain at night. I have good cellular signal, and wifi signal where the phone is placed.
Any clues?
Almost 25 percent in 9 hours. Also notice the lack of activity between successive awake blips, and the constant battery drain that occurs between them. Before I even got root and was able to look at the partial wakelocks, I had already suspected that there were no wakelocks going on but yet the battery was draining.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Below are screenshots from the stock battery app showing the top battery drainers and the details of the major ones.
By the way, I would attribute approximately 6 percent of the battery drain due to the screens. I have quite a bit of data that suggests at the brightness levels I was using the screen for those 30 minutes, the drain rate should have been around 12 percent per hour. That still leaves 18 to 20 percent of battery to be accounted for. According to better battery stats, the phone was only awake for around 30 minutes total when the screen was off. And looking at the CPU Lodge, it's clear that those 30 minutes or so were spent in the lowest frequency mode , and that the phone was in deep sleep at all other times.
Attached are the better battery stats logs that shows the partial wakelocks as well. I don't know why the CPU's states are not included in the file but I can assure you I took a look look at it and the 30 or so minutes of awake time were perfectly captured by the 300mhz state.
http://pastebin.com/j685pa5q
Sent from my XT1034 using Tapatalk
I turned airplane mode on, and left location services on. Battery drain was 2.8%/hr (measured over a 5% battery drain interval) with the phone only being awake for 7min 28sec when the screen was off. There were around 5min of NLP wakelocks, and some other miscelaneous ones. I don't think that explains the battery drain fully.
Then, I turned off location services, and the battery drain has been 1.7%/hr (measured over an 8% battery drain interval) with a total awake time of 5 mins, and of that only 1 min of awake time when the screen was off. Very few to no wakelocks.
What is wrong? Why is the battery draining at ~2%/hr with airplane mode on, location services off, and the phone being in deep sleep pretty much the whole time!?
Hey I'm trying to find if there of a pattern with the battery drain and the battery voltage (mv) .I slightly have the felling the battery is a bit wonky . Could you check the battery voltage while charging just before 100% and the voltage when it has fully charged ? .. Try the code *#*#4636#*#*
I feel the my peak battery voltage has dropped significantly over the last 2 weeks.
Sent from my XT1033 using Tapatalk
I have the same problem with mine, no clue what the problem is, I turned off location services and I dont use 3g at all, only wifi while at home or other places sometimes, but the drain persists, still dont know what to do
Sent from my Moto G :3
Try a Cache wipe in recovery - http://forum.xda-developers.com/showthread.php?t=2634361
neu - smurph said:
Try a Cache wipe in recovery - http://forum.xda-developers.com/showthread.php?t=2634361
Click to expand...
Click to collapse
I don't think a cache wipe is the solution. For example, see the updated battery settings screenshot below. The flat line at the end is the result of just rebooting the device (no cache wipe). The battery is no longer draining constantly, even though the same services are activated.
I'm the OP of the thread that I think first reported this issue. Note that I found that the drain is noticeable in airplane mode as you expect there to be almost zero drain, however it still happens when not in airplane mode as well, you just notice it less as the device is doing other stuff which all adds up to battery drain.
I think there is a driver bug, most likely a WiFi driver bug or possibly GPS driver bug. For example maybe GPS is somehow constantly active but the bug manifests itself in such a way that this is not reported to the OS itself which is why you do not see it active in the battery screen .
I had the exact same issue as reported above, no wakelocks over and above the normal amount but the drain was 3% hr or so. A reboot fixed it but it would reoccur when i connected to another WiFi network.
A factory reset fixed it completely until a few weeks ago when I was on the road and used GPS. That night I had the battery drain issue again.
So whether its WiFi or GPS that's the cause I don't know, and why, for me, did it stay fixed for so long. I also can't remember if I had GPS switched on when I first had the issue before the factory reset so makes it harder for me to determine the cause.
The above was all on 4.3. I've now upgraded to 4.4.2.
I think the only way to debug will to be to pull off all the various logs from android, you may even need to turn on various debugging/logs from the OS to capture more logs. I'm pretty sure you wont diagnose from just looking at wakelocks and battery screens.
If you can recreate this problem, and sounds like some of you have it a lot, then you are in a good position to get the logs.
BTW does anyone use the BBC weather app, I noticed this caused a LOT of NLP wakelocks so don't think its related but I did notice on 4.4.2 that it drained battery fast so I uninstalled. There is a thread in xda that I started about it.
A poster above says to clear cache, this is normally pointless as /cache will usually contain nothing except a few empty folders and a couple of log files. Also clearing cache means a reboot which temporarily fixes the issue anyway.
scott_doyland said:
I'm the OP of the thread that I think first reported this issue. Note that I found that the drain is noticeable in airplane mode as you expect there to be almost zero drain, however it still happens when not in airplane mode as well, you just notice it less as the device is doing other stuff which all adds up to battery drain.
I think there is a driver bug, most likely a WiFi driver bug or possibly GPS driver bug. For example maybe GPS is somehow constantly active but the bug manifests itself in such a way that this is not reported to the OS itself which is why you do not see it active in the battery screen .
I had the exact same issue as reported above, no wakelocks over and above the normal amount but the drain was 3% hr or so. A reboot fixed it but it would reoccur when i connected to another WiFi network.
A factory reset fixed it completely until a few weeks ago when I was on the road and used GPS. That night I had the battery drain issue again.
So whether its WiFi or GPS that's the cause I don't know, and why, for me, did it stay fixed for so long. I also can't remember if I had GPS switched on when I first had the issue before the factory reset so makes it harder for me to determine the cause.
The above was all on 4.3. I've now upgraded to 4.4.2.
I think the only way to debug will to be to pull off all the various logs from android, you may even need to turn on various debugging/logs from the OS to capture more logs. I'm pretty sure you wont diagnose from just looking at wakelocks and battery screens.
If you can recreate this problem, and sounds like some of you have it a lot, then you are in a good position to get the logs.
BTW does anyone use the BBC weather app, I noticed this caused a LOT of NLP wakelocks so don't think its related but I did notice on 4.4.2 that it drained battery fast so I uninstalled. There is a thread in xda that I started about it.
A poster above says to clear cache, this is normally pointless as /cache will usually contain nothing except a few empty folders and a couple of log files. Also clearing cache means a reboot which temporarily fixes the issue anyway.
Click to expand...
Click to collapse
Thanks you very much for your reply Scott.
As you can see in my troubleshooting, I eventually turned location services and wifi off, but still measured a considerable battery drain. Do you suppose that once you use wifi, or location services after bootup, the effect may remain afterward even if they are switched off? If so, do you agree that if I turn off location services and wifi, then reboot so that the phone boots up with neither - that should be able to verify your hypothesis?
I'll go ahead and try that for a few days and see how it goes. Will report back.
Others have mentioned something to do with the cellular radio power management, and how rebooting and clearing the cache helps with that (apparently this came from a motorola rep...). I've included a data point in this thread where I merely rebooted without a cache clear and the problem went away. So, perhaps the clearing of the cache really does nothing at all ...
If this is a software issue, why aren't all phone with the same software version effected? How are people getting 6-7 days of standby time consistently? Maybe they never use wifi or location services? Well, I intend to test the wifi/gps hypothesis soon .
google+, google now etc caused me a massive battery drain until i greenified them. now i get a solid 2 days and about ~6 hours screen on time.
twist3d0n3 said:
google+, google now etc caused me a massive battery drain until i greenified them. now i get a solid 2 days and about ~6 hours screen on time.
Click to expand...
Click to collapse
Do you need the donate version to hibernate them?
twist3d0n3 said:
google+, google now etc caused me a massive battery drain until i greenified them. now i get a solid 2 days and about ~6 hours screen on time.
Click to expand...
Click to collapse
So that´s exactly what I did, too. Turns out my Moto G is a battery monster, 2 days with average screen time without any problems.
tictac0566 said:
So that´s exactly what I did, too. Turns out my Moto G is a battery monster, 2 days with average screen time without any problems.
Click to expand...
Click to collapse
This thread is specifically about battery drain caused by something unknown, not an app or wakelock, I think we should try to keep it clean by not cluttering with app related issues as that can then be confusing for people who are reading through the thread. Thanks.
---------- Post added at 11:40 AM ---------- Previous post was at 11:16 AM ----------
if0rg0t said:
Thanks you very much for your reply Scott.
As you can see in my troubleshooting, I eventually turned location services and wifi off, but still measured a considerable battery drain. Do you suppose that once you use wifi, or location services after bootup, the effect may remain afterward even if they are switched off? If so, do you agree that if I turn off location services and wifi, then reboot so that the phone boots up with neither - that should be able to verify your hypothesis?
I'll go ahead and try that for a few days and see how it goes. Will report back.
Others have mentioned something to do with the cellular radio power management, and how rebooting and clearing the cache helps with that (apparently this came from a motorola rep...). I've included a data point in this thread where I merely rebooted without a cache clear and the problem went away. So, perhaps the clearing of the cache really does nothing at all ...
If this is a software issue, why aren't all phone with the same software version effected? How are people getting 6-7 days of standby time consistently? Maybe they never use wifi or location services? Well, I intend to test the wifi/gps hypothesis soon .
Click to expand...
Click to collapse
Well I cant answer all your questions but I will tell you about my test last night. I hardly use GPS at all (and my battery is normal) and last time I did use GPS I had the battery drain as per my post above, so last night I:
1. Drove 15mins from my house.
2. Switched on GPS (high accuracy).
3. Started google maps and drove for 2mins with GPS in use.
4. Shutdown maps app and drove home (GPS still on - ie high accuracy).
5. At home used phone for bit of XDA on wifi for a bit.
6. Switched on airplane mode but location service still on (note airplane mode does NOT switch off GPS), woke up at 02:00AM and noted I had the annoying battery drain - arghhh.
7. Switched off GPS - woke up 2 hrs later and drain still happening.
8. Switch off location altogether - woke up in morning and drain still happening.
9. Rebooted phone and now battery back to normal, Im back on wifi/mobile location (battery saving).
So to me it looks like its maybe related to GPS in some way but whether its purely GPS or a GPS/wigi/location combo I have no idea.
However I have in the past switced on GPS in my house just to play about and havent has the drain, so is it due to a larger change of location when GPS is on (ie 15mins drive from my house) that causes it to go bad.
So annoying, I took a CWM backup before I booted up my phone so I will pull that to my laptop and see if there are any obvious error logs to look at but I doubt it.
Im still leaning towards a driver issue or maybe some component, eg GPS chip, staying alive/awake even when not in use but m sure others have reported they have it with location/GPS off completely. Maybe its even a few different problems.
You said not everyone has the error, but I bet quite a few non-xda people do but do not realise. A lot of people will just charge their phones overnight so wont even realise, during the day they will think ~2% drop per hour is normal. Even if they do notice the drop in airplane mode they probably think thats normal and ignore it.
I think getting Motorola to accept there is an error is going to be almost impossible especially if its hardware related. Also as we have unlocked bootloader I doubt they will even accept a call once they know that.
I think it would be interesting to get a list of phones that are affected, ie model, serial no, location brought, ROM etc. maybe its a certain batch of phones, if we can determine that it would be some help, maybe we could buy one that isnt affected
So to start it off my phone is
XT1032 UK retail brought from Basildon, Essex, UK from phones4u.
Problem happens on 4.3 stock and 4.4.2 stock.
Baseband version is MSM8626BP_1032.340.63.00R.
Im tempted to flash GPE and/or new basenband radio but I bet the same thing happens.
I may see if there is a new GPS driver but no idea how to flash it etc.
Such a shame as this phone is excellent for me otherwise.
Just seen this thread as well, it blames GPS
http://forum.xda-developers.com/showthread.php?t=2607641
if0rg0t said:
Do you need the donate version to hibernate them?
Click to expand...
Click to collapse
if they're system apps, yeah. totally worth it tho cos you can do maps/fb etc too, also you can allow apps that get push messages to still give you notifications whilst greenified.
e: just to note, i have gps (high accuracy) enabled constantly and still manage 2 days.
twist3d0n3 said:
if they're system apps, yeah. totally worth it tho cos you can do maps/fb etc too, also you can allow apps that get push messages to still give you notifications whilst greenified.
e: just to note, i have gps (high accuracy) enabled constantly and still manage 2 days.
Click to expand...
Click to collapse
Maybe you can help test if you don't mind.
1. Use Google maps with high accuracy when you go out for 5mins or so.
2. Once home use phone as normal on WiFi for a bit, just 10mins will be enough.
3. Take note of battery percent.
4. Switch on airplane mode for 2hrs - DO NOT USE PHONE during this time.
5. After 2hrs take note of battery percent.
6. Report the battery percents recorded in this thread.
If you can do this we would be grateful.
Let us know your phone model, where purchased, ROM etc.
Thanks.
Hi,
Following this MotoG thread for some time I have to admit that my MotoG also has the same issue from time to time.
This is the reason now that I joined XDA because this issue is a real pain.
Having my MotoG for three weeks now I had to restart it four or five times to get rid of the excessive battery drain.
My MotoG (XT1032) is bought in the Netherlands, unlocked, rooted, CWM and stock ROM.
I did remove some Motorola apps and disabled some.
Because of the last remarks that it seems to be GPS related, I want to let you know that it also happened to me without using the GPS.
Yesterday it happened at school, at first the drain was not present but suddenly it started.
In the between the two situation I only checked my mail through Wifi and checked some news.
My MotoG has Wifi always on, bluetooth off, GPS off.
There must be something more than just GPS which causes this drain.
Hopefully we can find the root cause soon.
Mickeyvdb said:
Hi,
Following this MotoG thread for some time I have to admit that my MotoG also has the same issue from time to time.
This is the reason now that I joined XDA because this issue is a real pain.
Having my MotoG for three weeks now I had to restart it four or five times to get rid of the excessive battery drain.
My MotoG (XT1032) is bought in the Netherlands, unlocked, rooted, CWM and stock ROM.
I did remove some Motorola apps and disabled some.
Because of the last remarks that it seems to be GPS related, I want to let you know that it also happened to me without using the GPS.
Yesterday it happened at school, at first the drain was not present but suddenly it started.
In the between the two situation I only checked my mail through Wifi and checked some news.
My MotoG has Wifi always on, bluetooth off, GPS off.
There must be something more than just GPS which causes this drain.
Hopefully we can find the root cause soon.
Click to expand...
Click to collapse
Thanks for your reply, have you confirmed this drain happens when in airplane mode as well and that no wakelocks occur, no unusual statistics in battery screen etc. I ask as some people say they have the issue but then say they have greenified an app etc to stop it which basically means they dont have the issue at all. Im not saying I dont believe you, far from it, I just want to confirm its exactly the same issue as a few of us are seeing. Next time can you NOT reboot but leave phone in airplane mode for a few hours and DONT use it at all, then see if battery has gone down by 2-3% per hour.
Thanks.
Have not used airplane mode to check it, but will sure do this when it happens next time.
What I observed in battery stats was a high percentage of android-os.
I have not used greenify so far.
Sent from my GT-P3110 using xda app-developers app
Mickeyvdb said:
Have not used airplane mode to check it, but will sure do this when it happens next time.
What I observed in battery stats was a high percentage of android-os.
I have not used greenify so far.
Sent from my GT-P3110 using xda app-developers app
Click to expand...
Click to collapse
Doesn't sound like the same issue if android OS shows high in battery stats. That sounds more like a wakelock issue of some kind which still means you may get drain in airplane mode but for a different reason.
This thread is specifically for the problem of ALL battery stats looking normal, so android OS doesn't show up as high.
I think your best get is to root and install 'wakelock detector' app and you will probably see some high wakelock for android OS.
Thanks for your post on the Motorola forums Scott. It was well written, and to the point. I hope this issue gets the attention it deserves. I'll be reporting in the next few days with my experiments.
scott_doyland said:
Doesn't sound like the same issue if android OS shows high in battery stats. That sounds more like a wakelock issue of some kind which still means you may get drain in airplane mode but for a different reason.
This thread is specifically for the problem of ALL battery stats looking normal, so android OS doesn't show up as high.
I think your best get is to root and install 'wakelock detector' app and you will probably see some high wakelock for android OS.
Click to expand...
Click to collapse
Sorry to post this wrong condition.
I had the impression that I was suffering the same problem.
Will have a look with a 'wakelock detector' to see if I can tackle the high android-os consumption since I rooted my device already.
Although the issue seems different I will have a good look this morning since I have to use the GPS.
Will keep you informed if I notice something weird.

Nexus 5 battery life

Hi, I really did some research but I find alot of ROMs and Kernels and I always get lost. I just need a good safe way to better the battery life of my Nexus 5 and keep it's stability and all the functions it has. So I wanted to ask what you guys recommend as Kernels, apps and lastly (I dont want to change unless its worth it) ROMs.
Sorry, its been hard without a PC to do decent research.
Enviado do meu Nexus 5 através de Tapatalk
The ROM has very little to do with battery life. It's all about the kernel or the apps.
We can't recommend kernels (or roms) as this is against the rules. They will all pretty much help with battery life. Just try them all- yourself.
Apps:
Greenify
Better battery Stats
That's it. Anything else I would recommend is going through all your settings and turning off things you dont need like location reporting etc
if battery life is all you are looking for... the difference are ... not much
Just disable google apps that you do not use, then you are good to go.
Locations settings, always off, activate only when needed. uncheck all under Google Location Reporting.
Disable NFC if not needed.
If you don't have good LTE coverage, change it to 3G under mobile networks.
For maximum battery life, do NOT activate Google Now.
eg. (These are apps I've disabled)
Drive
Earth
Email
Exchange Services
Face Unlock
Gallery (I use QuickPic as alternative)
Gmail
Google Hindi input (These ones gets disabled once you uncheck them from input settings)
Google Play books
Google Play Games
Google Play Magazines
Google Play Movies & TV
Google Play Music (I use Poweramp *Paid)
Google+
Keep
Maps
News & weather
Quickoffice
Street View
Tags
TalkBack
Hangouts (I use HoverChat *Paid)
Check this thread mate...
http://forum.xda-developers.com/google-nexus-5/general/nexus-5-battery-results-t2509132/
CitizenLee said:
Check this thread mate...
http://forum.xda-developers.com/google-nexus-5/general/nexus-5-battery-results-t2509132/
Click to expand...
Click to collapse
What he said ^^^^
It doesn't matter what's on your phone....you should be able to get good battery life. Its all about setup and usage.
Just gotta troubleshoot issues occasionally.
Please check the thread linked above, and read read read. . (Start on last page and read back for a bit....a lot of good info)
On my phone it certainly seems to have something to do with signal quality. At home, I can put the phone next to the bed at night with it fully charged and wake up with it at about 95 or 96%.
At work a fully charged phone just sitting on my desk drops to about 90% in only a couple of hours.
The signal quality in my building at work is pretty poor, so I'm guessing the phone is using a lot of extra energy desperately searching for a better signal .
Claghorn said:
On my phone it certainly seems to have something to do with signal quality. At home, I can put the phone next to the bed at night with it fully charged and wake up with it at about 95 or 96%.
At work a fully charged phone just sitting on my desk drops to about 90% in only a couple of hours.
The signal quality in my building at work is pretty poor, so I'm guessing the phone is using a lot of extra energy desperately searching for a better signal .
Click to expand...
Click to collapse
Poor and searching for signal is probably the biggest battery drain there can be.
Get gsam. And after your at work a few hours, open and click on "phone radio". It will say how long your phone was actually searching for a signal. That's a huge battery killer.
The only cures, get on WiFi. Or go into airplane mode. Toggle off data might help, then you'd still get texts and phone calls.
kj2112 said:
The only cures, get on WiFi.
Click to expand...
Click to collapse
I do have wifi on in both locations, so the wifi part of this doesn't help. I suspect data isn't the issue, just the cell connection. My old phone used to randomly reboot inside this building when trying to get a signal . I guess I should install gsam just to verify, but the signal is really the only difference between work and home, so I'm pretty sure that is the issue.
Claghorn said:
I do have wifi on in both locations, so the wifi part of this doesn't help. I suspect data isn't the issue, just the cell connection. My old phone used to randomly reboot inside this building when trying to get a signal . I guess I should install gsam just to verify, but the signal is really the only difference between work and home, so I'm pretty sure that is the issue.
Click to expand...
Click to collapse
Usually battery drain from a low or bad signal is only a big issue while on data. On WiFi it doesn't affect the battery much , if any. Its from apps trying to sync through data on a bad or no signal. So on WiFi, that's not an issue.
At home I get fairly poor reception...sometimes only a bar...with some time spent searching for signal, but my battery times are at their best at home. On WiFi.
It could be a network issue. Some devices on networks can affect your device by spam polling your phone....might want to also get wakelock detector to see that. If the LAN is draining your battery, there will be wakelocks from it.
Try gsam and compare work results to home results. Especially good would be trying at least a few hours of total standby to see the difference at both locations. You'd have to reset gsam stats to start your standby test at all zeros though. A reboot will reset gsam.
Good luck!
Remove all google [email protected]%# ...
And disable autostart from programs like poweramp which start on boot...use romtoolbox and autostart manager
Of course, pay attention to what you're going to disable
If You will try and You have some doubt ask here
I use a lightweight aosp ROM, a minimal gapps package, stock kernel, disabled some programs from boot and run in background...and battery duration is good
Don't ask to us roms/kernel combo, please Questions like your are not allowed on xda
Always read the users feedback and make Your choice
And... My doubt..is it really needed to change the kernel ??
Give stock kernel a chance... That's all I can say...
And make sure to charge your phone the right way
Hi! Anyone knows if I can disable the processes that Viber starts every so often? Like the in-app processes, it keeps on running in the background consuming a huge chunk of my battery. I already emailed Viber about it but unfortunately they don't have a fix for it.
Sent from my Nexus 5 using Tapatalk
natadecocolococo said:
Hi! Anyone knows if I can disable the processes that Viber starts every so often? Like the in-app processes, it keeps on running in the background consuming a huge chunk of my battery. I already emailed Viber about it but unfortunately they don't have a fix for it.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Greenify?
rootSU said:
Greenify?
Click to expand...
Click to collapse
I'll try that. Thanks.
kj2112 said:
Try gsam and compare work results to home results. Especially good would be trying at least a few hours of total standby to see the difference at both locations. You'd have to reset gsam stats to start your standby test at all zeros though. A reboot will reset gsam.
Click to expand...
Click to collapse
OK, I turned the phone off, charged it to 100%, then pretty much let it sit doing nothing after rebooting. After sitting overnight at home (where the battery doesn't drain much) the "Phone" app was way down in the list:
GSam Labs - Battery Monitor - Export Data
Phone
Apr 30, 2014 9:55:45 AM
Usage Details
CPU Usage:2s
CPU Usage (Background Only):2s
Keep Awake:19s
Number of Wake Locks:177
Number of times waking device:2
App UID:1001
Wakelock Detail
RILJ8.8s(136)...
Did the same recharge with phone off at work, rebooted, then let it sit on my desk for just a couple of hours, and "Phone" is now the 2nd biggest culprit in the apps list:
GSam Labs - Battery Monitor - Export Data
Phone
May 1, 2014 10:35:57 AM
Usage Details
CPU Usage:3m 24s
CPU Usage (Background Only):3m 24s
Keep Awake:12m 1s
Number of Wake Locks:1167
Number of times waking device:141
App UID:1001
Wakelock Detail
RILJ11.9m(1031)...
Wifi was on in both locations (with a good signal), I even turned off location to prevent that overhead. It just hates the environment at work .
Claghorn said:
OK, I turned the phone off, charged it to 100%, then pretty much let it sit doing nothing after rebooting. After sitting overnight at home (where the battery doesn't drain much) the "Phone" app was way down in the list:
GSam Labs - Battery Monitor - Export Data
Phone
Apr 30, 2014 9:55:45 AM
Usage Details
CPU Usage:2s
CPU Usage (Background Only):2s
Keep Awake:19s
Number of Wake Locks:177
Number of times waking device:2
App UID:1001
Wakelock Detail
RILJ8.8s(136)...
Did the same recharge with phone off at work, rebooted, then let it sit on my desk for just a couple of hours, and "Phone" is now the 2nd biggest culprit in the apps list:
GSam Labs - Battery Monitor - Export Data
Phone
May 1, 2014 10:35:57 AM
Usage Details
CPU Usage:3m 24s
CPU Usage (Background Only):3m 24s
Keep Awake:12m 1s
Number of Wake Locks:1167
Number of times waking device:141
App UID:1001
Wakelock Detail
RILJ11.9m(1031)...
Wifi was on in both locations (with a good signal), I even turned off location to prevent that overhead. It just hates the environment at work .
Click to expand...
Click to collapse
I think that is just the difference in signal quality. It seems to be pretty common to get degraded signal at work places due to larger structure sizes as well as more users per cell tower.
Phone Idle is from the voice network, Cell Standby is from the data connection.
Is it normal for Google Play Services to be running in the background always? The gcm and the location service is always on.
Sent from my Nexus 5 using Tapatalk
natadecocolococo said:
Is it normal for Google Play Services to be running in the background always? The gcm and the location service is always on.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Yup
And its worse with location on for sure....battery wise anyway.

Battery Drain Diagnosing

I have had a battery drain for several weeks now. It isn't to severe but the biggest issue bothering me the most is at night it is draining about 5-6% even with battery saver turned on. It used to be that in normal mode, the battery would only drop 2-3% over night. I do not charge at night.
I am fully updated and I even reset the phone to factory 2 days ago and the issue still persists. Nothing seems to stand out in the battery stats with regards to apps sucking battery %. So I think this is an issue where it is not going into Doze or Deep Doze but I dont know how to determine that.
Any suggestions how to find the problem?
(on android 10)
When you wake up in the morning...
Go into "Settings"
Then "Battery"
Then click the top right three dots
Then select "Battery Usage"
It should show you which apps used the most battery during the night.
JohnC said:
(on android 10)
When you wake up in the morning...
Go into "Settings"
Then "Battery"
Then click the top right three dots
Then select "Battery Usage"
It should show you which apps used the most battery during the night.
Click to expand...
Click to collapse
I have done that. No apps appear to be doing anything unusual. There are no battery hogs showing up. Not even excessive google services usage or anything. That is why I think this may be a situation where it isn't going into doze or deep doze like it used to but I dont know how to check or monitor that. that info doesn't show in battery stats.
I never heard of this doze/deep doze mode - where did you see this?
I ask because I typically get 10% loss overnight with what I thought was very good because the pixel often then calculates I have 2 days of remaining battery life with that stat.
JohnC said:
I never heard of this doze/deep doze mode - where did you see this?
I ask because I typically get 10% loss overnight with what I thought was very good because the pixel often then calculates I have 2 days of remaining battery life with that stat.
Click to expand...
Click to collapse
You can google it as there are tons of articles about it but here is some insight into it from the developer side: https://bignerdranch.com/blog/diving-into-doze-mode-for-developers/
OK, so it says in order to go into deep-doze, the phone:
1) Must not be charging
2) The screen is off
3) The phone is not moving
So, during the night, are all three of these conditions met?
Also, the device will come out of deep-doze if an incoming push notification is received - could one of your apps be receiving push notifications during the night?
Also, "Any process using a foreground service is exempt from Doze Mode effects, which is key for long-running applications"...do you possibly have any apps that have a foreground service?
Have you tried to switch off Bluetooth, it has a huge impact on battery even if not in use.
I've used apps before. Can't remember but gsam might be one...
It's possible to identify apps that are holding wake locks. That's the first place to check for battery drain.
lop1 said:
Have you tried to switch off Bluetooth, it has a huge impact on battery even if not in use.
Click to expand...
Click to collapse
I always keep WiFi, bluetooth, NFC and location off.
a1291762 said:
I've used apps before. Can't remember but gsam might be one...
It's possible to identify apps that are holding wake locks. That's the first place to check for battery drain.
Click to expand...
Click to collapse
all the apps I can find to track wake locks seem to need ROOT. I'd rather not do that as then I lose OTA updates.
After some extreme disabling of user app, system apps, services, etc. I finally got back to 3% battery drop overnight. I'm not sure which one was the culprit yet but i'll start enabling things as I need them and keep monitoring.
I'm having heavy battery drain. I already charged to 100 and less to 30 minutes i lost 10%.
It began since last update on my case.
After you see a big drain, DON'T plug in and...
Go into "Settings"
Then "Battery"
Then click the top right three dots
Then select "Battery Usage"
It should show you which apps are to blame for the drain.
badtlc said:
all the apps I can find to track wake locks seem to need ROOT.
Click to expand...
Click to collapse
Gsam needs permissions but these can be set with USB debugging, no root needed.
So one thing I have learned is that it appears every time I reboot, gsam thinks my wifi is on even though I have it off. If i turn it on and then back off. Gsam now says wifi is off.
So i got through the night at 3% battery drain but now I am realizing that my phone will not go into deep sleep during the day. Any suggestions how to fix that?
According to the details in the link posted earlier, it will never go into deep sleep if the phone is moving.
JohnC said:
According to the details in the link posted earlier, it will never go into deep sleep if the phone is moving.
Click to expand...
Click to collapse
I leave my phone sitting on a desk all day. There has to be some Android services that only operate during the day but i can't dtermine what those might be.
badtlc said:
So i got through the night at 3% battery drain but now I am realizing that my phone will not go into deep sleep during the day. Any suggestions how to fix that?
Click to expand...
Click to collapse
Was gsam able to identify which app was holding a wake lock?
Or maybe triggering frequent wakeups?
Both of those would prevent doze...
Battery Guru is good for chasing drains (with ADBs), add BBS + adbs and you can find anything using them together!
a1291762 said:
Was gsam able to identify which app was holding a wake lock?
Or maybe triggering frequent wakeups?
Both of those would prevent doze...
Click to expand...
Click to collapse
Google play services mostly. There was a large amount from "Adaptive connectiviy" but when I disabled that those went away.

Categories

Resources