So I know I'm not the only one having problems with notifications. The issues I have found with every firmware up to 137 are:
1. Regardless of Doze settings, enters IDLE in five minutes.
2. Sometimes, regardless of Doze settings, never gets out of IDLE into IDLE_MAINTENANCE
So to work around these issues, the only way to do it is to disable Doze. Disabling Doze will potentially cost you battery life, but you will get notifications from email client and any other software, as if it were Lollipop.
So what's a good way to do this easily? Tasker is the best answer I've come up with.
Here are the instructions which worked for me. This has solved all the notification issues I have had, but it's a little bit of a pain.
1. Make sure your phone is rooted. Purchase and install Tasker.
2. Create a task. Action category is Code-> Run Shell. Command is -- dumpsys deviceidle disable --. Check Use Root. Then click the lower right hand corner to make an icon, and go back to Tasks menu. Long press the task you made to highlight it, then choose the menu in the upper right and choose export. Export it 'As App' (it may prompt you to install something)
Run this app every time you start up your phone, or set it to auto run in the app settings. Make sure it has root permission. If you did this correctly, it will disable doze until the phone reboots, and Doze won't interfere with notifications anymore.
Hopefully all these issues get fixed soon!
duraaraa said:
So to work around these issues, the only way to do it is to disable Doze.
Click to expand...
Click to collapse
Have you also tried selecting the Performance plan?
Performance setting still won't work.
Sent from my HUAWEI NXT-AL10 using XDA Premium 4 mobile app
Maybe it can help.
{
"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"
}
Sent from my HUAWEI NXT-L29 using Tapatalk
somboons said:
Maybe it can help.
View attachment 3632622
Sent from my HUAWEI NXT-L29 using Tapatalk
Click to expand...
Click to collapse
How did you get in that setting? I can't find it in my phone 'setting'
snugroho3 said:
How did you get in that setting? I can't find it in my phone 'setting'
Click to expand...
Click to collapse
That is greenify app.
Sent from my HUAWEI NXT-L29 using Tapatalk
Is greenify working ok without xposed?
sure thing, xposed only enables some extra functions. been using greenify without xposed for a long time now
I have to hand it to you. This worked. I was skeptical, but as soon as I disabled doze using this method, all of my notifications became instant. Absolutely no delay. It's a shame to have to give up doze to get notifications to work correctly, but it makes the phone 100% more usable. Thanks, man. This thread hasn't had anywhere near enough attention.
Making apps system apps, whitelisting, performance mode, locking apps in memory, and turning off doze for individual apps (not to mention tweaking the doze settings) - None of that worked. Doze is seriously broken on this phone. None of my other phones on 6.0 have this issue. Thanks for figuring this out. I was going to park the phone until an ASOP or Cyanogenmod ROM came out.
duraaraa said:
So I know I'm not the only one having problems with notifications. The issues I have found with every firmware up to 137 are:
1. Regardless of Doze settings, enters IDLE in five minutes.
2. Sometimes, regardless of Doze settings, never gets out of IDLE into IDLE_MAINTENANCE
So to work around these issues, the only way to do it is to disable Doze. Disabling Doze will potentially cost you battery life, but you will get notifications from email client and any other software, as if it were Lollipop.
So what's a good way to do this easily? Tasker is the best answer I've come up with.
Here are the instructions which worked for me. This has solved all the notification issues I have had, but it's a little bit of a pain.
1. Make sure your phone is rooted. Purchase and install Tasker.
2. Create a task. Action category is Code-> Run Shell. Command is -- dumpsys deviceidle disable --. Check Use Root. Then click the lower right hand corner to make an icon, and go back to Tasks menu. Long press the task you made to highlight it, then choose the menu in the upper right and choose export. Export it 'As App' (it may prompt you to install something)
Run this app every time you start up your phone, or set it to auto run in the app settings. Make sure it has root permission. If you did this correctly, it will disable doze until the phone reboots, and Doze won't interfere with notifications anymore.
Hopefully all these issues get fixed soon!
Click to expand...
Click to collapse
I made and run this app but i dont know If it has root permission and doze gets disable or not. How can i control if it has root permission and doze gets disable or not after i run this app?
HUAWEI NXT-AL10 cihazımdan Tapatalk kullanılarak gönderildi
johnweber7375 said:
I made and run this app but i dont know If it has root permission and doze gets disable or not. How can i control if it has root permission and doze gets disable or not after i run this app?
HUAWEI NXT-AL10 cihazımdan Tapatalk kullanılarak gönderildi
Click to expand...
Click to collapse
You can check using adb.
I don't have the phone now (it's bricked) so I'm sorry to say I can't be sure the command is right, but I think you should see something like disabled if you run
adb shell dumpsys deviceidle
Then you will know that it worked.
greyhulk said:
I have to hand it to you. This worked. I was skeptical, but as soon as I disabled doze using this method, all of my notifications became instant. Absolutely no delay. It's a shame to have to give up doze to get notifications to work correctly, but it makes the phone 100% more usable. Thanks, man. This thread hasn't had anywhere near enough attention.
Making apps system apps, whitelisting, performance mode, locking apps in memory, and turning off doze for individual apps (not to mention tweaking the doze settings) - None of that worked. Doze is seriously broken on this phone. None of my other phones on 6.0 have this issue. Thanks for figuring this out. I was going to park the phone until an ASOP or Cyanogenmod ROM came out.
Click to expand...
Click to collapse
I spend a LOT of time figuring it out, but it was definitely Doze.
The dead giveaway is that Hangouts (high priority message so Doze doesn't matter) worked fine.
I'm happy it works for you. Let's hope Huawei fixes this. Most Chinese users don't really care about Google Cloud Messaging and get their notifications through other services which Doze doesn't affect, so I'm thinking they're not likely to fix it, but we'll see.
Anyone that disabled doze can check how big of an impact it is on battery life?
Also anyway to fix without root?
I solve this issue by giving priority to the important apps notification and all warking perfect now
My device is L29 with kangvip rom
somboons said:
Maybe it can help.
View attachment 3632622
Sent from my HUAWEI NXT-L29 using Tapatalk
Click to expand...
Click to collapse
Thanks mate it helped me solving the notification issue without needing to root my phone.
This does indeed work. Have a look at this thread as well.
http://forum.xda-developers.com/android/apps-games/root-doze-settings-editor-android-t3235130
I wonder if there is some parameter in an apk or in the kernel I can edit so when you flash a ROM doze is disabled by default.
Thanks buddy for that doze thread!
I disabled hangouts and the battery life got much much better
Other notifications I have set via the settings--->notification panel---->notification manager and set according to the app use
bibiner said:
Anyone that disabled doze can check how big of an impact it is on battery life?
Click to expand...
Click to collapse
No difference at all for me. Standby time is just as good. Huawei's own "Doze" still works if you want it to, also.
bibiner said:
Also anyway to fix without root?
Click to expand...
Click to collapse
Yes you can run that command with ADB without root and it will work just as well. Just be sure to have USB debugging enabled in developer options. The part about root is so that you can use Tasker to automate the process instead.
somboons said:
That is greenify app.
Sent from my HUAWEI NXT-L29 using Tapatalk
Click to expand...
Click to collapse
Thanks for the greenify hint mate!
Related
Thats right
this rom is amazing but there is ONE big problem and that is Battery Drain while the phone is in deep sleep!
you allways gets around 80% deep sleep and 20% at 200mhz CPU usage.
i have found what causes it and there is two apps running that eats power.
1: Maps
2: Samsung Push Service
{
"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"
}
The easiest way is just to do a Force Stop on both then the problem is gone.
but i have not found what settings to use to stop them from running in deep sleep.
maybe someone can figure it out?
i want Google Maps but not Samsung Push Service
just killing Google Maps every time isnt right
Would autostarts work?
This post was pulled out of my arse.
Yeah me too facing the same thiing its mostly on 200mhz and the battery is dieing like hell
Edit i used titanium backup and froze both the apps
Hmm my battery life for today kinda idle usage but I tried with power saver mode on no visible decrease in performance too
Sent from my GT-I9100 using xda app-developers app
Actually I don't get the Samsung one on mine only maps
Sent from my GT-I9100 using xda app-developers app
i have done some more testing but im not 100% sure what causes the drain.
it has nothing to do with Samsung Push Service that for sure.
i use Better Battery Stats instead of CPUSpy to see more details and the only app that woke up the phone was maps.
but only if Google Now was on
i think its has something to do with Google Now and "Location and Google search" under Location Services
something bugs it out.
just disable Google Now and untick "Location and Google search" and restart the phone
then you should have your deep sleep at 90% or more
now its cool
this is just 2minutes so the % will rise for a longer time..didnt have time to test longer
you should not have any alarm for the MAPS here
i had two of them before
this one is still there but causes no problem
Set Google Now to OFF and untick Location and Google search and restart
i hope they fix this
you shouldnt disable apps to get decent battery life
where is the google now settings to turn it off?
http://support.google.com/nexus/bin/answer.py?hl=en&answer=2669986
neuropsychosis said:
Would autostarts work?
This post was pulled out of my arse.
Click to expand...
Click to collapse
I have the push service frozen. I used autostarts on Maps and disabled it every place I found it. Everything location based still works fine, course and fine. The only bad thing is that once you use the Maps app, you have to go and kill it and kill it out of the cache and make sure its done quick enough that it doesn't respawn. I'll be really happy when holding down the back button kills it entirely. It might be worth making a widget for that now that I think of it. Also, as posted, turning off Google Now is needed since it opens Maps (I think; its been a while since I trialled it).
It's a test version, it's for test purposes, if you decide to use it as your daily rom you must accept it's issues.
So, IMO this topic seems useless to me, a new version will be launched in a while.
Its not worthless. This helps people isolate what causes the drain and perhaps come up with ways to fix it.
This post was pulled out of my arse.
sergini said:
It's a test version,
Click to expand...
Click to collapse
nah its the real deal remember
sergini said:
It's a test version, it's for test purposes, if you decide to use it as your daily rom you must accept it's issues.
So, IMO this topic seems useless to me, a new version will be launched in a while.
Click to expand...
Click to collapse
new version of this leak?are you saying?
Have the same problem with deepsleep. I'm using original stock odexed rom and battery drain in deep sleep is around 1% per hour which is too much. On my previous rom I've used - MIUI ICS it was around 1% per 8 hours! This is a big difference and something is wrong with it. What's strange on this situation is that CPU spy shows 99% in deepsleep overnight, therefore there should be no big drain. Has anybody encoutered such problems? Just check the battery level when you go sleep and check in the morning by how many % it droppped... Besides this, the rom is almost perfect. Very smooth and stable.
UPDATE: After turning location services off, the battery in deep sleep is superb. No drain anymore. Not sure if it is because of that but now it works great. The best rom ever, even in beta stage! Looking forward for official.
This may be harder on Touchwiz since it apparently doesn't support shortcuts. Its worth looking into I suppose; I haven't any experience with Touchwiz apart from deciding I want to use another launcer. I use nova launcher which works well, others would be fine but my best experience is with Nova and Apex. Both should suffice.
For maps, I've disabled it everywhere in autostarts, then for using it and killing it on exit, so that it doesn't run as a service persistantly, I've used Smanager and Swidgets (you need both installed or another app that will run a shell script) to create a script that kills maps when it isn't the foremost app displayed. Note that this kills maps if you try to background it.
https://play.google.com/store/apps/details?id=os.tools.scriptmanager&hl=en
https://play.google.com/store/apps/details?id=os.tools.smwidgets&feature=more_from_developer
Credits to this post; and most likely someone will bother to make a better solution that doesn't kill it when its backgrounded, with the info given there. As you can see, I didn't bother trying out the kill process the way it's layed out in the post but just freeze and unfreeze maps instead.
http://forum.xda-developers.com/showpost.php?p=30175170&postcount=3
I didn't bother messing around all that much and take note that you could just as easily have smanager automatically freeze maps on startup and not worry about autostarts. In any case, the script just unfreezes maps, checks every 2 seconds to see if its running as the foreground displayed app, and if not, freezes it. As such, you lose your maps icon and need to get an icon or icon pack with maps on it to use for your widget.
The script is as follows:
Code:
#!/system/bin/sh
pm enable com.google.android.apps.maps
am start com.google.android.apps.maps/com.google.android.maps.MapsActivity >/dev/null
while [ "`dumpsys activity top | grep '^TASK.*' | cut -d ' ' -f2`" = "com.google.android.apps.maps" ] ; do
sleep 2
done
pm disable com.google.android.apps.maps
Copy and paste the above to somewhere on your sdcard. It can run on the FAT filesystem with the given app. Other approaces would just need the interpreter to call the app (sh or bash if you have it installed), and that might work.. if not then putting it on the /data filesystem would be fine since its ext4 but it'll be gone when wiping data for an upgrade.
Pretty basic after reading the linked post.
pm enable: Unfreezes maps in the case that it is.
am start: Starts maps.
while, sleep, done: Checks every 2 seconds for Maps being in the foreground.
pm disable: Freezes maps app.
Much room for improvement but it suits me really well.
For Smanager and Swidgets, open Smanager, select root if needed, allow root, navigate to script (save it with a .sh file extension when pasting, though not sure if this is needed or not), tap on script, select little root icon so it runs as root, select "is script" if not already selected. exit Smanager but don't kill it. It will want to run as a cached process for starting it on boot, if you kill it on some point just open and close the app again.
Select to add a shortcut in launcher, choose SMshortcuts, select the script. Don't bother giving it a custom icon; best to do it in the custom launcher since it doesn't seem to scale the default one correctly I'm assuming it might not scale one you give it correctly.
Done.
If you wanted to use Smanager (or an alternative app, init.d script assuming it works on this rom, etc) to just freeze maps at startup and not wory about apps like autostart or Gemin, you'de just use:
pm disable com.google.android.apps.maps
That should remain frozen on a reboot, so ideally you'de want to test first to see if its already frozen or it would exit with an error but this might not be a bother for many people.
When you talk smartphone, you want consistency, you want reliability, you want good battery life. And considering also that the Xperia Z2 doesn't have a swappable battery, at least not easily, you want your mobile to keep going for as long as possible.
So this thread is to help you optimise the battery life of your Xperia Z2. It's not 'Magic', it's just knowing what drains battery and avoiding it. Simple tips most people know and well, many more should. I will also use the steps from my Initial thread here - http://forum.xda-developers.com/showthread.php?t=2579075 as the steps there are actually helpful to just about any android devices.
Just dat in this thread, i will try to target it at the Xperia Z2 of course.
Xperia Z2 specific tips (Or any other Xperia device)
1. Turn On Stamina Mode: App drawer > Settings > Power Management. Turn it on.
After turning on Stamina mode, remember to add the applications you need active in Standy, these are applications your rely on for notifications, such as Instant messaging apps.
If you do not do this, you will not receive IM messages or email notifications till you turn on your screen.
Example of the apps on my list are: BBM, Email, Gmail, Instagram, Messenger (FB), WhatsApp. So I still get my messages.
2. Turn On Extended Stand By: App drawer > Settings > Power Management > Stamina mode. Then tick Extended Standby.
3. Turn On Extended usage: App drawer > Settings > Power Management > Stamina mode. Then tick Extended Usage. (If you notice lag, turn off this feature) - But this has a HUGE effect on extending battery life. I don't get lags, so i leave it on.
4. Turn On Low Battery mode: App drawer > Settings > Power Management. Turn on Low battery mode. Now select Low Battery mode then Unick Mobile Data Off and WiFi Off, as i'm guessing you would still want to use your internet when ur battery is below 20%.
5. Turn On location Based WiFi: As the name implies, it turns on ur WiFi when u are in a certain location (say home or office). Then turns WiFi off when u out of that location. This feature doesn't work in my situation as I have a mobile pocket router. So I keep it turned off, do the same if you you have one of those too.
6. Turn On Queue background data: App drawer > Settings > Power Management. Tick Queue background data.
As the description below it says, what it does is queue the background data and send out background data at intervals, instead of sending randomly and using more battery.
7. Turning Off X-Reality Engine: This can also help you save some battery, but i guess most people will rather have than on. You can find this here Settings > Display. First thing on the list is X-Reality Engine.
8. Freeze Bloat: Bloatware are apps that could be useful but are not neccesary for the effective running of the phone. The more bloat u have running, the more ram your device uses and in turn, battery. I have made a list of Apps that are 'Safe to Freeze' on the Xperia Z2 itself, as I am not yet rooted at the time of this original post, the list is not yet complete.
But I will add alot more to this list when I root and get the option to freeze even more. You can disable these apps by going into Settings > Apps, then swipe to the 'All' tab. Select the app then hit disable.
Here is the list below.
Safe to Freeze Apps
Account Manager
Black Hole
Bubbles
Drive (I have limited data, i don't use it - I reckon it will drain battery too)
Google lyrics extension
Google Play Newsstand
Google Search (Will explain later in this post)
Google+ (Will explain later in this post)
Maps (Will explain later in this post)
Movie Creator (This disables Timeshift Video creation)
News & Weather
Photo Analyser Service
Play Games
Podcast
SensMe slideshow
Sketch
Smart Connect (You will need for Sony accessories)
Social Live
Socialife
Sony Select (You will need enabled to download themes)
Support
Weather Widget
Wikipedia extension
Wireless Emergency Alerts
Xperia Calender Sync
Xperia Music Likes
Xperia Socila Engine Sharing
Xperia Lounge
Xperia with Facebook
YouTube (I almost never use it, if you do.. No need to)
YouTube extension
YouTube karaoke extension
General Tips (Adopted from my first thread)
9. Greenify: ROOT ONLY EVERY rooted user must have Greenify! It's a fantastic app! It hibernates apps that you are not using so they never get to use your battery, yet the apps are available whenever you need them. No stress!
Download Greenify here - https://play.google.com/store/apps/details?id=com.oasisfeng.greenify (I bought the paid version as it has more fuctions)
For those who don't know greenify or how to use it, it's simple! Only Greenify those apps you don't rely on for Push Notifications.
For example, don't greenify apps like WhatsApp, Facebook, Viber, Twitter, BBM if you expect to get notifications from them in the background.
Feel free to Greenify other apps like your games, adobe reader, dictionary, and the rest of them as you don't receive notifications from.
Note: If you are a NON ROOT Greenify user, you can still select to greenify apps. Go into Greenify and click the '3 dots' at the bottom right corner of the screen and hit 'Create hibernation shortcut'. This will send a shortcut to your home screen which u can use to close all ur supposedly 'greenified' apps by just touching that button. Do this whenever, especially just before u lock ur device. It's very effective. However, Greenify works best on Rooted devices. It hibernates automatically.
10. Screen/Brightness: As we all know, normally the screen consumes the most power so if you can manage ur screen properly, u can get some extra juice. My advice on brightness is set to Lowest then tick 'Auto', so you won't have to bother about setting screen brightness especially when outdoors. Then you should screen also set timeout to 30s. Try to avoid using live wallpapers as it uses the GPU for the animations.
11. GPS/Maps: Now, GPS is like the Number One drainer of battery and many many people don't know this. Here is what you do, pull down your notification bar with 2 fingers and make sure 'Location' is turned off. Leave turned off 'ALWAYS' unless you need to use GPS.
Maps is also another app that drains battery in the background, I don't use maps at all, so I keep it frozen/disabled all the time.
But if you use maps always and you are ROOTED, my advice is that you open up TitaniumBackup, look for maps on the list of apps, long press it and then convert to User app. Now u can Greenify it and it will still be available whenever you need it.
Note: Latest versions of Titanium Backup doesn't allow you to convert user apps, I can't find it anywhere anyways.. But here is a work-around. Uninstall Maps in Titanium Backup. Then re-install it from Play Store. Now it will install as User app instead of system app and u can freeze it.
12. Google Now / Google+: Google now does drain battery, if you don't use Google Now, turn it off. Go into Google now, enter settings and turn off. I keep my Google now frozen as I never use it anyways. If I ever need to, I will unfreeze it.
Google+ is one app that drains alot of battery, if you do not use it much or don't need it at all, my advice is that you handle it. Greenify it or better still, Get rid of it. However, if you use Google+ always and you are ROOTED, Greenify it just as I said in the step above.
If you successfully handle numbers 11 and 12, you will not have issues with 'Google Services' drain anymore!
13. Sounds/Vibration: Maybe not really a big deal, but those keypad/touch sounds do drain battery. It's fine to leave them on if you 'really' like em, but if you can do without, then do! Especially Haptic Feedback! (Vibrate on touch). Settings > Sound. Now scroll down to System. You will get the option there to turn them off. It's fine to leave Dial pad touch tones and StartUp tone. You don't hear/use then dat often (If that makes any sense to you lol). Also go into ur keyboard settings and turn off any sounds and vibration
14. Reception: Believe it or not, reception is VERY IMPORTANT when it comes to battery life saving. If you have good reception, then it's smooth sailing and good battery, but if your reception isn't good then your phone is always always trying to reconnect your apps and services to the internet, over and over and over again! (especially on mobile data). Trust me, this can take a serious Toll on your battery.
Here is how: Well, since i'm always on WiFi (have a pocket router as i said earlier).. I never need '3G/HSPA' reception active (No 4G here), so I set my phone to GSM/2G Only. Go into Settings > More... > Mobile Networks. then change Network mode to GSM Only). If you use LTE, you can set to either just 3G Only as that should still be more stable than 4G/LTE, you can still set as above too, afterall you won't be needing the LTE connection when on WiFi.
Bottomline, setting phone to 'GSM only' saves you a CHUNK of battery
However, if this sounds too complicated or something, this App makes it simple. (SADLY it is ROOT ONLY) You can set it to switch your phone to GSM Only when on WiFi and then Back to 4G/3G when disconnected from WiFi. Pretty Neat eh?
http://forum.xda-developers.com/nexus-4/themes-apps/app-intelli3g-2g-3g-4g-toggle-battery-t2580234
15. Disable Animation scales: Settings > Developer Options. Then scroll down to 'Drawing' section. And set the following to 'Animation Off'. Window animation scale, Transition animation scale and Animator duration scale. What this does it disable those UI animation helping you save battery, at the same time, making ur phone feel more responsive and fast.
Note: If you can't find 'Developer Options' in your settings menu, Select 'About Phone' instead then scroll down and keep hitting the 'Build number' option as many times till you see message saying 'You are now a developer', now go back and you will find developer options!
16. Sync: Of course disabling Auto Sync will extend your battery time, but then your smartphone might as well not be called a 'smart'phone anymore. So, even if you leave Auto-Sync on, be sure to make sure that your phone Auto Syncs stuffs that you actually want it to, things that you really need! Especially under Google Sync. Open Settings, Scroll down to 'Accounts' area then select Google. After you select Google, now select ur main account there which i guess should normally be the first one. Not sure, I only alays have 1 google account on my phone. After you select it, you will see a list of the items it is actively Syncing. For me here, the most important to me are 'Sync Contacts' and 'Sync Gmail' and those are the only two I leave active. I untick all the rest. You should do this according to what you use, or do it like Stanley! You can apply same to other google accounts you have on ur phone.
Extra (Unrelated)
I found out that the Whites on the Xperia Z2 is kinda off. Looks 'brownish' if I may. Go into Settings > Display > White balance. Then try R = 5, G = 35, B = 80.
Want more tips? Have some questions? Want quicker response?! Or you can actually contribute...
JOIN THE XPERIA Z2 FACEBOOK GROUP HERE
Having said all these, I know some of you will disagree with some things I have written above. But I'm only trying to help Xperia Z2 users get the best out of their Battery.
And hopefully the screenshots below will convince you to try some or all of the tips above. And as I said, I'm not rooted (at the time of this post) so i guess even root is not essential to get the best battery life on the Z2.
I had BBM, WhatsApp, 2 Email clients (Stock and Gmail), Instagram, Messenger (FB). Stock Facebook app drains too much battery! I don't use it.
First Test
ScreenTime
{
"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"
}
Battery Graph
For some reason, GSam Battery Monitor Pro did not tally with the phones stats exactly. I think it was because I didn't install the Kitkat battery stat thing it asked me to or maybe its because i'm not rooted. Don't know really. Anyways, it's only about 1 or 2 minutes off and still as credible, you get a better idea of how i used my phone.
GSam Battery Monitor Pro
Second Test with Extensive Usage
GSam Battery Monitor Pro
Screentime
Battery Use
I hope this thread really helps you 'Maximize the Battery Life of your Xperia Z2'
CHEERS!
thanks for sharing and making the list of safe apps to disable. I followed the list and disabled almost all of them and you should include xperia with twitter as well beside the facebook one. Since im not rooted,thats the only thing i do now + stamina mode. Now i will see how it will go with battery saving
StarFcker said:
thanks for sharing and making the list of safe apps to disable. I followed the list and disabled almost all of them and you should include xperia with twitter as well beside the facebook one. Since im not rooted,thats the only thing i do now + stamina mode. Now i will see how it will go with battery saving
Click to expand...
Click to collapse
Ok i will add to the list as i said. Don't forget to say if it helps you. Cheers!
Thanks for the post. It's nice to see I'm not the only one who's anal about battery life. And I hate all the battery draining bloatware (that's usually switched ON by default as well).
I'll de-bloat some more as soon as there's an exploit that allows me to root without UB.
And I'll have a look into Greenify as well. Is it as good as You claim it to be?
EDIT: It would be nice to know what all those safe-to-remove apps do. What does Xperia Social Engine Sharing do, for instance?
Don MC said:
Thanks for the post. It's nice to see I'm not the only one who's anal about battery life. And I hate all the battery draining bloatware (that's usually switched ON by default as well).
I'll de-bloat some more as soon as there's an exploit that allows me to root without UB.
And I'll have a look into Greenify as well. Is it as good as You claim it to be?
EDIT: It would be nice to know what all those safe-to-remove apps do. What does Xperia Social Engine Sharing do, for instance?
Click to expand...
Click to collapse
I will look at them, but i guess it has to do with sharing something from an app in ur phone to FB. 'Safe to Freeze' only means freezing it won't disturb ur phone and not that u must freeze them all. I don't use these...
Unless rooted, I don't think greenify helps that much. It doesn't seem to hibernate properly once out the app. Just sits in pending?!
belloni said:
Unless rooted, I don't think greenify helps that much. It doesn't seem to hibernate properly once out the app. Just sits in pending?!
Click to expand...
Click to collapse
True! Greenify is more effective when u rooted.
Great guide!
I was to point out to users that Freezing 'Movie Creator' disables Timeshift Video creation.
Lolento said:
Great guide!
I was to point out to users that Freezing 'Movie Creator' disables Timeshift Video creation.
Click to expand...
Click to collapse
Thanks alot mate! Added to OP.
Is stamina mode necessary with greenify on or vice versa? Seems like they do the same thing
Sent from my D6503 using XDA Premium 4 mobile app
xnknown said:
Is stamina mode necessary with greenify on or vice versa? Seems like they do the same thing
Click to expand...
Click to collapse
I was wondering the same thing. Stamina seems to be doing a great job :good:
xnknown said:
Is stamina mode necessary with greenify on or vice versa? Seems like they do the same thing
Sent from my D6503 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Don MC said:
I was wondering the same thing. Stamina seems to be doing a great job :good:
Click to expand...
Click to collapse
Lol. I get ur confusion. But technically, No. Stamina mode disables internet to stop apps from transferring data. Greenify closes the entire app. Let's say for instance, you sleep off using your phone, maybe with Google Chrome running, stamina mode will only stop google chrome from transferring in the background 'periodically' but Greenify will close Google chrome entirely because it sees that your screen has been turned off for a while which means that you are not using the app. So, it closes it entirely. Saving you even more juice.
I do nothing you are mentioning and getting almost 2 days battery life.
Sent from my D6503 using XDA Premium 4 mobile app
PiskopatYazar said:
I do nothing you are mentioning and getting almost 2 days battery life.
Sent from my D6503 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
with 10 hours screen on time like the OP??
stu_tls said:
with 10 hours screen on time like the OP??
Click to expand...
Click to collapse
Firstly Im not wasting my 10 hours of a day on my phone.
Secondly I get 5 - 6 hours on screen
PiskopatYazar said:
Firstly Im not wasting my 10 hours of a day on my phone.
Secondly I get 5 - 6 hours on screen
Click to expand...
Click to collapse
when you get 10 hours like the op you wont be getting 2 days out of it
I can get 3 or 4 days out of mine if I hardly use it
stanley08 said:
Lol. I get ur confusion. But technically, No. Stamina mode disables internet to stop apps from transferring data. Greenify closes the entire app. Let's say for instance, you sleep off using your phone, maybe with Google Chrome running, stamina mode will only stop google chrome from transferring in the background 'periodically' but Greenify will close Google chrome entirely because it sees that your screen has been turned off for a while which means that you are not using the app. So, it closes it entirely. Saving you even more juice.
Click to expand...
Click to collapse
Do we need root to use greenify?
Sent From My Sony Xperia Z2 D6502 White .402
paras said:
Do we need root to use greenify?
Sent From My Sony Xperia Z2 D6502 White .402
Click to expand...
Click to collapse
Yes. To use it effectively.
PiskopatYazar said:
I do nothing you are mentioning and getting almost 2 days battery life.
Sent from my D6503 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Then this thread isn't for you. Neither is it compulsory that you must comment. If I leave my phone in my closet, I will get over a week battery life.
Trolls will troll. Let's ignore them..
Thanks for the good tips!
Vangelis13 said:
Trolls will troll. Let's ignore them..
Thanks for the good tips!
Click to expand...
Click to collapse
Haha! True mate! And Cheers!
If you're running a recent CM based or aosp ROM you've most likely encountered some pretty severe battery drain from Google Play Services (or Android OS as it sometimes shows up as). Below is a procedure that will halt the battery drain, but will not affect the running of your device.
Enter Privacy Guard through Settings/Security or Settings/Privacy, then click Advanced or Show Built-In Apps (depending on which ROM you're running). From here you can select Google Play Services and deny the Wake Up, Keep Awake, and Auto-Start options. Reboot phone. This should drastically reduce the amount of battery that Google Play Services and Android OS consume.
{
"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"
}
If you're on a ROM that doesn't include Privacy Guard or App Ops as standard you need to take a slightly different approach. Download this:
https://play.google.com/store/apps/details?id=com.sika524.android.quickshortcut
Open the app and it should already be in the Activities tab, scroll down to Settings and click on it, that will open up a whole list of different options, scroll down to the App Ops option and click on that, hit the create button at the bottom of the screen.
This is going to add a Settings icon/shortcut to your home screen, click on that and you'll be taken into the secret App Ops section of the settings menu, from there just find Google Play Services and click on it, then disable the Wake Up and Keep Awake options. Reboot phone, no more Google Play Services battery drain.
Please note: If you rely on your location being updated frequently then this method might not be right for you. This method disallows Google Play Services from waking your device every minute to obtain your location and Google Now cards are affected as a result. All other Google services should function normally.
Donate To Me
Transmitted via Bacon
I can vote for this, I did have massive battery drain from google services, but now, none.
Glad to help.
Sent via Bacon
Do you need root access for this?
Yes. I'll add that information to the OP.
Sent via Bacon
This guide is a little excessive, the biggest battery killer for that app, especially if you use Google Now, is the wake ups permission, so denying just that will fix most of the battery drain. If you want to go the extra mile, denying the keep awake permission also which fix the other minor part and none of these fixes require root
EDIT: Just noticed you said AOSP, which doesn't have the wake up or keep awake permissions to deny IIRC, so what I said only applies to the CM ROMs
Calkulin said:
This guide is a little excessive, the biggest battery killer for that app, especially if you use Google Now, is the wake ups permission, so denying just that will fix most of the battery drain. If you want to go the extra mile, denying the keep awake permission also which fix the other minor part and none of these fixes require root
EDIT: Just noticed you said AOSP, which doesn't have the wake up or keep awake permissions to deny IIRC, so what I said only applies to the CM ROMs
Click to expand...
Click to collapse
While this may seem excessive, the fact is it works. My personal experience was that after changing the things mentioned that don't require root I still had Google Play Services draining my battery. As with anything though, mileage may vary. I'll add a note that the root section may or may not be required.
Forgive me for using a term (AOSP) that most XDA users associate with anything that's CM based. While it may not technically be 100% correct, it seemed to be in keeping with the vernacular used by your average XDA member.
Thanks for your input, I appreciate it.
Sent via Bacon
A much simple process (that doesn't require root) worked for me:
1. I used Privacy Guard to deny Google Services "Wake up," "Keep awake" and "Auto start."
2. Under Settings > Apps > Running I stopped all instances of Google Play services.
They still come back but aren't killing my battery with wakelocks. It seems to accord with what Calkulin said above.
Thanks a lot, I have done everything in the OP, will report back
CafeKampuchia said:
A much simple process (that doesn't require root) worked for me:
1. I used Privacy Guard to deny Google Services "Wake up," "Keep awake" and "Auto start."
2. Under Settings > Apps > Running I stopped all instances of Google Play services.
They still come back but aren't killing my battery with wakelocks. It seems to accord with what Calkulin said above.
Click to expand...
Click to collapse
Like I said just above, mileage may vary. It's awesome if doing just that worked for you, but for others it isn't enough for some reason.
Sent via Bacon
timmaaa said:
If you're running a recent CM based ROM you've most likely encountered some pretty severe battery drain from Google Play Services (or Android OS as it sometimes shows up as). Below is a series of procedures that will halt the battery drain, but will not affect the running of your device.
The first thing you need to do is to enter Privacy Guard through Settings/Security or Settings/Privacy, then click Advanced or Show Built-In Apps (depending on which ROM you're running). From here you can select Google Play Services and turn off everything except for location. This may or may not be enough, if you still suffer battery drain please move on to the next step.
Please note: everything below this point requires root!
Next you need to download Android Tuner. Open it and pull out the side menu, scroll down to the Apps Manager section and select Application Startups. Open the box at the top and change it to All, click the button in the bottom-right until it says System, scroll to Google Play Services and select it, a huge list will open, scroll to very near the bottom and find the Wakeup option, uncheck the box.
Go back to the main menu of Android Tuner and pull out the side menu on the left, scroll down to the Apps Manager section and select Application Manager. Click the centre box at the bottom until it says System, scroll to find Google Play Services and highlight it, press the Manage button in the bottom-right and select Permissions. This should bring you to the Perms tab, swipe across to the Services tab. In this list you want to uncheck anything that starts with Ads or Analytics, you also want to uncheck anything that starts with com.Google.android.location.reporting as well.
Sent via Bacon
Click to expand...
Click to collapse
Do these changes revert back to how they were before when cyanogenmod releases the next update to their ROM?
sharp2G said:
Do these changes revert back to how they were before when cyanogenmod releases the next update to their ROM?
Click to expand...
Click to collapse
Its already confirmed to be fixed in the next OTA. So you won't need this.
zephiK said:
Its already confirmed to be fixed in the next OTA. So you won't need this.
Click to expand...
Click to collapse
It's nice to have now instead of waiting.
Thanks a lot for this guide, it makes more help to maximise my battery life witch drains too much on aosp roms, i'll see how it changes.
mbudden said:
It's nice to have now instead of waiting.
Click to expand...
Click to collapse
I didn't mean it like that, read carefully. He was asking if the fix from. This would be saved over for the next Ota when the next Ota will contain the fix so therefore it doesn't matter if this "fix" stays.
Sent from my One using Tapatalk
So what does it really affect? Is it to stop reporting data to Google for their analytic stuffs, e.g. ads personalization?
knzzz said:
So what does it really affect? Is it to stop reporting data to Google for their analytic stuffs, e.g. ads personalization?
Click to expand...
Click to collapse
Yeah that's pretty much it. It arrests reporting for targeted advertising.
Transmitted via Bacon
Just got my phone and saw this thread, haven't experienced any battery drain but I'll just apply this fix first just in case, thanks :good:
Thank you so much
I did what you said on the other thread doing "system tuner" first, and on the Android tuner i dont have the option to check/uncheck any ads etc?
Disable these two services using Disable Service App. That's it, nothing more!
{
"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"
}
GoogleLocationManagerService
GoogleLocationService
Full Service Name:
com.google.android.location.internal.GoogleLocationManagerService
com.google.android.location.internal.server.GoogleLocationService
My Idle drain which was around 20-30 even with Wifi Data etc off was down to single digits with Wifi and data ON.
Other things I've tried and failed :
Deny Wake Up and Keep Awake permissions to GPS.
Greenify GPS , this only works for a short while but as soon as GPS is back online battery drain also comes back.
Get servicely to kill GPS.
Uninstall and reinstall GPS from play store.
Clear GPS data.
And a few more that I can't remember.
WARNING :
THIS WILL ESSENTIALLY BREAK LOCATION SERVICES.
If you don't use location, well and good.
If you do, you'll have to re enable these two services every time you want to use Maps or any app that uses location.
I use Tasker to re enable them whenever the app launches.
I've attached two apps for enabling and disabling these two services, you can use them as shortcuts whenever you want to enable or disable the two services.
Also attached xml files of the tasks that you can import into tasker. Profile condition should be whatever apps that use location when launched. Use Enable service task as enter task and disable task as exit task.
Minor bug I noticed with Google Maps, enable the two services and turn on Location then launch app, but it won't show you your location sometimes, exit app clear it from recents launch again to get it working.
Thank you for this fix, the issue was driving me nuts. Every other fix I've tried turned out to be only temporary, but after following your instructions the drain seems to be gone for good.
Thank You and Queries
This has helped the most of all the "Fixes" I have tried. Makes a very drastic difference. It's appalling that Google or it's Dependants would wan't to know your Location at such great cost to battery-life. It would have been great if switching the Location On and Off switch in Settings automatically Enabled and Disabled these services for the user.
Any particular reason why your Application has to keep monitoring in the background? Both Enable and Disable keep running for me. Couldn't they exit after they are done?
Thank You in any case for your work.
on&off said:
This has helped the most of all the "Fixes" I have tried. Makes a very drastic difference. It's appalling that Google or it's Dependants would wan't to know your Location at such great cost to battery-life. It would have been great if switching the Location On and Off switch in Settings automatically Enabled and Disabled these services for the user.
Any particular reason why your Application has to keep monitoring in the background? Both Enable and Disable keep running for me. Couldn't they exit after they are done?
Thank You in any case for your work.
Click to expand...
Click to collapse
It doesn't keep monitoring in the background, at most it'll get cached for a while.
There should be no side effects.
Good One
Great Find and explanation.
Thanks
thank you it's work very well
Thanks it works for Samsung S3 as well
Thanks a lot !
PSA: I recently disabled google location history and the drain seems to have lowered to 10mAh, without having to disable those two services.
Just thought others could try the same and see if it helps.
Enable location, then turn off location history.
Google settings - Personal info & privacy - Activity controls - Location history.
I kept location on for a day in battery saving mode then turned it off.
venky716 said:
PSA: I recently disabled google location history and the drain seems to have lowered to 10mAh, without having to disable those two services.
Just thought others could try the same and see if it helps.
Enable location, then turn off location history.
Google settings - Personal info & privacy - Activity controls - Location history.
I kept location on for a day in battery saving mode then turned it off.
Click to expand...
Click to collapse
The drain was definitely there even with Location History off before I disabled the services. Perhaps they fixed the issue with a GPS update? Although everything I know about Google tells me that's highly unlikely.
Sauronych said:
The drain was definitely there even with Location History off before I disabled the services. Perhaps they fixed the issue with a GPS update? Although everything I know about Google tells me that's highly unlikely.
Click to expand...
Click to collapse
I don't know if Google has fixed it, but I saw lower drain recently.
Not as low as with the services disabled but still acceptable.
Have you ever used the privacy guard to deny these services ??
Sent from my A0001 using Tapatalk
adibaba777 said:
Have you ever used the privacy guard to deny these services ??
Sent from my A0001 using Tapatalk
Click to expand...
Click to collapse
I have and it doesn't work anymore with the recent play services update. What a shame, it used to be such an easy fix! I'll try the methods OP stated and see how it goes. Play services have been plaguing me for far too long!
@venky716
You are my hero!!!
After all the romours what actually cause the battery drain by google play service, thats the real reason!
With the privacy guard fix sometimes there was less battery drain, sometimes it was more, but with this fix my phone almost not losing battery in standby at all! And with Tasker its so easy and I don't have any problems with google maps or here maps.
Thanks alot!!!
Why not just turn off location until you need to use it? Isn't this just doing the same thing just a lot more clicks and time involved?
? Good Luck and GOD BLESS!! ?
Yeah, you should think it would be so easy
Without turning off this services you will still have this battery drain. Maybe Google is still checking your location even if you turn it off or its just that play services wakes up the phone only to find out that there is no location to check.
So if I want to use maps with gps, will this fix affect me?
Enviado desde mi Oneplus One
johnb380 said:
Why not just turn off location until you need to use it? Isn't this just doing the same thing just a lot more clicks and time involved?
? Good Luck and GOD BLESS!! ?
Click to expand...
Click to collapse
I keep location disabled at all times but found that this service was still active all the time and disabling it immediately brought down the idle drain.
elargento said:
So if I want to use maps with gps, will this fix affect me?
Enviado desde mi Oneplus One
Click to expand...
Click to collapse
Yes it will, with the services disabled you won't be able to use maps.
In order to use maps you'll have to re-enable the service, either by tasker or desktop widget shortcuts provided in the OP, before using maps.
Read the OP again carefully [emoji14]
Especially the last part about maps.
venky716 said:
I keep location disabled at all times but found that this service was still active all the time and disabling it immediately brought down the idle drain.
Yes it will, with the services disabled you won't be able to use maps.
In order to use maps you'll have to re-enable the service, either by tasker or desktop widget shortcuts provided in the OP, before using maps.
Read the OP again carefully [emoji14]
Especially the last part about maps.
Click to expand...
Click to collapse
Sorry I asked the wrong question. I meant if I use the phone's gps for offline navigation apps like Viago or navmii.
Enviado desde mi Oneplus One
Year it has solved for me. Cm12.1 with ak kernel.
Within the past few days I've noticed that me x727's battery has been draining quite a bit faster. Always at the top of the list in battery stats is System Service. I always have location services and Bluetooth disabled. Has anyone had a similar issue and figured out the exact cause?
edit: I just came across this post from someone else who has Mint SIM and they suggested entering the APN values manually instead of using what the network gives your phone automatically. https://community.zteusa.com/thread/13643#74674. So far it seems like phone is holding a data connection immediately after Wi-Fi disconnect, but time will tell how battery life will be.
edit 2: manually setting the apn values using what Mint Sim provides on their website has completely foxed the issue! My battery life is back to normal and my data connection holds normally again.
I have this exact same problem, but with location services on. Also, I had Android OS draining the battery. I don't know what is causing these issues. Hope someone can find the problem.
Habe also problems with System Services
{
"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"
}
Swipe away settings on recents
After one month without reboot or switch off the phone also i had the same problem: reboot the phone twice helped me.
Same issue here, System Service is about 50-70% of values of screen (e.g. if screen is 40%, System Service is 20-28%)
A reboot or swiping away settings don't seem to help for me.
Same here. I did rebooting the phone twice and swipe away settings does not seem to help, too.
- So enable background resource control if you disabled it before via *#46360000#*#*
- Limit the apps (particularly LeEco apps) running on start-up via Permissions setting
- Limit the apps showing notifications via Notification management
Joms_US said:
- So enable background resource control if you disabled it before via *#46360000#*#*
- Limit the apps (particularly LeEco apps) running on start-up via Permissions setting
- Limit the apps showing notifications via Notification management
Click to expand...
Click to collapse
Disabling the background resource control cause the System service and Android OS to ramp up? I disable it, because of notification issues with gmail, whatsapp, hangout, and outlook mail. Notification only works when I open the app. Other than that, notification never works.
crazy1990 said:
Disabling the background resource control cause the System service and Android OS to ramp up? I disable it, because of notification issues with gmail, whatsapp, hangout, and outlook mail. Notification only works when I open the app. Other than that, notification never works.
Click to expand...
Click to collapse
My notifications (gmail, yahoo mail, work email, messenger, hangout) are perfectly fine with Background Resource Control enabled.
Joms_US said:
My notifications (gmail, yahoo mail, work email, messenger, hangout) are perfectly fine with Background Resource Control enabled.
Click to expand...
Click to collapse
Really? Did you change any setting in the phone manager app or something like power saving management, auto launch, align wakeup, etc? Or you leave everything alone as default? I had this issue since 19s. Lol. I might be missing something.
crazy1990 said:
Really? Did you change any setting in the phone manager app or something like power saving management, auto launch, align wakeup, etc? Or you leave everything alone as default? I had this issue since 19s. Lol. I might be missing something.
Click to expand...
Click to collapse
I made sure the apps that send notification will auto-launch (Permissions menu) and they can notify (Notifications Management menu) and Important Notice star enabled as well. Google sync should be enabled under Account Management and some apps like Gmail have Sync options that should be enabled as well.
Align Wakeup and Ultra Long Standby both disabled and mine is running stock 21S.
And oh notifications are also coming thru my Gear Fit2 for convenience. =D
HTH
Joms_US said:
I made sure the apps that send notification will auto-launch (Permissions menu) and they can notify (Notifications Management menu) and Important Notice star enabled as well. Google sync should be enabled under Account Management and some apps like Gmail have Sync options that should be enabled as well.
Align Wakeup and Ultra Long Standby both disabled and mine is running stock 21S.
And oh notifications are also coming thru my Gear Fit2 for convenience. =D
HTH
Click to expand...
Click to collapse
Thanks for the help. I recently change the setting and will test it for a couple of days.
Edit: I test the notification after making some changes on what you did. The notification works, but it's 15 minute delay. It's not an instant. Is this normal?
This is ridiculous. My mother's galaxy 6 life is better now with this issue.
Sent from my LeEco Le Pro3 using XDA Labs
Replied by mistake, can someone delete this post please?
TheDethEgineer said:
This is ridiculous. My mother's galaxy 6 life is better now with this issue.
Click to expand...
Click to collapse
Sent from my LeEco Le Pro3 using XDA Labs
Its common issue if you browse various forums, many users with many different devices has this issue. Ofcourse google could optimise system better, but 90% of times its due to user configuration/buggy apps. First thing i would do is turn off backup under settings and location history.
Incogn said:
Its common issue if you browse various forums, many users with many different devices has this issue. Ofcourse google could optimise system better, but 90% of times its due to user configuration/buggy apps. First thing i would do is turn off backup under settings and location history.
Click to expand...
Click to collapse
It does seem to be a common issue from what i've found in my own research, however the issue seems to have gotten a lot worse on my device in the past few weeks for an unknown reason.
darkmuck said:
It does seem to be a common issue from what i've found in my own research, however the issue seems to have gotten a lot worse on my device in the past few weeks for an unknown reason.
Click to expand...
Click to collapse
I can guarantee you its your configuration fault. Its either buggy app, a buggy app or data restore, or buggy system service not letting device sleep properly. As i said earlier, i would start by disabling backup under settings, also location history reporting. Thats 2 things known to cause these problems. If that doesnt help would start looking into apps, 1 by 1. Safest way is to just clean flash or factory reset, then turn off backup and location history, and before installing any app or backup, i am 100% sure, the phone will sleep as a baby. Then start installing apps and look for culprit if its there.
I can confirm, that disabling location service (and location history) is a solution for battery draining. When I disable it in system settings, problem gone.