yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] jatink007:
On PC i got confirmation for list of devices

Even enabled tcpip

But when i run "adb devices" on the terminal emulator in my phone (nexus 4), the list of devices is blank
[Android Apps and Games] ahikmat:
before running "adb devices" on your phone, can you restart adb by running "adb kill-server" first.

then try with "adb devices" again,

sometimes the adb needs to be restarted
[Android Apps and Games] jatink007:
did that... list of devices says

emulator-5554

Now WLD working!! Thanks

Please update your google doc too for including this command.

one more question.... will i have to do this again if i restart my phone?
[Android Apps and Games] amanosz:
Same here:

On slide 7, "adb devices" on my computer gave me a correct list of devices but there was no popup alert to allow USB debugging (I did not click "always allow from this computer" previously).

I think "adb tcpip 5555" was successful: the command line responded that it was restarting in TCP mode port 5555 and in this case there was a popup alert to allow USB debugging.

However, when I go to the Terminal emulator on my phone, it does not recognize the adb command: /system/bin/sh: adb: not found.

From my computer, adb devices still shows the phone connected, however when I run adb devices. But WLD 1.5.7 does not gather statistics unforunately.

I'm on an unrooted Moto X on 4.4
[Android Apps and Games] ahikmat:
unfortunately yes, we need to do this again if you reboot your phone,

thanks for your feedback
[Android Apps and Games] Restorer:
Yay! It was the "kill-server" command was all mine needed to get going :good:.

Many thanks for that tip.

I'm happy again knowing your fine app is there to keep an eye on what those other apps are up to :D. Keep up the good work :good:.
[Android Apps and Games] CYRAXDroid:
Just installed this I have s3 I747 att and im running 4.4 kk and when I try to open this it tells me failed to run this task try to uninstall and reinstall still get the same thing.. any ideas
[Android Apps and Games] svarte:
I installed CM 10.2 (Android 4.3.1) and i have wakeup issues.

Last 1,5 day i have:

Total awake time 5h 44m

Screen on time: 2h 29m

Google services at CPU wakelock is 1h. The problem is from the two NLP. (*wakelock and *collector)

In wakeup triggers Android System is 388 times, and google search is 368 times.

Before that 1,5day i had disabled in google settings -> location -> report & history. GPS also was off.

Any suggestions?

Thanks
[Android Apps and Games] sordna:
Woohoo, these findings and the amazing devs' responsiveness led to RootTools being updated to adress these issues, with the release of 3.4:

https://plus.google.com/+StephenErickson/posts/atQgpntFFWv

https://code.google.com/p/roottools/downloads/detail?name=RootTools-3.4.jar

ahikmat, please share the apk you sent me, it works clean on my rooted Nexus 4 !
[Android Apps and Games] ahikmat:
I update the apk on http://xdaforums.com/showpost.php?p=48149239&postcount=338

and also published to Google Play!

Thank you for your contribution!
[Android Apps and Games] sephk:
The XDA apk asked for the privileges, but the play store version is not asking for root privileges, and just showing the disclaimer about root requirement.

edit- now it did, after a few uninstall/reinstalls... weird.
[Android Apps and Games] quaff:
I'm running KitKat 4.4.0 and I've followed the google doc for non-rooted users, but I don't have adb installed on my phone (Moto X), I can't perform a self connection. Anyone know how I can install ADB on my phone itself? Also, the adb version in the google doc is out of date, 1.0.29, I had to use a newer version (1.0.31), because 1.0.29 didn't authorize against my phone. Could this be what I'm doing wrong?

Edit: my Nexus 7 has adb installed. I suspect adb is removed from Non-nexus and non-GPE devices. Anyone have a fix for this?
[Android Apps and Games] morphodone:
I can't seem to get this step to work. I have the terminal emulator installed but when I type "adb kill-sever" I get "/system/bin/sh: adb: not found" on my phone.

I'm sure I missed something but can't figure out what.
[Android Apps and Games] ahikmat:
Today I solved my own issue with "Wakelock detector"

while I was working, suddenly my phone's screen turned on (for several seconds) and off by itself ..

after that I opened WLD, and check for "Full wakelocks"

That is it , I caught it. It was Mp3 Downloader's Ad Notification..

