expand battery life on Moto X Play 5.1.1 - X Play General

Hi there,
i was playing around now for some time to expand my battery life in our phone. Maybe some of you know this but i wanted to share my experience which helped me a lot with battery issues.
My main problem was the short standby time. Taking a look into the battery statistics always says my main battery drainers where external applications und the google (play) services. Taking a little more deeper looks says that my main battery drain seemed to be caused in the 'Mobilfunkschnittstelle aktiv' (mobile radio interface active?) entry. I had values of multiple hours here beeing active.
I usually disable the location services because i dont need them. Which can be different for you, of course. Also i usually play around with BetterBatteryStats and Autostarts app for analyzing and disabling various services. This time i skipped this and went across a xposed module in the web.
So, the simple trick for me was to flash xposed with twrp (root needed of course) and install the xposed MobileRadioActiveFix module.
After fixing this i now have a 4 days run time with at least 6 accounts syncing and a weather app and so forth. I didnt have that before on any other device. By the way: i'm not using my phone very often and i don't wont to say: 'i have the biggest', don't want to compete but only suggest giving it a try if you suffer from low standby time.
Regards.
A little PS: some other good xposed modules i'd like to suggest:
- GEL settings: to edit google launcher, eg. removing the google search bar and the homescreen grid
- Battery Percentage Text

are you on lollipop or MM ???
I am on lollipop and I had tried this module a while back it didn't work.
and are you on mobile data or WiFi ???... because with mobile data on ..radio active shows on my battery stats.
what is your SOT now ???

bablu048 said:
are you on lollipop or MM ???
I am on lollipop and I had tried this module a while back it didn't work.
and are you on mobile data or WiFi ???... because with mobile data on ..radio active shows on my battery stats.
what is your SOT now ???
Click to expand...
Click to collapse
lollipop, as the title says
Usually i am on mobile data. And of course there is still some time on radio active in the stats but its way less then before. My first entry in the battery stats where 'google (play) service' with 15% or more. Second was a 'mail client' with 12% and other external apps. This all went better after installing the xposed fix. My first entry now is 'mobile standby'
My SOT is something around 5 hours. Please, dont forget: i really not using my phone very often. My main goal was extending the standby time.
My experience with other devices: depending on the quality of your signal strength your battery can vary heavily. But i guess, thats something you already know. I, btw. have a good 4g signal here.

aVe2000 said:
lollipop, as the title says
Usually i am on mobile data. And of course there is still some time on radio active in the stats but its way less then before. My first entry in the battery stats where 'google (play) service' with 15% or more. Second was a 'mail client' with 12% and other external apps. This all went better after installing the xposed fix. My first entry now is 'mobile standby'
My SOT is something around 5 hours. Please, dont forget: i really not using my phone very often. My main goal was extending the standby time.
Click to expand...
Click to collapse
well cheers, we have the same goal. i used amplify+greenify then i uninstalled exposed and started testing how long i could extend battery on stock and doze+greenify. i have removed maximum google apps and i am constantly getting 1+hour of SOT for every 10% battery. i am on dual sim[one of it is roaming] and i am on mobile data. now i am gonna give exposed another shot, hope radiofix works this time.
'Mobile standby' is a problem i have tried to fix it many times but failed, it eats battery when i am on data which is always, if you find a solution please post it here.
you could disable background data for play services to squeeze more juice out of your battery and about mail app drain i suggest you take a look at F-Droid it's a collection of open source softwares.

aVe2000 said:
Hi there,
i was playing around now for some time to expand my battery life in our phone. Maybe some of you know this but i wanted to share my experience which helped me a lot with battery issues.
My main problem was the short standby time. Taking a look into the battery statistics always says my main battery drainers where external applications und the google (play) services. Taking a little more deeper looks says that my main battery drain seemed to be caused in the 'Mobilfunkschnittstelle aktiv' (mobile radio interface active?) entry. I had values of multiple hours here beeing active.
I usually disable the location services because i dont need them. Which can be different for you, of course. Also i usually play around with BetterBatteryStats and Autostarts app for analyzing and disabling various services. This time i skipped this and went across a xposed module in the web.
So, the simple trick for me was to flash xposed with twrp (root needed of course) and install the xposed MobileRadioActiveFix module.
After fixing this i now have a 4 days run time with at least 6 accounts syncing and a weather app and so forth. I didnt have that before on any other device. By the way: i'm not using my phone very often and i don't wont to say: 'i have the biggest', don't want to compete but only suggest giving it a try if you suffer from low standby time.
Regards.
A little PS: some other good xposed modules i'd like to suggest:
- GEL settings: to edit google launcher, eg. removing the google search bar and the homescreen grid
- Battery Percentage Text
Click to expand...
Click to collapse
But most have already updated to MM. If it works then it's a good thing.
Sent from my XT1562 using Tapatalk

I found that disabling background data for affect apps seemed to help on 5.1, but this limits device experience.
I'm on MM now and usually get all day stand by and about 5 to 6 hours SOT. Today I have 5 hours of voice calls and 2 of SOT and am at 40% battery which isn't bad. Off charge at 5:30 am and it is currently 8:30pm. That's excellent for me. MM is a great update for battery on these phones.
Edit: I meant to say as well that the 5 hours of voice was over a Bluetooth headset. Pretty busy day

K.khiladi said:
But most have already updated to MM. If it works then it's a good thing.
Sent from my XT1562 using Tapatalk
Click to expand...
Click to collapse
I am not sure about this. In europe its still not rolled out (at least not in germany).

aVe2000 said:
please delete
Click to expand...
Click to collapse
Why

you can play with the values ​​of animation in developer options,
Enviado desde mi XT1563 mediante Tapatalk

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] Please Help ! Android System Battery Drain on Nexus 5 after KitKat 4.4.2 update

