Welcome to the Android Central Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 8 of 8
Like Tree2Likes
  • 1 Post By Golfdriver97
  • 1 Post By Golfdriver97
  1. Thread Author  Thread Author    #1  
    UJ95x's Avatar

    Posts
    8,523 Posts
    Global Posts
    8,717 Global Posts
    ROM
    Slim Kat 4.4.4

    Default

    So you've been using your phone for some time and have had no issues making it through a full day. Battery life is great and you have no complaints, until one day you notice that your phone has been draining the battery without even being in use. By noon you're at less than 50%...what gives?
    If the issue wasn't caused by poor cell service, it's likely that you have a wake lock. A wake lock is a method of power management in the Android OS. Most wake locks are partial, meaning that something is preventing the CPU from entering a "deep sleep." This makes it operate at a higher frequency, draining your battery faster than it should be. The other type of wake lock is far less common, and it keeps your screen on (full wake lock). Obviously with the screen on, your battery is going to deplete at a high rate.

    While this app will work for most phones, due to permission changes to Android, your phone must be rooted for this app to work properly if you have updated to version 4.4 or later.

    So what can you do to fix the wake lock and get your battery back to normal? That's where Wake Lock detector comes in.
    Link for the Play Store: https://play.google.com/store/apps/d...kelockdetector

    As shown in the app description, "Wakelock Detector helps you to detect battery draining apps in your Android phone by checking wakelock usage history. Now you can easily find out what keep your phone awake and drain your battery when it is idle!

    GSAM Battery Monitor will also report wakelocks, and shows a more in depth chart of battery stats than the one built into your phone.


    In this guide, I will go over some of the more common Wakelocks that users seem to experience and what you can do to fix them.

    This is a screenshot of my wakelock logs for the day. As you can see, my phone has been up for 7 hours today, and has been held awake for 6% of that time. This is a pretty normal percentage and my battery isn't taking a hit from the ones shown.
    [GUIDE] Wakelock Detector: How to read, interpret, and optimize wakelocks-2014-04-03-22.37.16.jpg

    Here is a screenshot of a phone that has been held awake by the Google Maps application.
    [GUIDE] Wakelock Detector: How to read, interpret, and optimize wakelocks-wld-maps.png
    Likely causes: Due to the app being in use, meaning that the phone's GPS is on.
    Possible solutions: Turning off your GPS after using the app, or turning off location services within your phone's settings. Navigate to settings > personal > location and turn off location reporting. If that doesn't work, you'll want to go into settings > device > apps > maps, and clear cache.

    Shown below is a screenshot from the WLD Play Store images. As you can see the app Kakao Talk and Facebook have kept the phone awake for 13% of the time since boot. For this one, we'll focus on Facebook as it is far more commonly used.
    [GUIDE] Wakelock Detector: How to read, interpret, and optimize wakelocks-wld-fb1.jpg
    Likely causes: The app is set to push notifications to you, meaning it is constantly checking for messages, replies, likes, etc. or the app is reporting your location
    Possible solutions: Turning off push notifications/location reporting for the app. To do this open Facebook > app settings > and change your refresh interval to something longer than what it is currently set at or turn off the messenger location services. The latter can also apply to the "Facebook Messenger" app.

    Below is the Google Services wakelock. While this shot only shows it draining 13% of the battery, a lot of users have much higher percentages from the same app/service.
    [GUIDE] Wakelock Detector: How to read, interpret, and optimize wakelocks-wld-gs.png
    Likely causes: Phone is failing to connect to Google Services, or is backing up data when it shouldn't be.
    Possible solutions: Go into settings > wireless & networks > data usage > Google Play services and restrict background data. If that doesn't work, turn off syncing for your Google accounts.

    Those are just some of the commonly seen wakelocks, most others should have similar fixes as the ones shown above. For these and for any Android system wakelocks (the ones that show the small Android robot icon), try a reboot of your phone first, as that will often fix these issues.

    For any rooted users, if you are still having trouble with battery drain, you may want to try the app "Greenify." It lets you put apps "to sleep" and will only wake them when opened. This will prevent any wakelocks, both partial and full.

    [GUIDE] Wakelock Detector: How to read, interpret, and optimize wakelocks-greenify.jpg
    Link to the play store: https://play.google.com/store/apps/d...sfeng.greenify


    Hope this helped some of you with that annoying battery drain, and getting back to what you were used to expecting from your phone
    Last edited by UJ95x; 04-03-2014 at 08:50 PM.
    "We live in a society exquisitely dependent on science and technology, in which hardly anyone knows anything about science and technology." - Carl Sagan
  2. #2  
    Golfdriver97's Avatar

    Posts
    19,442 Posts
    Global Posts
    19,859 Global Posts
    ROM
    Liquidsmooth ROM

    Default Re: [GUIDE] Wakelock Detector: How to read/I interpret and fix wakelocks

    Excellent idea.

    Phone Timeline
    'If we could change ourselves, the tendencies in the world would also change.' - Mahatma Gandhi
    Community Guidelines and also here
    UJ95x likes this.
  3. Thread Author  Thread Author    #3  
    UJ95x's Avatar

    Posts
    8,523 Posts
    Global Posts
    8,717 Global Posts
    ROM
    Slim Kat 4.4.4

    Default Re: [GUIDE] Wakelock Detector: How to read/I interpret and fix wakelocks

    Quote Originally Posted by Golfdriver97 View Post
    Excellent idea.
    Probably going to talk about some of the most common wakelocks. Any ideas?
    I know a lot of the social networking apps have them...

    Sent from my Galaxy S4 running SlimKat 4.4.2
    "We live in a society exquisitely dependent on science and technology, in which hardly anyone knows anything about science and technology." - Carl Sagan
  4. #4  
    Golfdriver97's Avatar

    Posts
    19,442 Posts
    Global Posts
    19,859 Global Posts
    ROM
    Liquidsmooth ROM

    Default Re: [GUIDE] Wakelock Detector: How to read/I interpret and fix wakelocks

    Quote Originally Posted by UJ95x View Post
    Probably going to talk about some of the most common wakelocks. Any ideas?
    I know a lot of the social networking apps have them...

    Sent from my Galaxy S4 running SlimKat 4.4.2
    Google Now sometimes wakelocks. Kernel, too, but that is if there is a cache data conflict, or the device just needs to be rebooted.

    Phone Timeline
    'If we could change ourselves, the tendencies in the world would also change.' - Mahatma Gandhi
    Community Guidelines and also here
    UJ95x likes this.
  5. Thread Author  Thread Author    #5  
    UJ95x's Avatar

    Posts
    8,523 Posts
    Global Posts
    8,717 Global Posts
    ROM
    Slim Kat 4.4.4

    Default Re: [GUIDE] Wakelock Detector: How to read/I interpret and fix wakelocks

    Quote Originally Posted by Golfdriver97 View Post
    Google Now sometimes wakelocks. Kernel, too, but that is if there is a cache data conflict, or the device just needs to be rebooted.
    I'll add those too. Thanks

    Sent from my Galaxy S4 running SlimKat 4.4.2
    "We live in a society exquisitely dependent on science and technology, in which hardly anyone knows anything about science and technology." - Carl Sagan
  6. #6  

    Default Re: [GUIDE] Wakelock Detector: How to read/I interpret and fix wakelocks

    If I restrict background data for Google Play Services won't that stop my Gmail from syncing?
  7. #7  
    Golfdriver97's Avatar

    Posts
    19,442 Posts
    Global Posts
    19,859 Global Posts
    ROM
    Liquidsmooth ROM

    Default Re: [GUIDE] Wakelock Detector: How to read/I interpret and fix wakelocks

    Quote Originally Posted by mumfoau View Post
    If I restrict background data for Google Play Services won't that stop my Gmail from syncing?
    I think you are right. A good reason that restricting background data be done carefully.

    From a Carbon M8 and AC Forums app

    Phone Timeline
    'If we could change ourselves, the tendencies in the world would also change.' - Mahatma Gandhi
    Community Guidelines and also here
  8. #8  

    Default Re: [GUIDE] Wakelock Detector: How to read/I interpret and fix wakelocks

    Quote Originally Posted by Golfdriver97 View Post
    I think you are right. A good reason that restricting background data be done carefully.

    From a Carbon M8 and AC Forums app
    I went on a background data restricting spree when I initially got my Note 2! haven't done any such thing with this g2!

    Sent from my LG G2 using Tapatalk

Posting Permissions