egzthunder1 · Mar 28, 2013 at 05:30 am

Defend Your Battery with Wakelock Detector

As our devices become more powerful, larger, and are filled with more and more software from the manufacturers (bloatware and some spyware); some things tend to take a hit that tend to make our experiences with our devices rather short lived. The battery is about the only thing in the entire technological salad that comprises our mobile devices that does not keep up with the rest. In this day and age, you will see similar sized batteries (in terms of capacity) to what you saw 2 years ago for far less power hungry devices. On top of that, as stated earlier, some software packages pre-installed do not help with your battery life either, which is why custom ROMs (particularly those of the AOSP variety) are a blessing as they are not loaded with the extra overhead. These extra apps are not only unnecessary, but many of them have a rather nasty side effect: They prevent your device from fully going to sleep when it has to.

Wakelocks have been around for quite some time (meaning they are nothing really new), and they are part of your overall Android experience. The wakelocks essentially will prevent certain apps from being totally killed by the device’s native memory management, allowing you to enjoy a faster response when opening apps, preventing your device from sleeping while you are in the middle of something, and even allowing you to do things with the screen off. As one would expect, there is no free lunch and keeping your device’s processor active has a toll on battery life. Determining what is responsible for these wakelocks is not always an easy or straight forward task because any given app could have more than 1 process keeping your device from sleeping.  XDA Forum Member ahikmat has developed an app that allows you to determine which apps are causing the biggest wakelocks.

Wakelock Detector will group all processes causing wakelocks on a per app basis, which makes it easier to determine which ones are the biggest offenders. This is indeed a great tool for analysis of battery drain on devices suffering from constant power “bleeding.” Please leave some feedback for the dev in case you have any suggestions or run into any bugs.

Ever wondered why your smartphone screen doesn’t turn off automatically when it should have, the screen wakes up all of a sudden or you find your phone battery drained even when you exited apps and turned off the screen? This might be due to wakelock holding apps.

You can find more information in the original thread.

Want something published in the Portal? Contact any News Writer.


_________
Want something on the XDA Portal? Send us a tip!

egzthunder1

egzthunder1 is an editor on XDA-Developers, the largest community for Android users. I have been an active member of xda-developers since 2005 and have gone through various roles in my time here. I am Former Portal Administrator, and currently part of the administrator team while maintaining my writer status for the portal. In real life, I am a Chemical Engineer turned Realtor in the Miami area. View egzthunder1's posts and articles here.
Mathew Brack · Aug 1, 2015 at 09:00 am · no comments

Voices Of XDA: Orbiting The Earth With Android

Editor’s note: This week's feature has been written by forum member RowHanSolo and takes a look at the exciting prospect of launching satellites fitted with little more than an Android phone as an onboard computer. From a university to NASA, multiple projects like this have launched!   Technology is an ever-growing industry, regardless of which corner you look at. However, each area of technology has its limitations on what it can do and how far it can expand. For satellite technology,...

XDA NEWS
Mike McCrary · Jul 31, 2015 at 03:56 pm · 1 comment

CloudPlayer: DIY HiFi Music Streaming Solution

In our Helpful Guide to Music Streaming Services, we mentioned several different services that offer ways to stream catalogs of music directly to your device. While each service has their benefits and drawbacks, the common theme among them is to give you access to a vast library of music without the need to store your own, and charge you a monthly fee for the privilege. But what if you already had access to your own catalog of music? Sure, there...

XDA NEWS
GermainZ · Jul 31, 2015 at 01:03 pm · 1 comment

Optimize Battery Life with This Useful App

Battery life is an important aspect of your smartphone, especially if you use it for more than just calls on the go. Since you're on XDA, you probably do and want to get the most out of your battery. Now, you can't magically expand its size but no matter how much its capacity is, you should make sure it's not draining faster than it should be. Your phone's processor runs at different frequencies when you're using the device. The CPU...

XDA NEWS