I forced closed the app( I dont wanna uninstall 'cause I really need it sometimes:))
[Android Apps and Games] akira018:
Can I use this together with better battery stat?
[Android Apps and Games] eliashadow:
Απ: [APP] [2.2+] [Version 1.x] Wakelock Detector(new app for easier access to wakeloc

Yes, why not? Maybe you will see a wakelock from battery monitor each other.

Στάλθηκε από το GT-N7100 μου χρησιμοποιώντας Tapatalk 2
[Android Apps and Games] ahikmat:
Yes, of course. They work independently from each other.
[Android Apps and Games] brandontowey:
Re: [APP] [2.2+] [Version 1.x] Wakelock Detector(new app for easier access to wakeloc

Great app, showed me my email app was syncing way too much and I put a stop to It.

Did have question: somehow when it was installed, the app bypassed LBE Security which is supposed to let me choose which permissions are granted. Curious if you know why that would happen or if it's just a hiccup. Not insinuating anything and I'll try un-installing an re-installing to see if it works the second time.
[Android Apps and Games] nhariamine:
Best app working with greenify, all wakelocks are idle now !!! thanks dev
[Android Apps and Games] tltan86:
Great presentation slides! :good:
[Android Apps and Games] zwoggel:
Great App but the German description in the Play Store looks like it was done with Google Translate ;)
[Android Apps and Games] Nandeh:
Thanks a lot, just installed and testing what apps are making wakelock :good:

Great work!!
[Android Apps and Games] Xeeshu:
Great APP

Great app. Thanks for your efforts!
[Android Apps and Games] lordxentris:
Helped me out a lot, Thanks.
[Android Apps and Games] bluepratham:
app working very nnice

i always wanted such kind of app

THUMBS UP

one request

plz make the app INVERTED...i like, and i think most of people like dark apps

and if there is any conflict with my suggestion, plz tell..
[Android Apps and Games] nyr2k2:
I've been waiting for an app like this. BBS is a terrific tool, but I don't necessarily understand what I'm looking at. This is making things much easier for me. Thanks.
[Android Apps and Games] TJKV:
That happened simply because this app requires no unsafe permissions, so nothing to warn you about. Check in google play desktop website ;)
[Android Apps and Games] and2nckiko:
Downloaded..looks good app on their comments...will be back tommorow for some feedback..thanks.
[Android Apps and Games] denzel09:
R: [APP] [2.2+] [Version 1.x] Wakelock Detector(new app for easier access to wakelock

Good thanks:)
[Android Apps and Games] brandontowey:
Re: [APP] [2.2+] [Version 1.x] Wakelock Detector(new app for easier access to wakeloc

Awesome. Thanks.
[Android Apps and Games] jimbobtexas:
"Sorry, your device does not support battery statistics."

What am I missing? :confused:
[Android Apps and Games] rfar77:
Very good looking app, and very useful...waiting for new updates ;););)

Sorry my english...i'snt my first languaje
[Android Apps and Games] Nooblube:
Killer app boss! Very useful.. Thanks for this:good:
[Android Apps and Games] ahikmat:
We expected that all Android phones with kitkat have adb binary by default.

But we were wrong about that. Some phones like MotoX does not have it.

Porting adb into bin folder will require root which is not solution.

Another way is the PC version that can retrieve statistics from pc side adb.

It might be uncomfortable to plug to pc everytime for checking wakelocks, but after google has restricted access for wakelock statistics this could be the only option for non root phones.
[Android Apps and Games] Restorer:
Why has Google suddenly decided to start making things more awkward for developers. Is there any particular upside for them in making these stats so hard to access?
[Android Apps and Games] ahikmat:
until now they did not explain it clearly,

here is some hot topic on it : http://code.google.com/p/android/issues/detail?id=61975
[Android Apps and Games] Restorer:
Hmmm. "To protect user data". Does this mean it offers some form of exploit - or just that Google need battery stats to be confidential for the reasons cynics suggest?
[Android Apps and Games] sordna:
If they wanted to protect user data, they would take away "Phone state and identity", or "Discover known accounts". Not battery stats. It's a lame excuse.

Edit: not to mention App Ops, the only way we had to protect our data, and the disabled it at the same time. Isn't it a contradiction ?
[Android Apps and Games] iamelton:
i think we all misread google's statement..

when they said "To protect user data", they meant "To protect the non-interruptible uploading of user data to their and their partners' servers".. ;)
[Android Apps and Games] ahikmat:
network permission revert

After the latest update WLD is getting too many negative reviews. One stars .

Users are complaining about the network permission even though we explained it in WhatsNew section.

That is why, we want to remove network permission and for non-rooted kitkat phones we will release parallel version which will be downloadable from xda thread.
[Android Apps and Games] qbnb:
Statistics Since ~ 0.0 s

Just a quick question for everyone/anyone:

I am on a rooted Galaxy SIII running CM 11 (20131217-NIGHTLY-d2att) with Wakelock Detector 1.5.7. Since updating to CM 11, the "Awake" and "Statistics Since" both do not update and read 0, yet my internal batter stats (Settings>Battery) seem to be reporting fine. I have done some Google-fu and came up with nothing, cleared cache/davlik, updated CM, ensured WLD has root acces, and uninstalled/reinstalled. Does anyone have any idea what might cause this? I appreciate any feedback, thanks!

:confused:
[Android Apps and Games] Anrikus:
Only case I have something like this is when I charge the phone.

Seems WLD does not collect while charging.
[Android Apps and Games] leonard.pitzu:
I see the same behaviour on my Nexus 4 running the latest (17.dec.2013) CM11 build (android 4.4.2). WLD is reporting Awake 0% and Statistics since 0.0s although phone's up and running for 11h 50m. Wake triggers are reported correctly though even if CPU wakelocks are wrong (5s wake time in ~12h ?!?!? - i have used the phone at least for 1h talk time and >1h screen time)
[Android Apps and Games] ahikmat:
thank you for reporting this issue,

wld starting from 1.5.7 is reading from "dumpsys batterystats"

i guess cm 11 has somehow different output than original kitkat 4.4
[Android Apps and Games] GatoL0c0:
I have the same issue, my asleep time is always at 100%. D2spr CM 11 12-18-13 build. No mods installed

---------------

Samsung Galaxy S3

CM11 Nightlies / TWRP / PA 0-Day GApps
[Android Apps and Games] ciano865:
Same "issue": blank stats.

CM11 (4.4.2, 12/20 nightly, using ART).

Just for report and... Merry Christmas to all :angel:;)
[Android Apps and Games] jaweinre:
Same here, probably got broken after the 4.4.2 merge.
[Android Apps and Games] User_99:
Thx for the German language fix...
[Android Apps and Games] webwude:
Seems so - same here.

Is there any way to enable it again - e.g. sending some logs or dumps in order to examine this issue - I guess we have a lot of CM11 users here...
[Android Apps and Games] ahikmat:
Can anyone please post a dumpsys of batterystats in CM11,

using adb from PC execute this command : "adb shell dumpsys batterystats --checkin"

take a look at sample file
[Android Apps and Games] ciano865:
dumpsys batterystats

I append dump.txt got from my Nexus 4, CM11 12/26 nightly (4.4.2), ART enabled.

Hope this may help to solve "issue", Thanks [MENTION=2813077]ahikmat[/MENTION]
[Android Apps and Games] ahikmat:
Thanks a lot!

I found out that the "bt" was repeating at the end with zero values,

so i just ignored the second one.

Could you check it again.

I attached the modified version
[Android Apps and Games] ShagoY:
Yeah! Stats are back ☺ but im not sure if another bug are coming...

Envoyé depuis mon Nexus 10 avec Tapatalk 4
[Android Apps and Games] ShagoY:
After test "Screen-on-time" are gone ?

Envoyé depuis mon Nexus 10 avec Tapatalk 4
[Android Apps and Games] GatoL0c0:
Seems to be working. :beer:

*edit* I've had this installed for about 8 hours and it's not detecting sleep vs awake properly. My awake time is 26 mins and my sleep is 12 mins. Definitely not right.

---------------

Samsung Galaxy S3

CM11 Nightlies / TWRP / 0-Day PA GApps
[Android Apps and Games] ahikmat:
Screen On time bug was fixed for CM11
[Android Apps and Games] ciano865:
Thanks, do you will update Google Play app or is a "CM VERSION ONLY" ? ;)
[Android Apps and Games] ShagoY:
If i check "statistique since unplug", screen on time are not display again.

Thank for your work ☺

EDIT : it's finally work.. after manual reset and pour/unplug USB cable ?

Envoyé depuis mon Nexus 10 avec Tapatalk 4
[Android Apps and Games] webwude:
Thank you for fixing this issue.
[Android Apps and Games] ztycx:
please anyone could help me make some sense about the chart of wakelock detector. as in the screenshot below, for KakaoTalk, what does "2m 48s" mean? does it say that 64 wakelocks from KakaoTalk, each with 2m 48s long?
[Android Apps and Games] ercanmetin:
Hi, I am trying to see if anyone can explain me what to understand from all this and how to setup my mail client(kaiten mail) to eat up less battery. thanks
[Android Apps and Games] ArvinBoggs:
thanx for sharing.

what actionbar are you using. how did you put icons on the popup menu items? I've tried putting icons on overflow menu items but they're not showing.
[Android Apps and Games] ahikmat:
KakaoTalk held wakelock for 2 minutes 48 seconds during 4 hours,

