[G3 General] Helmetheadog:
I'm sure many of you are aware of the battery drain issues with Google Play Services and Google Search. These two system apps cause constant wake-locks, robbing your device of the deep sleep it deserves. Up until now, the only solutions have limited some functionality, such as location services. I have discovered how to STOP the Google battery drain AND retain ALL functionality. Now I can easily make it through the day while making phone calls, streaming music, browsing the web, viewing social media, watching videos and more and end the day with 50% battery remaining. This is the heavy users dream: retain all functionality AND have maximum battery saving.

Here are the results:

View attachment 2947222

I left the phone unplugged overnight with mobile data, wifi, bluetooth, and NFC all running. I'm using the stock LG rom. As you can see, the phone was in deep sleep 98% of the time over a nearly 8 hour period.

You should know, though, that if you do this, the "Google Now Everywhere" feature will no longer be available.

Here is my guide to eliminate the Google battery drain:

Pre-requirements:

-MUST BE ROOTED!!

-MAKE A BACKUP! Use nandroid if you can. Some people report problems re-installing Play Services, so it's best to have a backup. (However, there are steps in this guide to get Play Services re-installed if you did not make a backup.)

-Titanium Backup - https://play.google.com/store/apps/details?id=com.keramidas.TitaniumBackup&hl=en (Make a backup of the system apps "Google Search" and "Google Play Services" before you do anything!)

-Greenify - https://play.google.com/store/apps/details?id=com.oasisfeng.greenify&hl=en

-Wakelock Terminator - https://play.google.com/store/apps/details?id=in.andro.wlt&hl=en (Xposed module, must be running Dalvik runtime (don't worry, this is usually enabled by default)

-requires Xposed Framework! http://repo.xposed.info/module/de.robv.android.xposed.installer)

PERFORM AT YOUR OWN RISK!! Some people are reporting problems with not being able to re-install Play Services and have had to factory restore their device (be especially cautious if your bootloader is locked and you can not perform a nandroid backup.)

____________________________________________________________________________________________________

1. Use Titanium Backup to freeze Google Search and Google Play Services. This is done in the checkmark menu under the Freeze / Defrost section.

2. Use Titanium Backup to convert Google Play Services to a user app. This automatically defrosts it too.

3. Repeat this freeze/ convert to system app process for Google Search. It is important to do Search after Play Services to ensure that Search does not start calling Services and messing something up.

4. (You may need to reboot at this point.) Open Wakelock Terminator and search for Google Play Services. Click on it and check "Prevent wake lock". In the "Filter wake lock" field type in "NlpCollectorWakeLock" and "com.google.android.gms"

5. (Optional, but ultimate battery life will be achieved with this step.) Open greenify and enable greenify on both Google Search and Google Play services.

6. In Greenify, go to the "Experimental Features." Check "Keep Notifications" and "GCM push for greenified apps". This ensures that you will still receive push notifications that use Play Services.

7. After they are greenified, enable "always ignore its running state" on Google Play Services within Greenify itself. In order to do this, you need to get Play Services to run in the background. (opening Maps or Google Search should do this.) Now you can highlight Google Play Services in Greenify and select "state always ignored for hibernation". (You may have to enable "reconsider state" for this option to show.)

____________________________________________________________________________________________________

Now test your device! Allow it to sit overnight and look at BetterBatteryStats in the morning to see how long your deep sleep was, check partial wake-locks, and check alarms.

Now enjoy your highly improved battery life and be the envy of all your friends!

This fix required a lot of tinkering and trial and error on my part. I do believe this is the best fix so far for Google background processes that retains all functionality. Please hit the thanks button if this worked for you!

IMPORTANT NOTE: It should be taken into consideration that if you ever want to do a factory reset, you need to convert these apps back to system apps. If you do not, your device will enter an eternal force close loop once reset, and the only way to fix it then is to flash the firmware back.

*IF YOU ARE HAVING PROBLEMS RE-INSTALLING GOOGLE PLAY SERVICES*

-Some people are reporting problems wit h the re-installation. I will include some links to download pages in case you have problems.

-User specified link (6.1.0.9) http://d-h.st/s10

(5.0.8.9) https://www.sendspace.com/file/dk4ade

-Google Play Store link https://play.google.com/store/apps/details?id=com.google.android.gms&hl=en

-XDA download links http://www.xda-developers.com/andro...densities-and-the-rest-of-this-weeks-updates/ (Some download links reported as spam..?)

Special thanks to XDA members jstntp and GroovyGeek for helping to simplify the process and increase success rates.