yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] ahikmat:
Could you show the kernel wakelocks ?
[Android Apps and Games] luckybull:
Sorry looks like i've forgot to take kernel wakelocks pictures but gonna wait for it and post them here in couple of hours after using my phone.

------- Edit

Ok, so after 2h 24m i have 5 more screenshots but i think 2h 24m of statistics couldn't be as accurate as a 22 hours statistics. Also last cm10.2 nightlies may have an unexplainable battery drain after a call. I'm thinking that maybe i should go back to stock and test it there with the same phone apps and data.
[Android Apps and Games] dblane79:
wakeup trigger

Hi

Thanks for the app

whats the difference between wakeup triggers and cpu wakelock?

also on my phone galaxy ace 2, the thing that wakes up the cpu the most is the Android system *backup* and alarm manager.

Any way to turn these off?

thx
[Android Apps and Games] ahikmat:
Hi,

There is a presentation which you might need to take a look.

http://www.slideshare.net/ahikmat1/android-wakelock-detector

Wake-up triggers are the root cause of "AlarmManager" wakelock.

Whenever some app wants to check periodically for something, they wake-up phone via "AlarmManager"

CPU wakelocks are used when the phone is awake to prolong awake state.

You can switch off your Android backup settings to remove *backup* wakelock.

AlarmManager wakelock is not avoidable, though you can reduce it by going through "Wake-up triggers" and reduce wake-ups by changing (synchronization/update rate)settings of those apps.
[Android Apps and Games] michfood:
wakelocks is really dangerous android mechanism...
[Android Apps and Games] adroit11:
What you say ? Are you sure its dangerous ? i need this app but i dont install becuse you say this app is dangerous for mtly neo v
[Android Apps and Games] gadgetrants:
I think something got lost in translation. Unless michfood smokes an unusual variety of $%#&, I assume he means "wakelocks" and NOT "wakelock detector." In other words: the APP is awesome. HOWEVER, the ability for Android apps to set a wakelock is often abused or misused by programmers, causing unnecessary wear and tear on the CPU and battery. It's an expensive programming technique and should be used with caution.

-Matt
[Android Apps and Games] michfood:
That is what I really mean, thanks bro for expanded translation :)

Wow... What's wrong with my letters?!
[Android Apps and Games] gadgetrants:
LOL I really struggled with that part of my comment -- probably forgot I'm on xda (anyone seen a moderator...???) and not one of those more family-friendly Android forums where you have to watch what you say!

-Matt
[Android Apps and Games] ahikmat:
[NOT YET CONFIRMED NEW FEATURE]

Currently, wakelocks can be filtered by

a) "CPU"(aka Partial wakelocks)

b) "Screen"(aka Full wakelocks)

c) "Kernel"

Whenever user has a wakelock issue, he has to check each of them.

That means user need to go through 3 types of wakelocks until he finds the issue.

So, what if we make a new section "No filter" , where we show all of these wakelocks in one, sorted by usage.

This is just a pending idea, just curious about your opinions!!!! Thank you
[Android Apps and Games] weisass:
Love this app!

Its so informative and helpful about what uses wakelock
[Android Apps and Games] Jolest:
I like the idea. You just need to have some way to identify each type of wakelock in the list.
[Android Apps and Games] ahikmat:
Thank you!!

Sometimes I can see people posting separate screenshots for each wakelock types,

I hope it will be easier to post single screenshot, all in one..

Probably I need to put the icon (cpu,screen or kernel) to identify each wakelock type on the list..
[Android Apps and Games] ahikmat:
As "Wakelock detector" is a tool which is a bit more technical than other apps, I am making a "User guide" presentation.

If you want to know more details about Wakelock Detector, Check it out:

http://www.slideshare.net/ahikmat1/manual-for-wakelock-detector
[Android Apps and Games] adroit11:
Thank you