Hi,
The battery life of my Nexus 5 has taken a dramatic hit since the 4.4.2 update. I think the culprit is Android System but the GSAM battery graph seems to suggest that the culprit is Android OS kernel. My Nexus 5 is on 4.4.2, unrooted, stock ROM and the build no. is KOT49H.
In short, my phone does not seem to have a wakelock issue but I can't verify because 4.4 does not allow wakelock access without root. It sleeps fine at night and in daytime when it is not in use. I only lose around 5% or less overnight with 2x battery turning off the data connection and only turning on data connection once every night. The problem is the Android System which drains at least 17% (sometimes 25%) of battery everyday and routinely sits on top my of battery usage chart with or without me actually using the phone. My usage per charge is typically around 6-7 hours with around 1 hour 45 minutes screen on time. I had extraordinary battery life before the update to 4.4.2 (lasting more than 1 day with over 3 or 4 hours screen on time). Now my battery life is completely shot. The battery graphs attached already represent one of the better days. Some days the Android system will drain at 25% or more. You will note my phone relatively slept fine without draining at night in the first 7 or 8 hours and then the battery drain started to take a nose dive after I woke up. I feel that whenever I start using the phone (with the screen being turned on), the battery drain will occur. My observations are as follows:
1. I use LTE but the reception at my home and work for LTE is not good so the radio jumps between LTE and H+ from time to time however I do not think the radio jumping contributes that much to the drain. The drain stays the same even when I am at a place with good LTE reception. I use wifi at home but i cannot connect to wifi at work (which sadly is another issue). The wifi is always off unless i use it at home. I do NOT have wifi scanning in the settings. I have wifi battery optimization on. I never use bluetooth.
2. My google now is off. My location setting is completely off with no location reporting etc..
3. My Google + auto back up is off. I do not use Facebook, Facebook messenger, Instagram, snapchat etc. I mostly use Feedly, Whatsapp, Gmails and look at stock quotes every day. I seldom take pictures, videos or listen to music.
4. I only have one widget dashclock widget. I have removed feedly and stock quote widgets from the home screen but they don't seem to affect my battery usage that much.
5. I use Automateit but only have a few rules such as setting vibrate on weekdays etc.. I do not have any profiles which are related to GPS or location which i understand would drain battery. I also use Dynamic Notification, Light Flow, Lux, Nova Launcher, Notification Toggle and the memory in general is always below 65% in the background. I also use 2x battery to save battery which is set at switching off data after I turn off the screen and it will only turn data in the background every 10 minutes.
6. I have tried safe mode and 9 out of 10 times the Android system drain remains the same. The only way to lower the Android system drain (albeit temporary) is when I turn off the phone and plug it in for a charge, then turn it on when it is full and still plugged in. After I unplug it, the Android System drain will lower to say 7 or 8 % but it will slowly creep back up to 20% within an hour or so.
7. The CPU usage overlay routinely has 9 + readings on the top when the screen is turned on (but with no app running). I think it means very high CPU usage.
8. I do not think Feedly is causing any problems. I deleted the app and the drain remains. I also do not think GSAM is that useful as pointed out by another member here. It points to one app. You delete that app and then the drain remains it will point to something else.
9. I have been using Greenify (non-root) but it does not seem to help with my battery drain as the drain might be caused by system apps or processes within the OS.
I don't know what else to do and this problem has been troubling me for more than 1 month now. Please help !
Update on 24/2/2014:
I have given up and factory reset my phone. After I reset my phone, the apps were installed via Google Play automatically. I also switched to ART. It was fine initially for at least one day. The apps were there but I did not use or enable most of them as I wanted to transfer all my data and tweaked the settings in one goal. I mostly just used Feedly, Whatsapp and Maps for navigation. Even with Maps and high accuracy GPS on, the Android System would go below 10% even though it would temporarily increase to say above 20% during navigation. This morning, I thought the battery seemed ok so I enabled Lux, Dynamic Notifications, Lightflow, Automateit, Nova Launcher and restore the settings to most of the apps.
The Android System drain came back within 2 hours and hit 25% of the total battery drain. My phone's battery dropped from 100% to 40 % in less than 5 hours and the screen on time was only around 1 hour! I never did any battery intensive actions. The most was turning on the phone to check my battery and whatsapped less than 10 messages back and forth ! Since the drain re-appeared, I have turned off completely the location setting, Google Now, sync for Google Plus, auto-backup for Google Plus. I have removed all widgets and disabled Dynamic Notifications, Nova Launcher, Light Flow, Lux. The drain still remains the same at 23% or more.
This is driving me absolutely crazy and I am sick and tired of spending so much time and energy on sorting out the cause for drain (and to no avail!) I spent a lot more time on trying to fix the phone than really utilizing the phone for my benefit !! I just sent an email to the Google tech support and hope they will help instead of sending me generic self-help sheet. Thanks all for listening and trying to help. I am just really disappointed with Google this time.
Use bbs to get wakelock info.
Feedly has got to go too
Sent from my Nexus 5 using Tapatalk
rootSU said:
Use bbs to get wakelock info.
Feedly has got to go too
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Thanks for your reply. My N5 is not rooted so I do not have access to wakelock stats anymore.
I have removed Feedly but the android system drain persists.
Not a lot that can be done without knowing the cause. Consider factory reset?
Sent from my Nexus 5 using Tapatalk
rootSU said:
Not a lot that can be done without knowing the cause. Consider factory reset?
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
I am hoping I don have to resort to factory reset and can wait for the 4.4.3 update but I guess my patience is running out.
Thanks for your help.
My missus' LG-P880 has exactly the same problem. Just started happening one day. It seems to be wakelock locator alarms according to bbs but there doesn't appear to be any reason for it. Its been driving me mad too. Luckily tho she's rooted so using app opps i disabled Google services location and it's kinda helped
Sent from my Nexus 5 using Tapatalk
Did you try another kernel ? When I changed to franco kernel, my battery life is better.
having weak LTE signal kills the battery but it should not be this bad.
Maybe you should try a factory reset and see if the problem still persist, if not then you have an rogue app somewhere.
You can use the process of elimination.
Start with disabling Dynamic notifications and Light flow as those have high potential for battery drain.
Sent from my Nexus 5 using Tapatalk
Elias_grodin said:
I am hoping I don have to resort to factory reset and can wait for the 4.4.3 update but I guess my patience is running out.
Thanks for your help.
Click to expand...
Click to collapse
Restart your phone in safe mode, and see the battery drainage...maybe it can help you.
It seems good for me
Sent from my Nexus 5 using Tapatalk
I had this same problem the other night. Get app ops starter from the play store. In there turn location off in Google play services and android system. Note, this may impact other apps. I don't use any that I need location for so it works for me.
Sent from my Nexus 5
I had a similar issue as well. For me I turned off a couple things and it really helped:
1. Turned off Cerberus, I believe checking location too often or incorrectly or something.
2. Turned off Account sync for Play Newstand. Noticed when a sync would occur, it would hang on Newstand for much too long which I think was waking device and keeping device awake during it's long syncs. Everything else would only take a min or two total.
3. Set G+ photo sync to only sync when on wifi and charging.
4. Removed Yahoo Weather app. Noticed yahoo weather app staying alive a lot too.
5. Removed Whatsapp. Probably unnecessary really, but any of those messaging/weather/location apps that I don't use often (if ever) I removed to make sure they weren't checking location in the background.
So far, I'm at 78% battery today when I would have been at around 30-40% usually, so that combo has made a huge difference.
It's going to be different for everyone I think, but basically just make sure you don't have any excess apps checking location in the background. And at least for me there seems to be something wrong with Play Newsstand sync hanging for long periods of time.
Yea... Even i had the same issues... Latest version killes ma deep sleep mode nd also some of a rules disappeared....
I was having similar issues and was able to narrow it down to syncing Google Services...
I found that often times Google Drive would get hung up when syncing in the background and chew up my battery.
What Google Services do you have set to auto-sync? I would narrow it down to the ones you only really need to have synced in the background and have the others sync up for you when you open them.
Also, in regards to your LTE/H+ signal, have you tried to flash another radio to see if there is any improvement? A poor signal can have a pretty significant impact on battery life as well.
Lastly, as mentioned by another user, Better Battery Stats, though requiring root, will make it a lot easier to track down the culprit of the issue if it indeed a rogue app somewhere.
Try different keyboard. I've a suspicion that latest Google Keyboard is the culprit.
I was having some unexplainable with BBS (no locks, etc.) battery drain. Which can only be resolved (though temporarily) with reboot.
So, I installed alternative keyboard (Swype in my case) and using it. So far, second day I don't have battery drain.
Update
Please refer to the OP for update. Thanks all.
battery after reset
After a second factory reset, I did not install a lot of the apps which I suspect have something to do with my drain - including Swype, Dynamic Notifications, Nova Launcher, LightFlow, Task Manager, 2x battery, Lux, Notification Toggle, Dash Clock, Automateit. I have also set my location to device only with no location history and history. I have also disabled Google Now. I have not restored my photos, music and videos to the phone yet. I have disabled sync for Google Plus, Google Drive etc.. I have also disabled auto back up for Google Plus. I am on ART.
The battery life (with around 25 % left) was around 6 hours 30 minutes or a bit more but with close to 2 hours 40 minutes screen on time. The screen was the biggest draw. Android system comes in second with around 13%. This is obviously better than before where I managed to squeeze maybe a hour or 30 minutes more but with 2x battery turned on in the background. I mostly used the phone for battery checking, whatsapp, Feedly, web surfing. I played games for around 20 minutes. I was not on wifi most of the time. Is this battery performance normal?
Thanks in advance.
Replacement offer by Google
Elias_grodin said:
After a second factory reset, I did not install a lot of the apps which I suspect have something to do with my drain - including Swype, Dynamic Notifications, Nova Launcher, LightFlow, Task Manager, 2x battery, Lux, Notification Toggle, Dash Clock, Automateit. I have also set my location to device only with no location history and history. I have also disabled Google Now. I have not restored my photos, music and videos to the phone yet. I have disabled sync for Google Plus, Google Drive etc.. I have also disabled auto back up for Google Plus. I am on ART.
The battery life (with around 25 % left) was around 6 hours 30 minutes or a bit more but with close to 2 hours 40 minutes screen on time. The screen was the biggest draw. Android system comes in second with around 13%. This is obviously better than before where I managed to squeeze maybe a hour or 30 minutes more but with 2x battery turned on in the background. I mostly used the phone for battery checking, whatsapp, Feedly, web surfing. I played games for around 20 minutes. I was not on wifi most of the time. Is this battery performance normal?
Thanks in advance.
Click to expand...
Click to collapse
I have reset the phone three times. After the third attempt, the battery drain for Android System would go back up to 20% plus. By the test of elimination, I thought I narrowed down the possible culprit to Light Flow and Dynamic Notifications. I uninstalled both of them but the battery drain remained 20% plus.
Google was willing to replace my device. I asked them whether the battery drain is likely a hardware or a software issue or a combination of both. They said (to my surprise) it is hardware issue. It seems they have come across quite a number of similar cases. I always thought it was a bug within 4.4.2 or in the google apps such as Google Play Services etc. and could be fixed by a patch or something. The phone also means a lot to me as it was a gift from my gf. I just don't want to go through the hassle of replacing the device if it is a software problem but I guess I am running out of choices unless I decide to wait for the update. What do you guys think?
It's definitely not a hardware issue. If you Google it there's threads all over the place with all different makes and models of phones having the same problem and no one can figure out why, apart from it definitely seems something to do with Google services (GmsCore.apk)
Your best option is to root your phone and use app ops and turn location access off for every app that doesn't need it. (pretty much everything apart from maps and weather apps)
Sent from my Nexus 5 using Tapatalk

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.

