How To: Expose Battery-Draining Apps on Your Nexus 5 & Deal with Them for Good

How To: Expose Battery-Draining Apps on Your Nexus 5 & Deal with Them for Good
Android uses a set of permissions that apps can request to perform certain actions, and you're notified of these permissions each time you install an app. The problem here is the fact that you aren't given any built-in way to deny apps these permissions (although Danny just showed a workaround for this).One such permission is the dreaded Wakelock. This allows apps to either keep the screen on or just keep the processor running even when the screen is off. It's a necessary evil in some cases, because it allows apps to keep their data synced even when you're not using them. This comes in handy if an app posts notifications, for instance.But this functionality comes at a great expense in terms of battery life. When your phone is off, instead of entering sleep mode, you can have several different apps waking up the CPU intermittently and eating away at your battery.Developer UzumApps has created a great tool for rooted users that can hunt down the most notorious wakelock holders on your Android device so that you can deal with them one way or another—and I'll give you a couple of options after the jump. Please enable JavaScript to watch this video.

Step 1: Install Wakelock DetectorThe root app that allows you to track these wakelock-offenders is fittingly named Wakelock Detector. Search your Play Store app to get it installed, or if you're reading this from your Android device, you can simply tap this link to head directly to the install page. The developer recommends that you charge your phone to at least 90% battery life before running Wakelock Detector for the first time. If you're in a pinch, though, you can simply reboot your phone for the app to gather the data it needs.When you get that part out of the way, go ahead and run WLD for the first time. It'll ask for Superuser privileges, so Grant it those.

Step 2: Identify Problematic AppsWakelock Detector's premise is simple—it identifies apps that have woken your device from sleep mode using their wakelock permission.It presents these apps in the form of a list, which by default, is sorted by amount of time spent holding a wakelock of any kind. There are additional sorting options available at the top of the list if you would like to analyze this data in a different way. To see more wakelock data, you can tap any app and WLD will show you all of the services this app has used to request a wakelock. These items are also sorted by total time spent holding a wakelock. Use this information to figure out which apps have been keeping your device from entering deep sleep the most. When you have identified all of the problematic apps, there are some steps you can take to remedy the situation and help conserve your battery life.
Step 3: Dealing with Problematic AppsThere are several different options for you to consider when it comes time to handle one of these problematic apps. The simplest of all options is to simply uninstall the app in question. If there are alternative apps that perform the same function, try installing one of them to see if they hold fewer wakelocks. If the app has a mobile website that you can use instead (e.g., Facebook/Twitter), that would be the optimum solution.Since wakelock is a permission that apps can acquire, there are root solutions available that can revoke this permission. Be advised, though, that apps may not work as intended without all of their permissions enabled.With the release of KitKat, Google removed the App Ops functionality in Android that allowed for granular permissions management. As Justin explains in this article, there is an Xposed Module to get this feature back, called AppOpsXposed.

Step 4: Install App SettingsA personal favorite of mine in this category of apps is the Xposed module App Settings. In addition to the functionality offered by AppOpsXposed, it allows you to perform other per-app modifications such as forcing "Tablet View" or Immersive Mode. Either way you go, the process is similar—start by choosing the problematic app from the list.

Step 5: Adjust Per-App PermissionsWith App Settings, the next step is to toggle the switch at the top of the screen to On. This will reveal all of the options available for a particular app. The only option you'll need here is right at the bottom—tap Permissions, then you'll be taken to a menu that allows for the revoking of individual permissions. Next, toggle the Revoke Permissions option to On. Scroll through this list until you find the android.permission.WAKE_LOCK. Tap this entry, and you'll see the permission get crossed out. Next, tap OK at the bottom of this window, then hit the Save icon at the top of the next screen. A dialog box will appear asking you if you'd like to restart the app so that the new permissions will become active. Choose OK here. You can repeat this process as needed for any other problematic apps. Now the app should no longer be able to hold a wakelock, thus allowing you to keep using the app without the massive battery drain.The app won't be able to transmit or receive data when your phone is asleep, so be aware that notifications will not work as intended any more for that particular app. But this is a trade-off that you'll have to make to keep juice-sucking apps installed on your device without them constantly draining your battery.What apps held the longest wakelocks on your device? How much battery life are you saving now? Let us know in the comments section below.



Want to delete temporary internet files from your BlackBerry smartphone? It's easy. So easy, in fact, that a complete and thorough overview of the process can be presented in this video tutorial. To learn how to remove temp web files from your own BlackBerry phone, watch this how-to.
How to Erase your Blackberry 7290 cell phone info

How to Make an umbrella parabolic microphone « Hacks, Mods


I assume you mean "open a safe," and that you care more about getting to the contents than about how the locking mechanism works. The answer is that it depends a lot on the safe you're looking at.
How To Unlock A Safe Without A Key - unitedlocksmith.net


Listen to Top Stations music on Pandora. Discover new music you'll love, listen to free personalized Top Stations radio.
How to Connect your Sony Dash to Pandora Internet radio


Have you ever wanted to change the status bar on your Android phone or tablet? Maybe you wanted to change the position of the clock, add a battery percentage, or just get a different look. Whatever your reason, there's a simple way to customize your status bar-and it doesn't even require root access.
Get Lollipop-Style Status Bar Icons on Android Jelly Bean or


I'm new to S Health and I have the Galaxy Watch. I noticed the calories count is way too high! e.g. I haven't worked out and I work from home so very minimal movement, by noon time, the Watch and S Health shows I've already burned over 1k calories?
Samsung is teaching Bixby to count the calories in your food


So then I accidentally uninstalled something that was apparently crucial, and so when my device re-sprung, Cydia was no longer there. Plugged my phone back into Pangu, and it confirmed that my device was still jailbroken. So now I've got a jailbroken device, with no tweaks, and no Cydia :( Any suggestions on how to get Cydia back?
[question] how do I remove a tweak if cydia crashes when I


Adaptive Icons like Android Oreo on any android device using Nova Launcher Nova Launcher - HOW TO GET Android Oreo 8.1 Look, Feel (Or Any Xiaomi Phone) - Duration:
Get Android 8 Oreo's Adaptive Icons Feature on Android 5 and



If you're looking for a more traditional, do-it-yourself method, you can split your file up into smaller parts. For example, if you had a 50MB file you wanted to email—or even a collection of large files—you could use a file compression program like 7-Zip to create an archive, and then split the archive into five 10MB pieces.
How to Break a PDF File Into Parts | It Still Works


News: Apple Music Gets a Complete, More Intuitive Redesign in iOS 10 News: Here's What's New in the Settings Menu on Samsung's One UI Samsung Android Pie Update: Galaxy Devices Are Getting Better Edge Lighting News: New Apple Music Update for Android Adds Support for Lyrics & More News: You're Going to Love the New Notifications in Samsung's
Apple TV Gets Redesign, Beats Music, and More - groovyPost


Monitor a iPhone 6 for Free With Gps Online; 23 RatingsThe spy software utilizes the IMEI number monitor a iphone 6 for free with gps online of track the metro pcs track my android phone activity on a mobile device.
How to see if the exact iPhone 7 model you want is in stock

0 comments:

Post a Comment