Related
I always see Google play services running in the background and associating with various applications. After doing a search, looks like there are ways to reduce it's activity and improve battery life.
My question is this, has anyone done anything to Google play service to improve battery life on the G3? If so, what have you done and how has it affected the battery performance?
The best solution if you're willing to lose gcm notifications (notifications for google stuff) and everything google, including the playstore & auto app updates. is to simply freeze the entire google framework, and unfreeze the framework when you need access to the playstore.
But if you're one of those kinda ppl that's always looking at & downloading new apps and in constant need of the playstore or you use hangouts ect you might wanna check into an app for disabling google framework individual services you don't use (disable service is a good app for this). This is a far less effective approach then the first option in terms of battery life but you won't lose everything google including the playstore. if you don't use the first option and your into debloating this takes debloating to the next level.
I use the first option myself, after my phone is setup properly do i rarely ever need to use the playstore which is only a reboot away.
The battery savings on each device varies depending how your phone currently behaves, for example when my phone was wacked out too many apps and services and stuff i didn't notice too much battery savings, but after flashing to a fresh stock firmware (factory reset didn't help) then when my phone was working good again i then did a quick before and after, while trying the first option again it was a noticable difference, i haven't tested properly to tell you a % but it's noticable.
EDIT: Here, take a look at this, it's a 100% win whichever option you choose...
http://forum.xda-developers.com/showthread.php?t=2357417
stas333 said:
I always see Google play services running in the background and associating with various applications. After doing a search, looks like there are ways to reduce it's activity and improve battery life.
My question is this, has anyone done anything to Google play service to improve battery life on the G3? If so, what have you done and how has it affected the battery performance?
Click to expand...
Click to collapse
I found the absolute best solution for this problem. It allows you to retain all functionality of your phone and still get incredible battery life. Check out my thread about it: http://forum.xda-developers.com/lg-...-services-google-search-t2885111#post55617005
Good Day all,
I have benefitted greatly from Google and XDA. So I thought I would provide a consolidated way of saving our battery's grace from Android System demonic drain.
I am running Euphoria with Furnace, and I had loads of Gapps installed.
I tried multiple attempts over a 3 days period and did many researches back and forth. And it came down to these few main culprits:
1. Android Location Services
2. Google Play Services
3. Qualcomm Location Services
4. Google Now Launcher
5. Unwanted Sync
Tools I have used to assist in this matter.
1. Disable Service - here
2. Greenify
3. Privacy Guard (should be in built in most custom roms)
4. Titanium Backup
Basically the highest causing drain came from Google Play Services and Qualcomm Location Services. These items persistently wakes the phone up and runs on the background. Using greenify on there further cause issues as greenify tries to hibernate these services over and over again, making this a self-made draining routine.
I followed this thread on Google Play Services drain fix and used the Privacy Guard to perform those tricks. I ran through ALL Google Related Apps and as long as "Keep Awake", "Wake up" or "Auto Start" is enabled, I disabled them. I also look through apps I suspect were waking phone up by looking at the last activation of those events (Keep Awake, Wake Up, Auto Start).
Next I followed this thread on Guide to disable google play internal services using Disable Service app. I also took the opportunity to look at both 3rd party apps and system apps to see if there are services that could be disabled. I disabled Apex Notifier as I realize I didn't needed its service.
Then the next sneaky culprit was the Qualcomm Location Services. Even though I froze them with Titanium Backup, they persist in the system. So making a backup of them, I uninstalled them completely. Hasn't caused me any issue with GPS or Maps. They are namely, com.qualcomm.location and com.qualcomm.services.location. Both appeared as LocationServices 1.0 on Titanium Backup.
I went ahead to Greenify many Google Apps, namely Google App, Google Play Store, Google Services Framework, Google+. I also Greenify many apps that Greenify suggested would slow system down or appear to run in the background which I have no use for.
Lastly I uninstalled Google Now Launcher as it was persistently coming up as alternative home launcher even though I froze it. And I also went through settings of apps to make sure sync were turn off. I only kept Calender and Contacts and Gmail Sync on.
Now I have reduced Android System from 34% to 2% and increased my SOT from 2++ hours to 4++ hours at least. Not an out of earth SOT, but I believe that's decent.
Hope I helped and I wish you all the best in your endeavour to reduce Android System Drain. Cheers.
Thanks bro
Will try and give feedback asap
Suscribed, Rated, and Thanked.
I didn't had time to do any research on this, and this thread appeared on the right time.
Thanks
Paradoxxx said:
Suscribed, Rated, and Thanked.
I didn't had time to do any research on this, and this thread appeared on the right time.
Thanks
Click to expand...
Click to collapse
metuncc said:
Will try and give feedback asap
Click to expand...
Click to collapse
Your feedbacks will be appreciated. It works for me and I hope it works for you. And hopefully help many others that face our problem. Cheers
I can't seem to find App Ops anywhere..
Edit: found it by the name "Access lock" but there is no google play services in there..
bestest609 said:
I can't seem to find App Ops anywhere..
Edit: found it by the name "Access lock" but there is no google play services in there..
Click to expand...
Click to collapse
It should be found in settings page, "Privacy".
I know that this guide is meant for CM based ROMs but I said to myself "ehh, what the hell" and I tried it on my Cloudy 2.2 and the results were horrible. Had to fully charge my device twice in order to go through 22 hours and a total of 2h of screen on time which consisted mostly of browsing and messaging. Wakelock Detector told me that the device was mostly asleep and everything was normal in the Batter Usage menu. Usually I get around 18-20h on a full charge with 2,5-3h SoT. Maybe the locations tweeks were not liked by my Tasker app and caused a huge battery drain, although it didn't appear that much as a wakelock trigger.
I am wondering if the problem was caused by Tasker or the stock ROM itself, but badly I do not have the time now to tweak around and I am reverting back to my previous configuration.
steelclaw said:
I know that this guide is meant for CM based ROMs but I said to myself "ehh, what the hell" and I tried it on my Cloudy 2.2 and the results were horrible. Had to fully charge my device twice in order to go through 22 hours and a total of 2h of screen on time which consisted mostly of browsing and messaging. Wakelock Detector told me that the device was mostly asleep and everything was normal in the Batter Usage menu. Usually I get around 18-20h on a full charge with 2,5-3h SoT. Maybe the locations tweeks were not liked by my Tasker app and caused a huge battery drain, although it didn't appear that much as a wakelock trigger.
I am wondering if the problem was caused by Tasker or the stock ROM itself, but badly I do not have the time now to tweak around and I am reverting back to my previous configuration.
Click to expand...
Click to collapse
Try using GSam battery monitor to find out the real culprit. I used that to boil down to the final two irritants - Qualcomm LocationServices.
Really enjoying the app.
Here are the screenshots:
https://www.dropbox.com/sc/fvzvyvdsfqr1e89/AABeH-BwUHKOjpqnXaFcATbaa
steelclaw said:
Really enjoying the app.
Here are the screenshots:
https://www.dropbox.com/sc/fvzvyvdsfqr1e89/AABeH-BwUHKOjpqnXaFcATbaa
Click to expand...
Click to collapse
Kernel OS issue I am not too sure what issues are they. The issues I had was high Android OS drain.
@JokerAce my friend ...nice to see you posting useful advice ....gonna grab it ...especially qualcomm service....thanks mate
/LG-G3/d-855/16Gb/Titanium Black/
m1trand1r said:
@JokerAce my friend ...nice to see you posting useful advice ....gonna grab it ...especially qualcomm service....thanks mate
/LG-G3/d-855/16Gb/Titanium Black/
Click to expand...
Click to collapse
Thanks mate )
I'm wondering if there is anything I can disable to reduce my Android OS battery usage. It's always number 2 on the list behind screen. The list of included services has roughly 20 items in it. I tried to include some attachments for you to look at and see if there is something I can do.
rick09 said:
I'm wondering if there is anything I can disable to reduce my Android OS battery usage. It's always number 2 on the list behind screen. The list of included services has roughly 20 items in it. I tried to include some attachments for you to look at and see if there is something I can do.
Click to expand...
Click to collapse
No information whatsoever is given by those screens, get better battery stats and check the wakelocks. My bet is on google services.
I just want to know if I can safely freeze (with TiBackup) anything on that list. Such as Eltest, LG vpn, LG setup wizard, LG eula, LG pc suite etc. Things I don't use. Google play services is in a totally different section and surprisingly doesn't cause as much of a drain.
Sent from my LG-D801
BTW I use the xposed module Amplify to control my wakelocks and Greenify to control running apps. But neither of those help with Android System drain which is a lot of LG stuff that I don't use regularly.
Sent from my LG-D801
Choristav said:
No information whatsoever is given by those screens, get better battery stats and check the wakelocks. My bet is on google services.
Click to expand...
Click to collapse
Here is a screenshot from today, screen on time was 2hrs 48mins at this point, full brightness since I've been outside all day. Location service and sync turned on. Like I said Google services low drain whereas Android System (posted screenshots) is a major drain.
I just received my Nexus 6P and absolutely love it.
I am wondering if any of you have had good experiences with any utility/tool apps for this device. Apps such as Greenify, CM Cleaner, etc. are a couple I've heard of and was curious if these are helpful or not.
Thanks!
I don't use any utility apps so my response is probably not what you're looking for. There's not really a need for Greenify anymore since Marshmallow introduced Doze unless you want Aggressive Doze mode found in Greenify -- which is again unnecessary if you're using Android N Developer Preview which features an aggressive Doze mode.
Not sure too much on CM Cleaner, but if I had to use one I'd probably use CCleaner since I use it frequently on the PC and it works really well. If you choose to not use a cleaner, someone on here or Reddit reported clearing your cache every-so-often from Settings > Storage & USB > Cached data is useful and may even improve battery life.
Synapse - for use with AK kernel.
Naptime and Servicely by Franco are both nice apps.
Recently by chainfire helps keep recent apps section from being over crowded and adds some extra features.
Then you have the more common stuff you likely already use like "better battery stats", "adaway", " afwall+",.... Not sure about greenify on Marshmallow, I believe the Doze feature built into android does something similar to all apps, but do not quote me on that as I don't really know how how they work, just greenify put apps to sleep and then google calls it doze which is just another word for sleep.
+1 to the not necessary argument.
Get viper4android to improve your audio. Ex Kernel Manager is also pretty awesome. Otherwise explore and see what fits your needs!
jdawggs316 said:
I just received my Nexus 6P and absolutely love it.
I am wondering if any of you have had good experiences with any utility/tool apps for this device. Apps such as Greenify, CM Cleaner, etc. are a couple I've heard of and was curious if these are helpful or not.
Thanks!
Click to expand...
Click to collapse
You definitely don't need anything like CM Cleaner, those things are total rubbish, they use more resources than they claim to save. Doze is pretty good at getting the device to sleep when it isn't in use, but some people still use Greenify. I use BetterBatteryStats to monitor to power consumption, f.lux to automatically adjust screen temp at night, Faster GPS to aid in getting a quick GPS lock, and Flashfire for flashing certain things when I absolutely need to on the go.
I use All in One Toolbox to control the myriad of aggressive apps that feel they should launch/run everything i start my phone.
Thanks for the replies guys!
I plan on rooting the 6P today, and I have had experience with such apps as SetCPU, Rom Toolbox, etc. But that has probably been about 2 years ago.
What are the go-to root apps for stock android (not sure I'm ready for ROMs yet)?
1. Flashfire, very powerful tool for flashing things (especially useful for taking OTAs when rooted).
2. Ampere Measures current going in while charging, (pretty useful when my fast charger broke).
3. Naptime , improves standby time immensely (Doze on screen off).
4. Faster GPS, much faster GPS lock as I dont really like leaving location on all the time.
5. BetterBatteryStats, huge info on power consumption.
6. F.lux, (Changes colour temperature based on location and sunsets, warmer colours after sunset, less obtrusive to the eyes.
7. Adaway, gets rid of ads ... yay
8. Viper4Android, best EQ and FX processor available.
Dear OP2 friends,
HUGE DISCLAIMER:
Below setup works for MY use and needs. If you are like me it will work for you too, if not go find information somewhere else and don't complain "I cannot get the same results" or things like that. It takes common sense and experience to achieve and understand below info. If you don't have common sense, I pity you, if you don't have experience it's OK. If you are polite and follow the XDA rules I don't mind answering your well structured questions, and maybe others don't mind too, there are a lot more experienced people on XDA than me.
If your question is related to any of the apps/threads mentioned below, please go to that (app) thread, that's why I have put the info right there, one click away.
battery life is something we all want to be endless, well we can't have that, but at least we can improve it from a certain point.
This is what I have been doing for the past weeks and the results are incredible, that's why I decided to share them.
First of all sharing this information is ambiguous because it's somewhat device and user dependent especially how people use it and what apps are installed.
I know that but I believe with the right approach you can get the same results as me, hopefully even better, on the OP2 and possibly other device as well.
I have 148 apps installed at the moment and sometimes even more than 200. If you control your apps properly there is no limit to the amount of apps installed related to battery life.
There are numerous threads on improving battery life out there already so please check out those threads first.
Extreme battery threads:
https://forum.xda-developers.com/android/general/guide-extreme-battery-life-t3095884
https://forum.xda-developers.com/android/general/guide-0-0-hour-idle-battery-drain-stock-t2973588
You can also post your BBS logs there, please don't do that in this thread as I will not investigate them.
Most useful info is already out there so I would appreciate it to go look there first before cluttering this thread. If not I will close this thread.
Let's get started:
improving battery life on Android is (unfortunately) always a combination of things, there is no 1-push button (yet).
In this case I use the following:
- privacy guard (baked in almost any Nougat ROM)
- custom kernel (I use Boeffla: original thread here, I use the Linaro version from ZaneZam)
- Greenify (original thread here)
- Wakelock blocker (built in ROM) + WakeBlock app (optional, original thread here)
- Alarm Blocker (built in ROM)
- Doze apps
- BetterBatteryStats (for finding your excessive wakelocks, thread here)
Obviously you have to be rooted to implement all of this.
The ROM of my choice is RR unofficial.
I like it because of the functionality and features but I believe any ROM with the above features should be able to achieve the same results.
Speaking of results, below screenshots are from my last cycle before writing this thread. One charge got me almost through 3 full days (66 hours).
I fully charged in the afternoon, got through the evening and the first night, then got through the full second day and night, then got through another full day and night and charged only again in the next morning.
If your still following, those are 66 hours of straight juice...
EXPLANATION: There is ALWAYS a tradeoff between SOT (screen on time) and how long your battery will last in one cycle. On my below cycle you can see that I have "only" 4 hours of SOT but almost 3 days of battery life. That is light usage.
If I would use my phone more (more SOT) the battery life cycle would have been significantly shorter. If you complain to me that you "only" have 24hrs of battery life but you show me a SOT of 7-8 hours, I would consider that great battery life! It's all relative...
I have never used one battery cycle from 100% to 0% in one go so I don't know the max SOT I would get with my setup. I would guess around 6.5-9 hours depending on the activity (gaming <=> ebook reading, mobile data <=> wifi, ...). It's all relative...
The screenshots in the bottom of the post might bring clarity for you.
See the following posts for more explanation.
Thanks to:
@nicesoni_ash
@Lord Boeffla
@ZaneZam
@oasisfeng @GioBozza @chamonix
@ssrij @The Peterle
Privacy Guard:
*setting things up wrong without thinking straight can delay notifications or not execute certain tasks*
I enable this for all user apps because I don't want any app keeping the system awake. I even have this enabled for some system apps like:
Calendar storage
Google play services
Google play store
Google app
cLock
I mostly disable all locations (if it's not a location dependent app), keep awake, run in background and even start at boot (if the app doesn't need to start on boot) toggles.
Again, use your common sense to figure out if a app needs to run on boot (for example, youtube doesn't need to run on boot, tasker does for starting up along with the system boot).
obviously some system apps need to run in the background for example cLock or calendar storage otherwise your weather and calendar will not update...
You can also configure all the apps on a gradual basis. You let the privacy guard as is on clean install an if you see excessive wakelocks from a certain app, you start blocking it one by one.
Custom kernel:
I use Boeffla config app with always the latest version of his kernel compiled by ZaneZam (Linaro 6 version).
The latest as of the time writing this thread is LOS14.1-beta14 in combination with config app 2.4.34.
I use profile IMPULSE TUNED V3.0, no lags, good performance and crazy battery life.
Screenshots of my minor changes, the rest is identical to the stock IMPULSE TUNED V3.0 profile.
Greenify:
*setting things up wrong without thinking straight can delay notifications or not execute certain tasks*
I Greenify a lot of apps, as much as I can basically, even system apps.
I cannot give too much advice on this part so please go to the Greenify thread to ask related questions. For me it's mostly a hit and miss and right now my config is a big hit.
If you want to know if you can Greenify a particular app you can ask me.
Configuration below in screenshots.
Wakelock Blocker (+ WakeBlock app):
*setting things up wrong without thinking straight can delay notifications or not execute certain tasks*
I personally think this feature is essential in getting good battery life so I'm glad it's integrated in the ROM of my choice (since we don't have xposed yet).
In combination with the WakeBlock app it basically works like Amplify on Xposed, but ROM integrated.
This part is the hardest to explain because it's different for most users. On the screenshots below you can find most of my blocked wakelocks (without losing functionality).
The procedure to block wakelocks is the same as all the other parts explained above and below:
Let your system run for some hours/days (essential!).
After that, trough BBS you can find your excessive wakelocks and through wakelock blocker you can block them completely. If you don't want to completely block the wakelocks you can use the WakeBlock app to put a timer like in Amplify for Xposed, for example I want wakelock x to run every 9999 milliseconds....
Alarm blocker:
*setting things up wrong without thinking straight can delay notifications or not execute certain tasks*
Another essential feature for keeping your device under control.
I block a lot of alarms (without losing functionality) so get ready...
Doze apps:
I use Force Doze from the Playstore to put my device in Doze mode as soon as the screen goes off.
Naptime is an alternative but I find it to generate too many wakelocks (sometimes up to 19 per hour).
I might change this app once in a while if there are better alternatives that come up.
Anyway Force Doze will work for now.
reserved. will add some advices.
CounterC said:
Doze apps:
I use Force Doze from the Playstore to put my device in Doze mode as soon as the screen goes off.
Naptime is an alternative but I find it to generate too many wakelocks (sometimes up to 19 per hour).
I might change this app once in a while if there are better alternatives that come up.
Anyway Force Doze will work for now.
Click to expand...
Click to collapse
Lesser wakelocks means not necessarily lesser drain, good example is definitely the very first lines from this Thread of an old friend from galaxy s3 lte times, he implemented microG on his device and achieved lesser wakelocks but no significant impact on his battery life(see here), what I want to point out is that this equation (more wakelocks - more battery drain) isn't so simple unfortunately, even if true for most of the time, regarding to franco's naptime, I personally made very good experience with this app in combination with his custom kernel, I think especially in this combination it's absolutely recommended..
Furthermore some inspiration about battery life a wonderful guide with plenty of useful information, the absolute majority is generally valid, so don't get confused by the i9305 tag...
Sent from my OnePlus 2 using XDA Labs
Sam Nakamura said:
Lesser wakelocks means not necessarily lesser drain, good example is definitely the very first lines from this Thread of an old friend from galaxy s3 lte times, he implemented microG on his device and achieved lesser wakelocks but no significant impact on his battery life(see here), what I want to point out is that this equation (more wakelocks - more battery drain) isn't so simple unfortunately, even if true for most of the time, regarding to franco's naptime, I personally made very good experience with this app in combination with his custom kernel, I think especially in this combination it's absolutely recommended..
Furthermore some inspiration about battery life a wonderful guide with plenty of useful information, the absolute majority is generally valid, so don't get confused by the i9305 tag...
Click to expand...
Click to collapse
Good point Sam, that's why I always say check BBS first if it's actually a wakelock, then treat it properly (disable or time-lapse it).
Overnight drain
does blocking the *alarm* wakelock cause the system to reboot!?
aditya_pan said:
does blocking the *alarm* wakelock cause the system to reboot!?
Click to expand...
Click to collapse
No, not with me.