Having bad battery life on Nougat? Check this.

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------​What I have right now out of Doze are "Bluetooth MIDI Service", "Bluetooth Share", the "Clock" app and two other Clock apps.
I am not sure how effective is the method listed below after the last update. Stay tuned.​​
Also I think the current version of Facebook Messenger is draining too much battery.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------​Hello everyone,
when I bought my Zenfone 3 ZE520KL, I was amazed by it's battery life. I could easily get around 8 hours of SOT in a single charge with moderate usage. My device was running Android Marshmallow 6.0 out of the box, but performance wasn't as good. On Nougat, performance is much better and faster, also I used to get some lags and frozen screen, the capacitive keys also sometimes froze when I was charging my phone, but now I don't get issues like that as often as before. Interface is so much more appealing and I love it.
But what about battery life? I started getting around 5 hours of SOT.. which is still good, but not really close to 8 hours. I thought a lot about these 3 hours that were missing so I decided to start investigating. I wanted to share my findings with you so maybe you would know something that could help.
It's been two weeks since I have been testing out different things. The apps I used to do my research are:
Carat. What I love about this app is the process list. It shows exactly which apps and system processes are running in the background, so I can control them very easily.
Greenify. Thanks to the Carat app, I can see which apps continue running in the background, so I can use Greenify to hibernate them after I'm done using them. (Examples: Youtube, Snapchat etc.). Also I bought the Donation Package, and unlocked the other modes using adb commands (my device is not rooted).
BetterBatteryStats. This app is usually used to detect wakelocks. I limited the Google Calendar App from syncing so it doesn't use too much battery in the background. This app is paid in Google Play but you can get it for free from here.
What I did to get better battery life:
I excluded the services, that were always running in the process list from the Carat App from Doze. Apparently, the new Doze in Nougat gives us permission to optimize more system processes and services than before, which can backfire - Doze starts trying to kill processes that can't be killed, and this results in consuming more battery juice than saving it.
How to enter Doze settings and make the following changes:
Go to "Settings" > Select "Battery" > Tap on the three dots at the upper-right corner > Select "Battery Optimization" > Select "All Apps" > Find and tap on the Apps/Services/Processes I have listed below > Select "Do not optimize". The other apps and services should stay optimized.
The apps, processes and services that I removed from Doze are:
Android Services Library
Android System
ASUS Calling Screen
Bluetooth MIDI Service
Bluetooth Share
Camera
Clock
com.android.smspush
com.asus.keyboard
com.asus.shim
com.qti.qualcomm.datastatusnotification
com.qualcomm.qti.tetherservice
org.codeaurora.bluetooth
org.codeaurora.ims
com.qualcomm.qcrilsgtunnel
ICESound Service
Mobile Manager
MobileManagerService
System UI
Telecom Service
Telephony Service
ZenUI Keyboard
ZenUI Launcher
Some other apps that I'm using: Do It Later, Greenify, Messages, Nova Launcher, Timely, Weather.
Please do a full charge to 100% afterwards and check if the battery still drains as quickly as before. Your feedback will be greatly appreciated.
I am already starting to see improvement in my battery life. I was losing around 2% on Stand By and battery was draining fast when I was using the phone, but now I lost 0% on Stand By overnight and 10% for 1 hour of SOT (before this I was losing 10% for 30 min. of SOT). I am still trying to figure out which services exactly are causing the drain, when they are being optimized. Maybe the services, included in the Android System? (Check them from Settings > Battery > Android System > Included Packages). I deleted Facebook and Twitter apps and started using them from Chrome (almost the same thing, I quickly got used to that). Please check the updates below for more info and share your opinion or advice in the comments so we can all reach a better experience with this amazing smartphone.
Thank you for reading!
Update1: 6h30min SOT with 30% left (917mAh, 35%), but I will have to charge now. I have been messing with Doze a lot, maybe I'll get more clean results later. Progress has been made though, at least with my device.
Update2: Something interesting - my J-Score with the Carat app before and after starting this experiment: http://i.imgur.com/Q8u6HBD.jpg
Update3: There is a battery drain when making voice calls - 226mAh (7%) were lost because of 43 minutes long talk time.
Results were worse after testing with the second list removed, although there wasn't much draining with the screen on: SOT - 5h20min for 70% of battery (752mAh, 20%).
Update4: com.android.phone appears as a wakelock at BBS (Wakeups:8). Also 2h30 SOT for 30% used battery (100-70%~408 mAh). I'm updating the list and trying again.
Please note that my phone is updated to the latest firmware WW_Phone-14.2020.1703.28-20170410.
Update5: com.android.phone is still an active wakelock (Wakeups:14), but SOT is 2h34min for 30% used battery (100-70%~343mAh). At 30% battery left, SOT is almost 6hrs(28%~787mAh), Device Idle is at 10% (291mAh). The MobileManagerService is causing way too many wakelocks and is probably the reason for the high Device Idle battery usage.
Update6: MobileManagerService is no longer showing as a frequent wakelock. com.android.phone (Telephony Service - Wakeups:9) and com.google.android.apps.messaging are the most persistent wakelocks, other than that battery life is amazing at the moment. SOT is 2h45min for 30% used battery (100-70%~366mAh). I also had 27 min of talk time (4%~145mAh). At 30% left, I have 6h33min of SOT (32%~912mAh). Device Idle is again at 10% (292mAh). We are ready for the final test.
Update7: The results are quite interesting. After removing com.qti.qualcomm.telephonyservice from Doze, com.android.phone stopped appearing as a frequent wakelock at first, but now, at 70% it has 16 wakeups. SOT is 2h22min (100-70%~318mAh), so it's not better. I'm going to try a few more changes.
Update 8: I posted it as a reply here.
Update 9: I shouldn't have put Task Manager out of Doze, I get so much better battery life now. The update is ready, check it here.
Good post, thank you for investigating this, please let us know if you find more stuff or what exactly is responsible for it and an easy way of fixing.
1noob said:
Good post, thank you for investigating this, please let us know if you find more stuff or what exactly is responsible for it and an easy way of fixing.
Click to expand...
Click to collapse
Hello! Thank you for your reply. I'm so happy I could help others and myself with this thread, but I also need to know if you are also seeing any difference. Please check here regularly!
Also, I'm guessing that when you put your system processes and services in Doze, you also decrease their performance, which causes battery draining, as they try to run normally and do their work. Doze is trying to prevent them from doing that. This is my conclusion, but only results will show if I'm correct. If you own yourself a Zenfone 3, please feel free to report if you experience any changes using my method.
Thank you and have a nice day!
Hi, thank you for the post. I have a zenfone 3 here and will try your method.
I'm trying it on ze520kl with marschmallow, it seems working fine. :highfive:
Do you remove the first and second list from doze ? or ate testing with only the second list now?
Nice findings btw
pedromms86 said:
Do you remove the first and second list from doze ? or ate testing with only the second list now?
Nice findings btw
Click to expand...
Click to collapse
I have removed everything from both of the lists. It's still early to say but no major battery drain is noticed for now. Thanks!
bibbomio said:
I'm trying it on ze520kl with marschmallow, it seems working fine. :highfive:
Click to expand...
Click to collapse
Awesome! :good:
Thank you so much for this article. Well written as well. I have applied the changes and so far no issues (it has been 6 h is). Will report once I have more history
I remove the apps from doze, and can say it really improve battery (test for one day)
thanks !
@Blackrose110 any news improvements after update3 ?
New update is released via OTA (~500MB).
pedromms86 said:
@Blackrose110 any news improvements after update3 ?
Click to expand...
Click to collapse
Too early to say, also I got a weird wakelock, and lost 2% overnight. I lost the results (100-90%) after a restart. Now I'm going to update my phone and start again.
I had 8% used up on 43 minutes of SOT, and 2% lost on voice calls (100 and something mAh). I went to bed with 92%, I guess the other 2% were lost on that wakelock and the clock wakelock. These 2% were lost on equal intervals.
It's going to take a while, I'm just using my device normally. I don't have time to be on my phone all the time, also the battery is harder to drain now. At this point, I'm just trying to get better results.
Cheers!
pedromms86 said:
@Blackrose110 any news improvements after update3 ?
Click to expand...
Click to collapse
Check again tomorrow!
RobinRo said:
New update is released via OTA (~500MB).
Click to expand...
Click to collapse
Updating...
I don't think it is a good ideea to change Doze settings for system services like com.qualcomm.* or telephony*.
In theory, these services should be compatible with operating system and they should work as designed. I would focus on third-party apps who doesn't work well on Nougat.
Anyway, is just an opinion and i'm looking forward for updates
ci6i said:
I don't think it is a good ideea to change Doze settings for system services like com.qualcomm.* or telephony*.
In theory, these services should be compatible with operating system and they should work as designed. I would focus on third-party apps who doesn't work well on Nougat.
Anyway, is just an opinion and i'm looking forward for updates
Click to expand...
Click to collapse
Hello ci6i, I also agree with you, and that's why I excluded all of them from Doze when I first tried this out. At the moment, I removed only those system services, that run in the background all the time. My goal is to find the least amount of system services and processes, that are causing battery drain when the phone is in use.
I am not saying that you should do exactly what I did. It's best if you try out yourself on your own device what works and what doesn't.
I also have only excluded from Doze apps that I use daily. But everyone is using different apps and it depends only on the developers to update them.
You can download Carat for free from Google Play and check the process list, it's very useful. The app itself doesn't use any battery.
Good luck!
Blackrose110 said:
...
I am not saying that you should do exactly what I did. It's best if you try out yourself on your own device what works and what doesn't.
I also have only excluded from Doze apps that I use daily. But everyone is using different apps and it depends only on the developers to update them.
...
Click to expand...
Click to collapse
I agree with you and i really appreciate your work Yesterday I've installed Carat after i read your first post and today i did new OTA update and cleared cache partition. Let's see how it works in the next few days.
What should I do next, guys? Remove other com.qualcomm/com.android/com.asus services or remove just MobileManagerService from Doze? I'm thinking about the second one, I'm curious to see if ti makes any difference. I think the results from the first test were the best, and the MobileManagerService was out of Doze as far as I remember. Might as well try and see what happens.
It's a bit hard to drain the battery these days, so updates might not be fast. Patience is key!
Yeahh final test!! Looking forward to the result

