How To: Fix Play Services Battery Drain by Forcing It to Use Doze Mode

How To: Fix Play Services Battery Drain by Forcing It to Use Doze Mode
Google Play Services has been near the top of every Android user's list of battery-sucking apps for years now. It's a core system app, so you'd expect some battery drain, but for many folks, it runs rampant.This is partly due to the fact that Google has exempted Play Services from Android's biggest battery-saving feature, Doze Mode. Unlike virtually every other app, Play Services is permanently set to "Not Optimized" by default in the Battery Optimization menu, and until now, there's been nothing you could do about it.Thankfully, developer Otniel Yoreiza has created a new Magisk module that lets you enable Battery Optimization for Play Services, which will cause the battery-sucking app to enter a sort of deep sleep state when your phone goes into Doze Mode. The potential for battery savings is huge, so I'll show you how it works below.Don't Miss: 6 Easy Ways to Increase Battery Life on Your Android Device
Requirementsrooted Android device Magisk installed Android Marshmallow or higher phone or tablet that supports Doze Mode
A Note About Push NotificationsGoogle Play Services is set to "Not Optimized" by default because it provides some core functionality that you may not want to lose when your phone enters Doze Mode. Most notably, GCM Push, the service many apps use for notifications, is bundled in with Google Play Services.This means that if you use this mod to enable Battery Optimization (and thus, Doze) for Google Play Services, you may not receive prompt notifications from certain apps in certain circumstances. When your phone enters Doze Mode to preserve battery life while the screen is off, apps like Gmail and Hangouts may take longer than normal to notify you of new messages.This shouldn't have any effect on alarms or incoming calls, nor should it cause delays with apps that use their own push notification systems (like WhatsApp, Telegram, and SMS apps, to name a few). Nonetheless, you should be aware of this fact up front in case you experience notification delays after applying this mod.

Step 1: Download the ModuleYoreiza's module isn't available on the Magisk repo, which means you'll need to download it separately. So to start, tap the following link from your Android device to grab the module, which is called EnableDozeforGMS.Download the EnableDozeforGMS Magisk module (.zip)

Step 2: Install the ModuleNext, open your Magisk Manager app and head to the Modules section, then tap the floating action button at the bottom of the screen. From there, select the EnableDozeforGMS ZIP that you just downloaded, and the module will be installed automatically. When that's finished, make sure to tap "Reboot" on the popup to finalize your work.

Step 3: Enable Battery Optimization for Play ServicesWhen you get back up, chances are, the module will have already enabled Battery Optimization for the Play Services app. But just to be on the safe side, take a quick trip to your phone's main Settings menu to double check.From there, head to the Battery menu, then tap the menu button in the top-right corner and select "Battery optimization." Next, select "All apps" from the drop-down menu on the following screen. From here, scroll through the list and find the Google Play Services entry. Tap it, then select "Optimize" on the popup, and hit "Done." From now on, Play Services will be treated like any other app when your phone enters Doze Mode after it's been lying still with the screen off for a bit, which means your standby time should see a significant bump. Again, this should only affect standby time, meaning your battery should last a bit longer when you're not actively using your phone. But for some folks, this could have a huge impact on real-world battery life. How much has it helped on your phone? Let us know in the comment section below.Don't Miss: Save Battery Life by Activating Doze Mode FasterFollow Gadget Hacks on Facebook, Twitter, Google+, and YouTube Follow Android Hacks on Facebook, Twitter, and Pinterest Follow WonderHowTo on Facebook, Twitter, Pinterest, and Google+
Cover image and screenshots by Dallas Thomas/Gadget Hacks



How To: Add Custom Lock Screen Widgets to Your Nexus 7, Samsung Galaxy S3, & Other Android 4.2 Devices How To: Get the Note 4's Weather Widgets on Your Galaxy S5 How To: Get CyanogenMod's cLock Home & Lock Screen Widget on a Non-Rooted Samsung Galaxy S4 How To: Hacked! How Thieves Bypass the Lock Screen on Your Samsung Galaxy Note 2, Galaxy S3
Solved: No visual pop up notification on lock screen


How to create a system image in Windows 10. A system image backup is basically an exact copy ("image") of a drive -- in other words, you can use a system image to completely restore your
How to create a full system backup in Windows 10 - CNET

Drippler's New iOS App Tells You Everything You Need to Know


Google Google Earth Pro used to cost a staggering $400 a year, but in case you haven't heard, the intuitive mapping program is now free. Google announced the change back in 2015, but the company
Google Earth Pro Is Now Available For Free - Forbes


Step 4: Make the Purchase. If you want to buy the product, just tap "Checkout on Instagram." Yet again, if you only see "View on Website," the in-app checkout feature is not available yet for that post. However, you could still view the product via an in-app browser and buy it via the company's website, which isn't as easy.
Make Buying Stuff Easier on Instagram with the New Checkout


In addition, if you need to send a more elaborate message, choose "Custom…" and your phone will decline the call and open up the messages app, making it easy for you to text the caller whatever you want. The iOS 8 only gives you three options for these quick messages, so choose your phrases wisely.
How to decline a phone call with a custom text message on ICS


How To: Get All of Your YouTube Videos Back from Google Using Takeout How To: Transfer Your Authy Account to a New Phone Instagram 101: How to View All the Posts You've Ever Liked on Instagram How To: Get the Facebook Paper App on Your iPhone—No Matter What Country You Live In
How to Make Your Phone Limit Your Screen Time for You - The

How To: Scrub the EXIF Data from Photos on Your Android Phone


How To: YouTube Finally Has a Dark Theme on Android — Here's How to Get It How To: Enable Dark Mode in Chrome for Android How To: Change Slack's Sidebar Theme on Your iPhone or Android Phone for Customized Colors
How to Change Facebook's Boring Blue Theme to Any Color You


How To Install Custom ROM on Android. If you are installing a ROM running on 4.4.2, you'll want a GApps package for 4.4.2. Google Photos is Google's latest Android app to get a dark theme.
How to Install a Custom ROM on Your HTC One for a Completely


Gmail stops the message from going out and displays it in case you wish to make any changes and then resend it. Applications Internet Gmail Google. How to 'unsend' a sent email from your
How To Recall an Email in Gmail | Unsend an Email

How to Build a laser effects light show « Hacks, Mods


News; 20 of the best iPhone 6S wallpapers; Keep just a few icons on your lead home screen and you can keep the cat fully visible if you like too. Prev Page 4 of 22 Next Prev Page 4 of 22 Next .
Download New iPhone X Wallpapers From iOS 11.2


You can view and manage your Location History information through Google Maps Timeline, which is available to both mobile and desktop users. In Timeline, you can edit specific entries from your Location History, delete information from ranges in time or delete all of your Location History data. Your Timeline is private, so only you can see it.
How to Create a Custom Travel Map with Google Maps {New

0 comments:

Post a Comment