Please upload image in zip file
[Android Apps and Games] michfood:
as for me - screen wakelock can be easealy identified by user - and almost all of them are user`s initiated - such as navi programs or games.

kernel wakelocks - are very hard to correct becouse of kernel is kernel and user has no possibility to change it.

so CPU wakelocks - is the only one we can manage in some cases...

the most interesting I think is to get possibily to interrupt or block some wakelocks
[Android Apps and Games] 84yu4j1:
I just installed this app,, and I love it,

it's very simple, clean interface, and user friendly :good:
[Android Apps and Games] hghua:
I'd like the program to have a feature to periodically check whether delta(wake time - screen on time) increased much, that means some programs are eating battary when screen is off.

Thanks!
[Android Apps and Games] ahikmat:
Yes, it can be done!

We are working on it
[Android Apps and Games] winwiz:
Awesome app

Once you identify that an app is causing wakelocks, how do you fix it? I have facebook appearing but have no idea how to stop it
[Android Apps and Games] ahikmat:
Could you share screenshot ?

I have Facebook APP on top too,

However, it reasonably uses wakelock for checking new events..(~5 minutes during a day)
[Android Apps and Games] winwiz:
Here you go buddy
[Android Apps and Games] shape_shifter:
Proximity

Great app! I've detected what is draining my battery, but I don't know hot to stop that? :(

I'm on CM 10.1 rom.

EDIT:

I think I've found the "winner" who is causing me constant wakelock. It's NiLS Notifications Lock Screen, but I will need few more hours to confirm.

EDIT2:

Confirm, it's nils lock screen. Just check "disable proximity" inside nils and everything is ok.
[Android Apps and Games] ahikmat:
If you go to Facebook App "Settings" , there is an option "Refresh interval" which you can increase to reduce Facebook "wake-up"

I set it to "1 hour" , and it is much reduced now
[Android Apps and Games] ahikmat:
Thank you for sharing your experience!
[Android Apps and Games] timmyd463229:
Can we see a screen shot of your facebook wakeups I got rid of my Facebook app cause it was used so much
[Android Apps and Games] ahikmat:
Here it is !!
[Android Apps and Games] timmyd463229:
I'm sorry I meant a screenshot from wakelock detector
[Android Apps and Games] scottjb:
This is why I removed Facebook from my devices. You have to let it refresh every hour to reduce wakelocks? That's ridiculous! Off should mean off. Chrome works fine for both the mobile site and the full site on my Moto X.
[Android Apps and Games] GatoL0c0:
Or you could use Greenify. I have both Greenify and Wakelock detector on my phone.

**––**––**––

Samsung Galaxy S3

CM10 Nightlies / BMS / Crossbreeder / TWRP
[Android Apps and Games] ahikmat:
It depends on personal preference

I like when Facebook app notifies about new messages ;)
[Android Apps and Games] scottjb:
My device is not rooted, thanks anyway.

---------- Post added at 10:24 AM ---------- Previous post was at 10:22 AM ----------

I had refresh turned off but left notifications on. Is that why Facebook woke my device 200+ times that day, to check for notifications? I will try the app again with notifications turned off to see if the wake locks go away. Thanks.
[Android Apps and Games] winwiz:
I have mine set to never!

So if I change it to say 4 hours, would this reduce the wakelock?
[Android Apps and Games] killerfrog:
Hi guys,

I've just installed this applications to see why I made only 1.5 hours of screen with my S3 with a full charge. Here are the results:

There is something wrong?
[Android Apps and Games] ahikmat:
Yes, I have tested (from Interval 10mins to 1 hour) and it reduced for me.
[Android Apps and Games] ahikmat:
Try to clear maps cache and turn off google location service,

Do you have a ROOT access? if so then you can comletely freeze with "Greenify"

otherwise, "Force close" as a temporary freeze
[Android Apps and Games] killerfrog:
No, I haven't rooted my phone. In the meanwhile I have disabled location services :) thank you for the answer!

Inviato dal mio Nexus 7 usando Tapatalk 4
[Android Apps and Games] scottjb:
I tried it again. I set refresh to never and turned off notifications. Facebook quickly became the top app for producing wake locks for both elapsed time and triggers. I removed it again. What could it need to do when I specify no updates? It can't be good. :-\
[Android Apps and Games] Gabrieltan:
Wakelock problem

Hey guys, i am headache with wakelock of baseband_xmm_power and 1013.. anyone know the solution? i read through xda, there is not exact solution about it.. Thank in advance
[Android Apps and Games] scottjb:
I notice 1013 a lot when I listen to podcasts. Could that be it?
[Android Apps and Games] saumar:
For me 1013 was the lock-unlock sound..maybe for you is the same thing...

Inviato dal mio GT-I9070 con Tapatalk 4
[Android Apps and Games] Christiancs1969:
All touch sounds... Turn off reboot and see;)

s2..rootbox
[Android Apps and Games] Gabrieltan:
i try disable lock and unlock sound see how.. thanks
[Android Apps and Games] dashqa:
Hello guys, I have so many wakelocks.. could you help me? How to solve them?
[Android Apps and Games] ahikmat:
Could you show how much percent your phone was awake and for how long the statistics ?

"deleted_wakelocks" are nothing to worry about them, they existed before..

wakelocks started with "sns" related to sensor, and I don't think you have a big problem with it.

let us check how much your phone is being awake,
[Android Apps and Games] dashqa:
Here you are, thanks.;)
[Android Apps and Games] marselcj:
I use CM rom too. Could you please tell me where I could find Nls so I will be able to verify the proximity if it's enabeled??

I had a lot of wakeloks from this "nls...." inside Google Services.

Thanks.

---------- Post added at 10:49 PM ---------- Previous post was at 10:48 PM ----------
[Android Apps and Games] shape_shifter:
Just open nils app and go to "service settings" and check "disable proximity sensor" option.
[Android Apps and Games] marselcj:
Thanks for your answer, but I can not find that app on my phone.:(
[Android Apps and Games] shape_shifter:
Then it's not installed on your phone, so this app is not causing you problem, something else did. The app is called "NiLS Notifications Lock Screen".
[Android Apps and Games] marselcj:
So, how could you explain that I have those notification in my Wakelock Detector??:confused:
[Android Apps and Games] marselcj:
L.E. I think I understood. We are talking about two different thinks, I supose....., sorry.
[Android Apps and Games] shape_shifter:
Haha...definitely! I was also little bit confused, and now when I saw screenshot you are actually talking about nlp collector wakelock which is google service. Don't worry it's service who is collecting wakelocks of all google apps, so no need to worry.
[Android Apps and Games] ahikmat:
There is a possible solution here:

http://productforums.google.com/forum/#!msg/mobile/kZkk3E3YVTc/Lx0WKIMrtj8J
[Android Apps and Games] ahikmat:
Have you found the solution?

According to this thread: http://xdaforums.com/showpost.php?p=45160762&postcount=69

Google only do this collection at the moment when "Wi-Fi & mobile network location" is checked, where we also agree to anonymous location data being sent to Google. If this is unchecked, on three devices I've tested so far, the NlpCollector wakelocks disappear.

Other options

1) Turn off Location Reporting and Location history in Maps.

2) Turn off location services in Settings

3) if you have GoogleNow installed turn of that too in GoogleNow> Settings
[Android Apps and Games] rraaka:
which part of the statistics shows the extent of wrong usage-- the position of app in list or the extent of the blue indicator in the line next to the app name ---------->----
[Android Apps and Games] ahikmat:
blue indicator on the right of app's name is the sum of all wakelocks belongs to the app.

the blue indicator(progresbar) is calculated with total awake time..

for example, if your device is awake for 10 minutes(excluding screen on time)

and blue indicator is at 50%, it means the app(or app's service) wakelock time is 5 minutes..
[Android Apps and Games] CrazyQuiz:
Thank you for your share
[Android Apps and Games] RedWave31:
Possibility to remove double wakelocks

Hi! As said in the play store comments, I got a custom kernel that gets me Audio_Out13 as a double wakelock, and that fakes pretty much everything. Could you just implement a function to remove/ignore certain wakelocks, so that estimates go right again?
[Android Apps and Games] xnaborx:
Oh God...

Always Facebook... :eek:
[Android Apps and Games] ahikmat:
Thanks for mentioning it.

Interesting, this kind of situation was not considered. What is your custom kernel ?

How about the values of those double "autio_out13" ?

The values are same or different?

Either we can merge them into one by summing their values, or we can ignore one of them if it has always Zero value.
[Android Apps and Games] ahikmat:
Did you try to tune settings of Facebook app, might help to reduce wakelocks..
[Android Apps and Games] Xoib:
** Sorry, I posted not in the right thread/topic **
[Android Apps and Games] xnaborx:
Yeah, I turned it off, "never update", and still, more wakelocks than PHONE...

I think push notifications shouldn't have that many wakelocks... even because I hadn't any notifications to be pushed today!!

I think this FB code is a mess... how come they can't make a good app?
[Android Apps and Games] jasvncnt1:
I use titanium back widget for face book. I have it set so when I click it...it opens face book. When I click it again if freezes it. I don't get notifications but i don't care bout that.
[Android Apps and Games] xnaborx:
Thanks for the tip, gonna try it!
[Android Apps and Games] scottjb:
I had update and notifications off and Facebook was still the top wake lock app. It's not installed any more. I use a browser for Facebook now. Naked Browser Pro still let's me use Facebook's full site when I want it.
[Android Apps and Games] xnaborx:
Can you upload photos/videos via browser?
[Android Apps and Games] scottjb:
Yes, I was able to upload a photo. I have never tried a video. As long as the photo or video is available to your Android Gallery, you should be able to select it that way.
[Android Apps and Games] wilflare:
hmm. how many references are we allowed to set in Wakelock Detector?

do the stats always reset after we unplug/reboot/charge to 100%?
[Android Apps and Games] ahikmat:
there are two,

Since unplug and

Since the time when battery statistics were reset (reboot or cable unplug while charge level above 90% causes stats to be reset)
[Android Apps and Games] RaNDoLpH-GT-I9505:
the best

the best app thanks
[Android Apps and Games] mailistman:
alarm manager problem

hi,

been using this wld for awhile, awesome. i have a problem that my phone constantly awake. screenshot below.

how to control the "Alarm Manager" & "zerowakelag" ? i am using SGNote 2. many thanks in advance.
[Android Apps and Games] scottjb:
Looks as if zerowakelag is there to prevent deep sleep. Maybe you can disable it.

You can start here for information: http://xdaforums.com/showthread.php?t=2208267
[Android Apps and Games] ahikmat:
not sure about "zerowakelag", it would be nice if someone could give more info on it,

You can reduce "Alarm Manager" wakelock by checking "Wakeup triggers"

Try to reduce wakeup counts for the app listed on the top.

Apps usually have settings for notifications alarms etc..try to reduce the frequency of them..
[Android Apps and Games] ahikmat:
can not wait to publish new upcoming update of Wakelock Detector

New disc widget, which shows: Awake, Screen On, Deep sleep percentages (Red,Blue,Green accordingly)

More:

- directly greenify from WLD

- improved widgets

- knowledge base updated

- displaying more batt, statistics
[Android Apps and Games] wilflare:
anyone knows what these wakelocks are?

my Partial Wakelocks are only like 18ms

(PowerManagerService.WakeLocks)

but the following add up to almost an hour

bam_dmux_wakelock 28m 25s

ssp_sensorhub_wake_lock 12m 20s

ssp_wake_lock 9m 47s

on a rooted Galaxy Note 3 with Greenify
[Android Apps and Games] SweetPant:
Can anyone help me? I got 100% awake even without partial wakelock. I'm desperate from BBS as no one helped me there. :crying:
[Android Apps and Games] wilflare:
hmm... are you using the phone the whole time..? 27m is too short to decide on anything..
[Android Apps and Games] SweetPant:
I used it for 1 min. It will be the same even if I left my phone for hours. However, I will give you the screenshot of longer idle time.
[Android Apps and Games] scottjb:
While it's hard to tell from those screen shots, one of the best things you can do for your battery is remove Facebook.
[Android Apps and Games] SweetPant:
Here again with more idle time.

I also added BBS dump, in case you want more details.

PS. I don't think Facebook is the culprit. At least it should not cause 100% awake or it should be shown in stats which is obviously not in this case.
[Android Apps and Games] sonwon:
Trust him, Facebook is a known battery hog. There is always the web interface, besides life is better without Facebook. Well at least give it a try for a couple of weeks.
[Android Apps and Games] SweetPant:
I know fb is battery hog but it is not likely to be the cause of 100% wake lock. Actually there are many times I got 90% of deep sleep with this app on my phone.

But OK I will remove Facebook and post the log again.
[Android Apps and Games] ahikmat:
You've got "NlpWakelock", you can eliminate it by turning off "Location reporting" in Location Settings of your phone.
[Android Apps and Games] SweetPant:
The sum of NlpCollectorWakeLock and NlpWakelock is just about 3 minutes. My phone was on for more than 3 hours yet 100% awake.

They can't be the culprit?
[Android Apps and Games] ahikmat:
How fast your battery drains?

is it draining too fast?

the awake time from android battery service might be wrong too..

could you post the screenshot of default Android battery usage statistics ?
[Android Apps and Games] SweetPant:
It drained about 1.6%/hour (idle), according to BBS report.

I checked the battery stat and Android OS stayed awake the entire time.

This is my another log with BBS dump. Same scenario. 100% awake, no partial wakelocks that equate to total awake time.

The highest partial wakelock is NlpCollectorWakeLock (Google Services) which only took 2 minutes while my phone stayed awake for more than 10 hours.
[Android Apps and Games] wilflare:
care to share what are the apps you have installed?
[Android Apps and Games] SweetPant:
Sure here:

9GAG
Audio Manager [https://play.google.com/store/apps/details?id=com.smartanuj.hideitpro]
BetterBatteryStats
Box
Calendar
Chrome
CPU-Z
Dictionary [https://play.google.com/store/apps/details?id=com.dictionary]
Dropbox
Earth
Financius
Foursquare
FX [https://play.google.com/store/apps/details?id=nextapp.fx]
Gmail
Google Keyboard
Google Pinyin Input
Google Play Books
Google Play Music
Google Play services
Google Play Store
Google Search
Google+
Hangouts
Hungry Shark
Instagram
Keep
LINE
LINE Tools
Maps
Merriam Webster
Minus
Permission Manager
Quickoffice
RedLaser
Smart Voice Recorder
Speedtest
Thai Easy Dict
Translate
Wakelock Detector
YouTube

PS. I just uninstalled Facebook this morning to see if wakelock disappears.
[Android Apps and Games] SweetPant:
After uninstalled Facebook. The 100% awake still persist, same symptom. So it's safe to assume that Facebook app is not the culprit.
[Android Apps and Games] ahikmat:
Kernel Wakelocks

================

"PowerManagerService.WakeLocks" (): 1 h 7 m 33 s (4053 s) Cnt:(c/wc/ec)0/0/0 99.9%

It looks that you have a problem with above kernel wakelock

There are some possible workarounds here:

http://xdaforums.com/showthread.php?t=2392155&page=7

It seems that restarting is a temporary solution..

Strangely, this problem is happening mostly with Nexus phones..

is your phone Nexus ?
[Android Apps and Games] SweetPant:
Yes my phone is nexus 4. So I think it is not a rogue app problem.
[Android Apps and Games] ninebirds:
:good: Great work! I have been looking around for such a tool for a week to help me solve my LG G2 battery problem. Thanks a lot,

BTW, it is possible to tell the percentage of battery used by each app / wakelock?
[Android Apps and Games] ahikmat:
Thank you for your feedback

Currently that feature is not available.

New features might make the app more complicated..

So you can use some special apps to monitor cpu usage.
[Android Apps and Games] Flash23:
Is this normal? I always see in my notifications that Google Play is always trying to download... I have it set to WiFi only in the settings.. But I'm not sure why this is happening
[Android Apps and Games] ahikmat:
if you played some song with Google Play Music during that 18 hours, then it is okay,,

otherwise not sure what exactly is wrong with its notifications, hopefully re-installing or upgrading to the latest might fix it,,
[Android Apps and Games] stefan.xd15:
I don't know how to explain this... Hope you'll understand me. So my phone was full charged so i put out the charger and i go to school. After 6 hours i came back and my battery was at 50%. I was surprised but when i tried to call someone my phone died. So when i turn on the phone, battery was at 3%. Same thing today, i put out my phone from charger after 2 hours i tried to do 2 photos and *bam* died - 3% battery. After just one second of charging level of battery jumped on 47%. So, my phone don't really know how low or high is the battery level.

There is a screenshot so you can see what i mean. And no app-drains. Can you tell me what is the problem? Hope you understand me

Oh right, i have Galaxy SIII Mini with stock 4.1.2.
[Android Apps and Games] sonwon:
If you haven't changed anything on the phone the battery may be on its last leg.
[Android Apps and Games] power2top:
Does anyone know how we can set some monitor/reference points so for instance, I might want to monitor wakelocks when I go to sleep. So I will config. in WLD to now on monitor any wakelocks(of anytypes) till say 7am when I again start my phone. Possible? I think BetterBatterStats has that feature but did not see WLD having it. Anyone know?
[Android Apps and Games] ahikmat:
Too bad news,

Google has modified many things regarding battery service in 4.4 KitKat.

That is why Wakelock detector is not working in 4.4 kitkat at the moment.

It looks the battery service name was changed from "batteryinfo" to "batterystats"

I tried to change it, but now I have a error "Battery_stats permission is missing"

Need some help!
[Android Apps and Games] Christiancs1969:
Any use?
[Android Apps and Games] ahikmat:
Thanks but not really...
[Android Apps and Games] Christiancs1969:
Sorry
[Android Apps and Games] ahikmat:
it is okay,

I have received a reply letter from Dianne Hackborn (https://plus.google.com/105051985738280261832/posts)

She says developers who were using BATTERY_STATS permission below 4.4 are now doomed :|
[Android Apps and Games] Xieon1:
Excellent app.

Can someone help me out if they have any idea what either of these are. They are kernal wake locks.

Event1-306

kgsl-3d0
[Android Apps and Games] ahikmat:
Can you share your screenshots?
[Android Apps and Games] ewwick:
won't be getting the 4.4 upgrade anytime soon, but hopefully you figure it out~

still, very helpful with the previous android versions!

thanks for the easy to understand manual as well! XD