[GUIDE] Improve Battery life and performance (no root)

MFirst of all i want to apologyze for my bad English.
After the nougat update i start getting a really bad battery life and have to charge the phone 3 times a day. I start digging in the problem and do test in search for a better battery. I managed to improve my 3hous SoT to get between 4.30 to 6 hours SoT.
The tweaks in this guide are not magical, there are just tips that help me improve a lot my battery life. There is no need to unlock bootloader or to root the phone. The idea is to make a good balance between functionality and battery life. Everyone can choose what thinks they want to sacrifice for battery life and what they want to keep. All the steps that are listed here are reversible and can't harm your device in any way. It is pointed to people that do not know a lot of this subject.
My advice is to full apply all the steps and after getting a good battery life start to enabling the features that you want to have on the phone one by one and test battery.
At the end of this guide there is a section with improvements wich aim is to make the moto x style look like more like the news motorola Phones.
Simple Tips for Battery life:
-After a major OS upgrade it is important to do a full factory reset, full wipe. When logging with your google acount start the device as a new device. Do not restore apps!
-Try to not use the Turbocharger. Based on my own experience, a good 1-2 Amp charger get a lot more juyce that the turbo charger. It may sound weird to you but i tested this a lot of times and really see and important difference. I only use the turbocharge when i am in a hurry.
-Do a full calibration of your battery. Let the battery get to 0%. Turn the phone off and let it charge to 100% and left it plugged a little bit more. After that unplugg the phone, restart it and see if the % is still 100%. If not plugg the phone again after a 100% charge and repeat the process until you get a full 100% charge or near that number.
-A good advice if to left the phone charging in the nigth, or when you think it is a good moment. After get to 100% of the charge, unplugg the phone, restart it and plug it again. For my the battery is not getting a good reading after Nougat update. After a restart i always "lost" like 8% of charge. I do this every time i charge the phone.
-The NOUGAT room is draining battery very very fast when there is bad celular signal. So if you are not having a good celular signal it is a good advice to put the phone in airplane mode until you change your location. Also, there is drain with bad wi-fi signal so try to avoid that too. It is not strong like the celular drain but can influence in your final results.
-Turn off location when you are not using it. If you have to use it try to use the "battery saver mode" and put high accuaricy when you are going to use the GPS for a precise fix or navigation. Google Play Services have and excess use of wackelocks due to location, they are listed ass NLPcollectorwackelock and NLPwackelock.
-If you are on Wifi turn off data and if you are in data turn off Wifi. If you can use both try to use Wifi with a good wifi signal. It uses a little bit less battery that 4G for me.
-Unninstall apps that you are not using or going to use in a short-mid time. They may be running in the background and eating
juice.
-Turn off automatic brigthness. Put your brigth to the minimun you are happy with. I used mine almost in the minimun and i see the screen perfect. Also remember that the power scale is non linear. Putting the wheel in the half of the brigthness bar is not getting you "half the brigthness of the screen".
Download autobrigth switch https://play.google.com/store/apps/details?id=com.abrody.brightness&hl=es_419 .This make you turn autobrigthness on with a click. This is very usefull if you are outside, let you see the screen with 100% and then let turn it off when you are inside. It is a easy way to manage brigthness.
IMPORTANT:When you are not using your device it must go to sleep mode. It is a mode where the CPU is almost turned off and it doens't drain much battery. Later in this guide i will explain how to properly install a Battery monitor program. It is very important to watch if the device is sleeping ok and there aren't apps with bad behaviours keeping the device awake and draining your battery. This can be seem in GSAM Battery monitor watching the held awake tab. If an app is keeping your device awake you have to uninstall or contact the developer and tell him about your problem with his app.
Tunning the system to Optimize the Battery and Performance:
For this part you will need to have installed ADB drivers, you can download and install from here:
https://forum.xda-developers.com/showthread.php?t=2588979
You have to activated debug mode on the phone:
Go to settings, about phone, tap 7 times the Compilation Number until you see a message saying that you are a developper. Now go to settingss, developer and activated USB DEBUG mode. To see what apps are running in the background on your phone go to settings, developer, in execution.
Also you will need to install 4 more free apps, later they can be uninstalled if you want:
App inspector to know the name of certain package:
https://play.google.com/store/apps/details?id=bg.projectoria.appinspector
App Ops to manage special permissions of apps:
https://play.google.com/store/apps/details?id=com.findsdk.apppermission&hl=es
Shizuku Manager is needed to give the permissions necesary to App Ops:
https://play.google.com/store/apps/details?id=moe.shizuku.privileged.api
Gsam battery Monitor for monitoring apps usage:
https://play.google.com/store/apps/details?id=com.gsamlabs.bbm&hl=es
The aim of this part of the guide is to disable all the features and apps that may be drainning your battery.
All of this can be reverted one by one after getting a good battery and testing the results and the impact on battery life:
-Turn off location, bluetooth, NFC.
-Go to moto app and turn off Moto Voice, Moto screen, Wave to wake. I keep the flaslight and the cam gesture on but you can dissable them if you want.
-Go to settingss, Motorola privacy and turn off enhancet device support and help us with bla bla.
-Go to settings, security, back up and turn off data back up.
-Go to settings, location, turn of Google location History and share location of google. In the Rigth upper corner tap on the 3 dots and turn of bluetooth scanning and wifi scanning.
-Go to settings, google, search, and turn off all the features like feed, nearby, voice detection, notifications, doodles, google fit, firebase App Indexing.
-Go to settings, google, security, dissable google play protect,etc. (If you consider this ass important do not disable it)
-Go to settings, apps, tap the 3 dots in the upper rigth corner and tap on show system apps. Disable Motorola device manager and Motorola notifications. Also delete the apps data.
-Go to accounts and turn off syncronizations of all the things you really don't need. For instance in google account i left on contacts, Chrome and Contacts info only.
-If you are using chrome go to settingss, site configuration. Turn off location, notifications, sync in the background. In the sync settings just let the chrome sync only what you need.
-Disable all google and motorola apps that you are not using. For instance Google Duo, hangouts, play music, play books, play games, carrier services, Motorola connect, talkback, devices help, etc.
-Search for apps that ask for permission you think they don't need it. Speacially location.
-Turn off special permission that you think apps don't need. The special permission can be managed going to settings, apps, tap the wheel, advance-special acces:Look to "change system settings" and "get over other aplications". Also turn off acces to data usage for Google Play and Google Play services.
-Go to settingss, security, trusted agents, disable smartlock.
-If you have apps like greenify installed, uninstall them.
-If you have home widgets be sure that they are not using your location and also if it posible put the refresh time to the minimum.
-I don't use GBOARD, it was not working ok for me and also draining battery. So i search in the internet and donwload the latest google keyboard version before GBOARD, it works perfect. I do not recommend GBOARD as it is not working ok and it is not propperly optimized.
Using ADB for Background process:
The next step consist of disabling System process and apps that you no not need to run in the background, for example MotoCare:
Motocare is a system process that runs in the background and collects info of your device use even if you turn off motorola privacy features. That not makes much sense but it is there and can't be disable in a easy way.
After installing ADB, drivers and turning on USB DEBUG MODE, plug the phone, go to the search bar in windows and search for CMD. Open it.
Write:
abd devices
Is everything is ok you will see a device in the list that is your Moto x Style. If not figure out what is the problem, make sure DEBUG MODE is on and that you give the propper permission in the phone.
Then write:
adb -d shell pm grant com.gsamlabs.bbm android.permission.BATTERY_STATS
This will let you see full wakelock list in GSAM Battery Monitor app. This is very important to know if there is an app keeping your device awake.
next:
abd shell
cmd appops set "com.motorola.motocare" RUN_IN_BACKGROUND ignore
cmd appops set "com.motorola.motocare.internal" RUN_IN_BACKGROUND ignore
This last two lines will stop motocare. After this go to apps, with "show system apps" on search motocare and motocareint and delete all the data. After that check that motocare is not running in the background.
cmd appops set "com.motorola.ccc.ota" RUN_IN_BACKGROUND ignore
cmd appops set "com.motorola.ccc.checkin" RUN_IN_BACKGROUND ignore
This will turn off OTA services. If you want to take an OTA after this, (if motorola ever send another OTA for our device) you can just go to settingss, about phone and check for update manually. (After enabling Motorola device Manager and Motorola Notification). Anyway is there is a new OTA you probably are going to know it from XDA forums.
You can use the same command to disable apps that you don't need to run in the background but you want to use.
To use this commands just open app inspector, search the app you want. Copy the package name and use the command with that package. Anyway in the next step i will show you a easy way to do the same with other apps that are not from the system.
If you want to re enable and app to run in the background just reinstall it or write the same sentence changing "ignore" for "allow":
For example with Facebook. If you search it in app ops the package name is com.facebook.katana . The name of the package is "katana" because it is like smashing your battery with a Katana lol.
adb shell
cmd appops set "com.facebook.katana" RUN_IN_BACKGROUND ignore
to enable it:
cmd appops set "com.facebook.katana" RUN_IN_BACKGROUND allow
My advice is to not use this command with google services or with system apps you don't know what they do in your phone. It may get you in a problem.
Now we are going to see another way to stop apps for running in the background. This is usefull with apps that you want to keep and don't want to run in the background.
For example in my case, i use facebook app but don't want it to run in the background. Also i disable all navitagion apps to run in the background, Here we go and google maps in my case. They both work perfect when I open they, don't need them running in the background. I let apps like WhatsApp, Instagram, Tinder, Facebook Messenger to run in the background because i want to know when someone send a message and don't want to wait until i open the app. If you don't need the notifications my advice is to don't let run in the background. That will get you a considerable amount of battery. Whatsapp have a lot of battery drain. For some reasons it has the acelerometer turn on a ridiculous amount of time and it triggers google play services wackelock PackageMeasuremntservice.
Connect the phone via usb and launch terminal as we did before, search bar and search button, type CMD and open it. Open Shizuku Manager
Wrote in the terminal:
adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/files/start.sh
if you do it rigth you will see that the server starts running. Now unplugg your phone, close shizuku manager and open App Ops. If you turn off your phone you will have to repeat the process in order to get app ops running again.
Search for apps that you don't want to run in the background. In the permission settings there is "run in the background", you can turn it off or on from there. It has exact the same effect that doing it in the ADB terminal ass we did it in the previous step. But motocare can't be disabled from the app.
Also you can manage all the permission from the apps one by one in a lot better detailed way than from the stock app settings..
There is also a trick with google play services and location. I am getting a big wake up with NLPcollector and variants. If you turn off the network location permission in google play services it will stop the wakelock even if you have your location ON. That make google play services almost drainless. The problem is that some apps may not get a correct location in "battery saving mode" because they use google play services. This is fixed turning on high presition mode or device only mode and letting the GPS do the location work only when you need it.
Finally you can tweak all your apps permissions and see the battery results. The two most important permission related to battery life are the location and the background one. Try to disable location for everything you don't need to be tracking you.
Tunning your Moto X Style:
To get the new Camera app from motorola:
Go to apps, search for stock camera app and disable it. Delete all the app data. Go to settings, security and turn on "Unkown Sources".After that donwload the moded camera app from this tread:
https://forum.xda-developers.com/moto-x-style/themes-apps/moto-camera-6-0-43-10-modded-apk-t3459690
Restart your phonr and Install it! Now you have the new camera app . It work almost perfect, the only things that are not working for me are: Twist to change to selfie mode, shutter time in pro mode and white balance in pro mode. Don't forget to thanks the developer for this great app. Also turn off Unkonw Sources after the installation.
To get the Moto Z command Widget:
Donwload and install this app:
https://forum.xda-developers.com/moto-maxx/themes-apps/moto-z-command-center-widget-t3417171
Don't forget to turn location of the widget off, you can put your location manually and save battery.
Launcher 3:
https://forum.xda-developers.com/moto-z-play/themes/moto-z2-play-launcher-google-root-t3623608
It is the new Motorola Stock Launcher. You can try the Moto G5 Launcher too, it is in XDA.
Unlock Method:
The phone doesn't have fingerprint scanner but a good alternative is to use face unlock. LG and Samsung do a lot of marketing of something that is build in on android stock and work almost perfect. Go to security, turn smartlock on.Then go to smartlock and turn on face detection. It works like a charm, is almost instantaneous. My advice is to do this after getting a good battery life as smartlock features can affect battery. Make sure you don't have on trusted places on Smartlock as it drains your battery. Also if you have location ON it may drain your battery even if you don't have trusted place on, so take care. The trusted face feature on its own drains a negligible % of battery.
As i stated in the beggining:
If you want the best battery life you always have to do a compromise between it and features of the phone. For example i love moto display and the wave to wake feature but it takes so much juice of my phone.
My advice is to do all the steps, make sure you are getting a good battery life and after that start reenabling one by one the features you need and watching the impact of them in your battery life. Also i know that some of the stuff i mention may have a negligible impact in battery for themselves but when you put all together they do make a difference. My phone is draining almost 0% on stand by mode with doze. I let it with a %, go to sleep and when i wake up i have the same %.
At this moment i am testing battery on my phone and seeying wich features do make a big diference in battery life.
For instance i am using smartlock, face unlock with location off and in security settings i have android device manager enabled. They seems to not affect the battery performance so much. I will continue testing features to see wich ones are the main offenders.
Any suggestion or any question is welcome! Also if this helps you please let me know and post your battery life before and after.
Great guide, although might a bit extreme for some people to do all of these things.
I can tell you the biggest increase in battery life i have seen is to disable the Moto Display and Moto Gesture to wave over the display... My idle usage has stopped in half and maintains around 2% with it all off.
acejavelin said:
Great guide, although might a bit extreme for some people to do all of these things.
I can tell you the biggest increase in battery life i have seen is to disable the Moto Display and Moto Gesture to wave over the display... My idle usage has stopped in half and maintains around 2% with it all off.
Click to expand...
Click to collapse
Yes, i know that for some people it may be too much, but the guide is divided in parts so anyone can take what they seem comfortable with.
I agree with you, wave to wake and moto display are the main offenders and i feel that with nougat the battery drain of this features get agravated a lot more. It is a shame because i really like that features but they drain your battery even with the screen on..
Great guide, thanks
With the Nougat update my sot is way better up to 4 h, while on mm it was around 3.5h.
I just wonder why buy a phone with features like wave hand, etc. and not using them?
That's a pity that Moto doesn't have d2w like lg phones, it's very handy.
I don't like to look for button to press it every time.
I know that's everybody's choice. Just my 2 cents.
Does turning off all location stuff that you mentioned affects any usability, notifications, etc?
Sent from my XT1572 using XDA-Developers Legacy app
2be3_80 said:
Great guide, thanks
With the Nougat update my sot is way better up to 4 h, while on mm it was around 3.5h.
I just wonder why buy a phone with features like wave hand, etc. and not using them?
That's a pity that Moto doesn't have d2w like lg phones, it's very handy.
I don't like to look for button to press it every time.
I know that's everybody's choice. Just my 2 cents.
Does turning off all location stuff that you mentioned affects any usability, notifications, etc?
Sent from my XT1572 using XDA-Developers Legacy app
Click to expand...
Click to collapse
If your SOT increased on Nougat, it is because the OS is more efficient elsewhere... hardware power draw cannot be changed with software.
Why not use the gestures? Like anything else, they are unnecessary for normal operation and consume extra battery, waiting for detect you waving your hand over the display takes some power, not a lot, but over 10-12 hours it is noticeable... Why buy a phone with gestures if your just going to turn them off? Because the pluses outweigh the negative and there is no perfect device.
Moto probably doesn't implement DT2W because the screen technology they use would require the screen (digitizer actually) to be powered all the time, increasing idle battery draw from 2-5% per hour. It is implemented in some 3rd party kernels and ROMs, but few people use it because over 12 hours of sleeping time, it consumes 25%-50% of your battery capacity. :/
I'm not going to get into the other stuff, things like disabling Google Play services and location services and stuff like that, just take away too much functionality for my taste for what you gain. In general when not traveling, I need 3 hours of SOT in a day and this device generally makes that. When traveling (which I did on very regular basis for years until this week) I was under 50% before 9am and near dead by noon if I didn't charge or connect to battery pack. So in general these optimization are not enough to do what I need, so I just skip them.
2be3_80 said:
Great guide, thanks
With the Nougat update my sot is way better up to 4 h, while on mm it was around 3.5h.
I just wonder why buy a phone with features like wave hand, etc. and not using them?
That's a pity that Moto doesn't have d2w like lg phones, it's very handy.
I don't like to look for button to press it every time.
I know that's everybody's choice. Just my 2 cents.
Does turning off all location stuff that you mentioned affects any usability, notifications, etc?
Sent from my XT1572 using XDA-Developers Legacy app
Click to expand...
Click to collapse
For my after nougat update the battery life go to Hell. I was getting 3hs lf SoT wich is unaceptable for me.
I understand your point and i really like wave to wake. It is nice. For my is nicer to have 5hs or more of SoT. In nougat my wave to wake eats battery like crazy and i really don't need it much. Answering your question, disabling motocare only disable motorola remote support. All the other moto stuff doesn't affect the phone, only disable the OTAs. There is nothing in the guide that compromise basic functionality of the phone, maybe only disabling location permission on google play services with app ops can affect location on some apps. As i stated in the end, everyone have to chose between functionalitis and battery life.
After i managed to get 6hs SoT i start to enabling things and test how was my battery life. I will stop in the 5 hours SoT limit.
At this moment i reenable: moto voice, location in saving mode, smart lock with face unlock, android administrator to lock the device remotely and i am getting between 5hs to 5:20hs SoT. Next step is to try with moto display.
NahuelMS said:
For my after nougat update the battery life go to Hell. I was getting 3hs lf SoT wich is unaceptable for me.
I understand your point and i really like wave to wake. It is nice. For my is nicer to have 5hs or more of SoT. In nougat my wave to wake eats battery like crazy and i really don't need it much. Answering your question, disabling motocare only disable motorola remote support. All the other moto stuff doesn't affect the phone, only disable the OTAs. There is nothing in the guide that compromise basic functionality of the phone, maybe only disabling location permission on google play services with app ops can affect location on some apps. As i stated in the end, everyone have to chose between functionalitis and battery life.
After i managed to get 6hs SoT i start to enabling things and test how was my battery life. I will stop in the 5 hours SoT limit.
At this moment i reenable: moto voice, location in saving mode, smart lock with face unlock, android administrator to lock the device remotely and i am getting between 5hs to 5:20hs SoT. Next step is to try with moto display.
Click to expand...
Click to collapse
I have run ADB commands and after each and everyone I had no confirmation dialogue nor anything.
I have rebooted device and how can I check if I had done everything right?
Sent from my XT1572 using XDA-Developers Legacy app
2be3_80 said:
I have run ADB commands and after each and everyone I had no confirmation dialogue nor anything.
I have rebooted device and how can I check if I had done everything right?
Sent from my XT1572 using XDA-Developers Legacy app
Click to expand...
Click to collapse
If you have done everything rigth you wont see the apps running unless you open they. To see process in execution you have to go to seetings, about device, tap 7 times build number until you get the message that you are a developer.
Go to seeting again, you will see developer option. In there you search for in execution. If you do everything rigth you wont see motocare or moto things runnings. Same with the apps like facebook, etc. They only appear in execution when you open they or have they in recent apps.
Let me know if your battery get improved.
This if from last test:
Enabled moto display, moto voice, face unlock, location in battery saving mode. Disabling background things really help with battety life.
NahuelMS said:
This if from last test:
Enabled moto display, moto voice, face unlock, location in battery saving mode. Disabling background things really help with battety life.
Click to expand...
Click to collapse
That's really good achievement.
I can't get close to your results.
I have disabled moto apps running in background, location off, Moto display on, wave hand on.
I only use WiFi/network when needed.
Hmm what could be the culprit?
On this charge I think I will get about 4h sot.
Sent from my XT1572 using XDA-Developers Legacy app
2be3_80 said:
That's really good achievement.
I can't get close to your results.
I have disabled moto apps running in background, location off, Moto display on, wave hand on.
I only use WiFi/network when needed.
Hmm what could be the culprit?
On this charge I think I will get about 4h sot.
Sent from my XT1572 using XDA-Developers Legacy app
Click to expand...
Click to collapse
Yes, i think the average for those conditions is 5 hs (mine conditions)
Are you using turbocharger? How old is your phone? Maybe the battery is getting bad? Did you disable apps like facebook running in the background? Installed Gsam Battery monitor amd check there isn't an app eating your juice or keeping your device awake? Do you have good signal? My best advice is to do all the steps of the guide and see how much of battery life are you getting in that condition. Them start reenabling things like moto voice, moto display and finaly wave to wake. Did your battery got improved dissabling moto stuff?
Wave to wake for my on Nougat was a battery hog. Maybe try to disable it and see how much your battery improves!
My phone is from February 2017, never used turbocharger (I believe it's killing battery over time). Not using Facebook.
When updated to Nougat I did factory reset and disabled various Google apps that I don't use, like Duo, Google+, etc.
My sot was around 4 h with Moto display and wave hand gesture. After disabling Moto stuff from your guide though ADB I haven't noticed any improvements. I will observe few more days. I don't have any Moto update processes running in background.
I use Gboard and like it very much, so it's a keeper for me.
Thanks
Sent from my XT1572 using XDA-Developers Legacy app
2be3_80 said:
My phone is from February 2017, never used turbocharger (I believe it's killing battery over time). Not using Facebook.
When updated to Nougat I did factory reset and disabled various Google apps that I don't use, like Duo, Google+, etc.
My sot was around 4 h with Moto display and wave hand gesture. After disabling Moto stuff from your guide though ADB I haven't noticed any improvements. I will observe few more days. I don't have any Moto update processes running in background.
I use Gboard and like it very much, so it's a keeper for me.
Thanks
Sent from my XT1572 using XDA-Developers Legacy app
Click to expand...
Click to collapse
Try one or two days without wave to wake and see how much battery you can get. I don't think Gboard should be a deal breaker in battery life in comparison with google keyboard, i don't think it is the problem. Maybe there is an app keepping your device awake? Your phone is almost new so i doubt from battery problems. Can you post a screenshot of battery usage and signal, awake time, etc, from your android battery usage?
This is from today with mid usage and time with low signal:
Today I did factory reset and will observe how it goes without tweaks but with most apps shipped with phone disabled that I don't use
2be3_80 said:
Today I did factory reset and will observe how it goes without tweaks but with most apps shipped with phone disabled that I don't use
Click to expand...
Click to collapse
If you allready did a factory reset i don't think it will give much battery in same conditions and take into account that android take some cycles to calibrate the system and the apps, so battery duration should getting extended during the first week until it reach a plateau.
Just an FYI... Up until a week or so ago, I was averaging 2h 45m to 3h screen on time in an average day and since I started using my phone for work (BYOD program, always had a separate work device before) the battery life started really mattering so I made the following changes...
- Dropped Facebook and Messenger (MASSIVE battery hog apps, always at the top of the list) and moved to Facebook Lite (yes, you can get it in the US, just have to use APKMirror, and it includes Messenger services in the same app)
- Dropped Accuweather (was keeping device awake and accessing location dozens to hundreds of times per hour) and switched to 1Weather
- Dropped Microsoft Outlook (keeping device awake and using background data, and a Device Administrator I didn't want) and switched to Nine
- Dropped OpenSignal (was using background data and waking device very frequently)
- Disabled Moto Display entirely
- Disabled Moto Action Wave to Wake
These 6 things are all I have done... I keep all services active, high accuracy location, all accounts and services syncing, no background data restrictions, no disabled apps, backup and other services like Motorola services all running, no adjustments in permissions, using Gboard as my default keyboard, and I have ~120 apps installed, 80% of which are occasional use only. I use a Quick Charger about 50% of the time for boost charging at work or when traveling, but overnights it is on a standard (5v/1.8A) charger and not QC. I have seen my Doze and Deep Sleep times increase significantly, with Deep Sleep time approaching to 75%... And Screen On Time over a normal day increasing by nearly an hour on average... In fact, yesterday I had my best SoT in over a year with 4h 28m over a 16 hour day in mixed use, including a 6 hour YuGiOh tournament where I used the phone to keep score of my matches (with marginal LTE service and no WiFi), going out to eat 20 minutes away, and then back home for some video game time with friends and still have 20% battery remaining when it went back on the charger, probably could have gotten 5.5 hours if I pushed it near zero. Making it sufficient for daily use for me again.
Am I saying this is the answer for everyone? No, but install a good battery monitoring tool like GSAM Battery Monitor and see what is using your battery (make sure to enable advanced reporting, requires ADB connection)... and don't just look at the default screens, dig into the app after some use. The "View % Power Used" screen only tells part of the story... Make sure to look at View Number Times Waking Device, View GPS Time Used, and View Time Held Awake because some things are not always so obvious. Accuweather for one was "hiding" some of it's usage in Android System and Google services in the View % Power Screen, but when you looked in View Time Held Awake and View GPS Time Used, it became evident it was doing something.
Some other apps which can be culprits are shopping apps, they often track where you are frequently... such as Walmart, Sam's Club, Best Buy, CVS, and most other dedicated apps for shopping. Alternative messaging apps like Messenger, Whatsapp, Kik, Skype, Viber, SnapChat (currently the #1 battery killer out there according to several sources), etc. often keep the device awake and use background data. Airline and other travel apps often check your location every minute or even more frequently even when not open. "Optimizer" apps like LionMobi Power Battery, CleanMaster, and similar tools are worthless and usually consume more resources than they help with. News apps like BBC News often use background data and keep the device awake... Some of these apps might be worth it's battery consumption for your usage, maybe not, the point is to know the problem and decide if it's needs to be fixed or not.
All I am saying here is that before you blame the device or hardware, make sure it isn't your software or usage that is the real culprit, but sometimes it does take some digging.
The last update to the clock app is buggy for me. It is using massive CPU and kepping my device awake for hours. It is important to check if it is working ok.
NahuelMS said:
The last update to the clock app is buggy for me. It is using massive CPU and kepping my device awake for hours. It is important to check if it is working ok.
Click to expand...
Click to collapse
I would try clearing the clock cache / data
On Gsam the clock doesn't even show up on my CPU usage.
Hemidrosis said:
I would try clearing the clock cache / data
On Gsam the clock doesn't even show up on my CPU usage.
Click to expand...
Click to collapse
Allready did that but it didn't fix it. The problem was sporadiclly. Finally uninnstaled the update, cleared all the data and updated again, no sign of the problem for now! Thanks!
Facebook lite and messenger lite if you use those services help a ton all by themselves. Shopping apps I disallow them using background data and location. It's doesn't take that long to grab location once open. Saves a great deal of data and battery.. Amazon apps turn off background data takes care of most battery drain issues related to them.

Categories

Resources