That means, KakaoTalk waked up your phone from its deep sleep 64 times, resulting your phone to be awake for 2min 48secs.

your phone seems not having any wakelock issue, you can check for "wake up triggers" to reduce "Alarm manager" wakelock count.
[Android Apps and Games] latino147:
Hi, I just installed the app and read the whole manual trying to learn about wakelocks and how to handle them.

I still have a few questions though:

* Will I need to keep updating the app through your separate link for CM11 or will a next version of the play installer solve this?

* when an app or alarmmanager wakes the phone to do something, the amount of time the phone is woken is variable I suppose.

So the average duration is total time divided by nr of wakelocks for that process?

Then also it's not so important how many times the phone is woken, but the total duration is key?

* In this link it says that

So, whenever 'all' applicationmakers update their app to use this new API in Kitkat the OS will try to perform all alarms at the same time, with the smallest set interval from all apps to perform all updates, thereby having longer periods of sleep. Is that assumption right?
[Android Apps and Games] ahikmat:
* if you are using CM11 then I recommend to download and install from the link, otherwise you don't need it. Only CM11 users reported this bug.

And this fix is ready to publish to googlePlay, however we want to add one more feature then publish all together.

* Yes, Total Duration is the key, according to experiments "Wakelock Time vs Wakelock Count" it says that wakelock acquired time drains battery far bigger than acquired count. Acquired count had very tiny influence. I will try to find that experiment and post its link here.

* Right, the apps which used "set" function of AlarmManager will have inexact delivery. Although they still have new "setExact" function which will delivery in exact time. This change will group alarms ,minimize the system wakeups and supposedly save battery. but I could not find some proofs of it. This will not give big impact on saving battery IMHO

Reference AlarmManager
[Android Apps and Games] chuSmu:
Hi,

I have a problem with my kernel wakelocks - more precisely with sns_periodic_wakelock:

View attachment 2502417

My Question is if I can identify the culprit via the Wakeuptrigger view in the app:

View attachment 2502421

Can I be sure that one of these is causing the issues?

I already wiped system/cache and dalvik and reinstalled OmniRom and Gapps - since it didnt seem to fix my issue I figured it was caused by

one of my apps. Is that assumption correct?

Thanks for any reply in advance! :)

chuSmu

If you need more info I'll gladly provide it, here are some additional screenshots:

View attachment 2502419 View attachment 2502420
[Android Apps and Games] chuSmu:
I think i identified the culprit - it seems too have been an xposed module.
[Android Apps and Games] AA1973:
Which one?
[Android Apps and Games] chuSmu:
I thought it was xblast, but when i just tried to reproduce it my phone went into deepsleep just well (xblast just created

and additional batterie icon and exchanged it with my clock on it's own, as well as deleting my homescreens ;D). Thinking

back it might have been an issue with the Omni nightly after all. I remember that I just reflashed the same nightly I was using

before (not the smartest thing when I think about it now ^^). So of course the issue had to persist if it was the cause. Well I'm just

happy it works now. However if u are really curious i can flash the older nightly (think it was 1 oder 2 back) and try if i can recreate it.

chuSmu
[Android Apps and Games] AA1973:
No, that's too much of an effort. I am fine. Not curious anymore?
[Android Apps and Games] 2545:
Help. My wld started crashing on me. Worked fine since yesterday. I'm on Android 4.3

Any ideas? I uninstalled and reinstalled but it didn't help.
[Android Apps and Games] 2545:
OK, I found that Swipeback and wld is conflicting with each other. Wld will fc if Swipeback is installed.
[Android Apps and Games] Matti2:
Has anyone tried to unlock wakelock detector on the Note 3, 4.4.2 XEO?
[Android Apps and Games] SirSomnaathJi:
+1. Is there any solution to this..??
[Android Apps and Games] ahikmat:
Not yet, working on this
[Android Apps and Games] prodyg:
Yea I have the same problem and I'm on the 4.3 stock Sammy rom.
[Android Apps and Games] willcor:
hi , yes i followed ....... ahikmat " tutorial"

( very straight forward and easy to follow..thank you !! )

and its working 100 % i can see relevant apps etc etc ..

(non rooted Note 3 on 4.4.2 XEO)
[Android Apps and Games] love4chat:
Awesome App...Just add more detailed info like gsam battery monitor!!!
[Android Apps and Games] amroth84:
Hi, I've got a question, I'm using CM11 M2 on a Galaxy S3 (cm-11-20140104-SNAPSHOT-M2-i9300) with ART instead of Dalvik, and my WLD output looks like this:

i.e. 50% of awake time, no applications are actually part of it, and it's all kernel side.

How do I see which wakelocks are included in that "PowerManagerService.WakeLocks" entry?

Thanks
[Android Apps and Games] Anrikus:
Short google search said "PowerManagerService.WakeLocks is basically a catch-all for partial wakelocks."

You could take a look at the Wake-Up Trigger section in Wakelock detector to get a hint about that wakelock.

From the screenshots I would guess Facebook, Google Now and perhaps the mail exchange service could be the responsible apps (but this is just a guess).
[Android Apps and Games] sonwon:
I think FaceBook is a known problem application.
[Android Apps and Games] amroth84:
Thanks, I'll try to Greenify it.
[Android Apps and Games] SedyBenoitPeace:
First of all i make my congratulations for this great app! I found this better than BBS but they are both amazing apps! I have one question that probably some of you can understand.

In my phone i have the process 1013 that causes a bunch of wakelock with audiomix and keeps my phone awake! I'm on a Nexus 5 with Android 4.4.2 and i disabled yet the sound of lock and keyboard sounds to see if this wakelock can stop. I reach 4 h of SOT in Wifi then i'm happy with battery life but i think that i can score a better result! However it doesn't work and i have this frustrating wakelock! Is there a way to see who calls 1013 and causes audiomix?
[Android Apps and Games] Dan Law 001:
Force stopped on my note 2 running official miui.

And it generates an error message such as this:

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.uzumapps.wakelockdetector/com.uzumapps.wakelockdetector.activity... something like this.
[Android Apps and Games] ckhurana:
Hi All,

I have a 1 week new Note 3 N9005 France version (unlocked / on 4.3). My battery conks out in 1 day (1/2 hr calls, normal messages, 2-3 apps)

I haven't had time to go through my applist so only 1-2 apps including this one.

Am a techie but an android newbie & I installed WLD because I guessed it could help... I am attaching my screenshot of the main app screen, please advise, as I am unable to understand what's going on :(

Thanks a lot!
[Android Apps and Games] ckhurana:
It would be great guys, if anyone could help! I charged both this note 3 and my wife's note 2 around 7 hrs back. The note 3 is at 65% and note 2 is still at 94%. And I haven't had a single call on the note 3.

Something is really wrong here, BTW i am using this on Vodafone (India) and having all the radios off.

Please help!
[Android Apps and Games] DaniuPL:
How to run without root? Android 4.4.2 ? Please help.
[Android Apps and Games] ahikmat:
did you try to disable "Touch sounds" in settings?
[Android Apps and Games] ahikmat:
in MIUI the battery service needs to be started as far as i know, is battery service running?

could you send full error report, i will check it
[Android Apps and Games] ahikmat:
thanks for detail screenshots,

it is hard to see the clear reason though ((
[Android Apps and Games] ahikmat:
Did you try to follow these instructions

https://docs.google.com/presentation/d/1r3VlhZIZVSufZlAeICJet6QBtyAF7z06_ysl1kUKME4/edit#slide=id.p
[Android Apps and Games] SedyBenoitPeace:
Of course I told yet in the post :)

Inviato dal mio fantastico Nexus 5 con Franco's kernel
[Android Apps and Games] Dan Law 001:
Is it the battery service an apk? Since I could not find it in the setting...
[Android Apps and Games] nathansnyder:
Is there a link to the PC version? I'm ok with doing that.
[Android Apps and Games] ahikmat:
Not yet, it is being developed
[Android Apps and Games] hystericalz:
Nice useful app, thanks!
[Android Apps and Games] Involved:
Hi guys, I am having very bad battery life caused by some wake lock that I can't figure out how to solve, I left the phone over night after a full charge and lost 70% in 7h... Already uninstalled Facebook messenger but I had the problem even before installing it... Can someone help me? I am using a nexus 5 stock rooted with xposed installed.

Here my screenshots

https://docs.google.com/folder/d/0B6jIL9Bj-oTlSW1CTmRqTXpwYjQ/edit

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Android Apps and Games] nathansnyder:
You'll have to make that folder public. I don't think anyone can see it.
[Android Apps and Games] taita87:
Hi, I'm experiencing a problem with the app...

Every time I open it the time counters are way too low...look at this picture:

I never saw them above 5 seconds...and the top bar always set to 0.0

What's the problem?I can't figure it out
[Android Apps and Games] taita87:
This is after 17 hours.....
[Android Apps and Games] AA1973:
Fine, do you want to post your phone setup, too?

Device

ROM

Superuser version

Sent from GALAXY TAB2 P5100 // OmniROM 4.4.2 // Dhollmen Kernel // ART
[Android Apps and Games] taita87:
No solution?