yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] Amaranth`:
Hi guys i like wakelock detector many thnx to dev for this very helpful app. I have one problem i have change my roms kernel with other kernel but wakelock detector dont show me the wakelocks. I install it as system app and now works and show me the wakelocks. But dont show me the kernels wakelocks. Anybody knows why?
[Android Apps and Games] lucianus_luciferus:
does the adb workaround not work on non rooted L ?

i have tried it and it does work but only one time.

as in after i do the adb trick i open the app and it works as it should.

but then after a while if i try to open the app again it stops working and shows that "this app requires root" screen.
[Android Apps and Games] void.green:
Great app, thank you!
[Android Apps and Games] Knox316:
Do you think its safe to block this services?
[Android Apps and Games] lucianus_luciferus:
no. i think u need them
[Android Apps and Games] OmerElbaz:
Hi, sorry for my English :)

I've installed WLD but now I can't uninstall it.. why is it?

I can only Disable it and not Uninstall - like it's a system application.

I've tried looking if it have some kind of special permissions in the "Accessibility" section in the settings, and also in security and storage I think but I didn't find anything special.

Also checked for special permissions using the built in Privacy Guard in my rom.

Also, tried uninstalling it using Clean Master (this app is able to uninstall some of the system apps using root permissions, but it is not able to uninstall some apps, like WLD).

I don't get it.. It's just a regular app why can't I uninstall it?? Please help :)
[Android Apps and Games] luke!:
Did you install it as a system app?
[Android Apps and Games] OmerElbaz:
No, I don't think so. I didn't even knew that this was an option until now.

Anyway, let's say I did, how do I reverse the process or whatever and uninstalls WLD?
[Android Apps and Games] hikhokk:
Yes I have this problem to. This is due to we install WLD as system app. Now I dont know how to remove this app completely from my system. Any help?

Edit: I somehow manage to solve this. First I uninstall WLD via System App Remover app. Then I uninstall WLD again via Titanium Backup. Then I dirty flash my current ROM (Exodus) and after rebooting WLD is back as regular app.
[Android Apps and Games] OmerElbaz:
Yeah I managed to uninstall it via "System App Remover" app, but for me that was enough.

After this System App Remover it was gone and I didn't had to use TB or do anything else :)
[Android Apps and Games] y0000:
Uninstall it with titanium backup. Download, All in one toolbox. or CCleaner and clear the phone for junk files and reboot the phone. Go again to titanium backup and unistall again if exist. I think need 2 times uninstall and reboot the phone again. Thats i remove it.

Anybody knows why wakelock detector stops show me the kernel wakelocks??? With last 3 updates i have the same problem.
[Android Apps and Games] dannyyang524:
Hey everyone!

I'm kinda confused on how to interpret the awake times, as they are not matching up. WLD says that my phone was awake for 2 hr and 15 minutes. If I manually add the counts all the times on the list of WLD, it only adds up to about 53 minutes. So how can I account for the missing time?

Screenshots: http://imgur.com/a/0PtTs
[Android Apps and Games] marshall.by:
Great App! thank you so much!
[Android Apps and Games] Mik-el:
Recently I read an article on xda.... it was written something like <<a lot of apps drain battery also when the screen is off, so XDA user "...." has developed an app that close the apps when the screen is locked>>

I DON'T REMEBER the name of the app, and I'm pretty sure that it WASN'T "wakelock-detector"

(and it's not greenify)

Please, Can Anyone Help me?
[Android Apps and Games] Ozgurce:
Is there anyway we can use the app without root ? I cant root my phone.

SM-N920C cihazımdan Tapatalk kullanılarak gönderildi
[Android Apps and Games] kh34d:
Thanx
[Android Apps and Games] Death-Dealer:
Amplify?
[Android Apps and Games] AquilaDroid:
But Amplify does require xposed framework.
[Android Apps and Games] Portgas D. Ace:
There are two apps which came to my mind: Power Nap (which requires Xposed) and Servicely by franciscofranco. Amplify does not close apps but limits wakelocks/alarms to predefined values.
[Android Apps and Games] -error:
Hello.

I tried to use ADB workaround on stock firmware on Nexus5. It basically works. But after some time I have to restart local adb server to make WLD work again. It is happening although I did not reboot device. Is there a way to make that workaround more permanent?
[Android Apps and Games] Mik-el:
Thank you a lot for your reply and your reports :)

Then, I found that app myself... it was "cpu spy reloaded". This app only monitors wakelocks but don't remove them...
[Android Apps and Games] deepu458:
Hi [MENTION=2813077]ahikmat[/MENTION] thanks for the app. Currently i have the latest version of app and even after using the app i have couple of issues with the app.

1) Even after selecting Advanced Mode when i select Kernel wakelocks nothing is being shown here?

2) Under screen wakelocks i am seeing few apps like Greenify, Intelli3G, BetterBatterystats are shown that they are running constantly all the time since the phone is unplugged from charger but the count on the Top right side show it as 0? what does this mean?(Please see screenshots of what i mention in this point)

Hi [MENTION=5901790]orville87[/MENTION], can you please see at the issues and let me know what am i doing wrong? even i use Resurrection remix Rom on OnePlus One.
[Android Apps and Games] slabua:
Did wakelock detector stop working on Marshmallow?
[Android Apps and Games] Portgas D. Ace:
I am facing the same issue, kernel wakelocks are not shown. I use Better Batetry Stats in addition to get an advanced overview about alarms and wakelocks, but even BBS does not show kernel stats. I don't know what the problem is.

The fact that BBS and Intelli3G are constantly running is quite normal, as both apps are designed to do exactly this. Check your BBS stats if you encounter any huge battery drain. If so, check the in-built battery stats (Settings -> Battery) if either BBS or Intelli3G are listed as top consumer (which should not be the case).
[Android Apps and Games] Adrianrff:
I don't know if it's not working on every phone with 6.0, but it's not working on mine (Nexus 5, running Marshmallow factory image) after installing WD as system app; it works fine if you don't do that, but I can't see stats after it was last unplugged. I wonder if using a custom kernel (for root access) has something to do with that.

Surely [MENTION=2813077]ahikmat[/MENTION] can provide us with an answer.
[Android Apps and Games] Ja_som:
SuperSU updated to 2.52, Wakelock Detector works now also with Chainfires edited stock boot image.
[Android Apps and Games] Smultie:
Yup, works like a charm (without installing as system app!)
[Android Apps and Games] Toronadian:
So I just installed Wakelock Detector Free and then installed it as a system app on my zenfone 2. I'm wondering when an OTA firmware update comes along, will this affect my phone at all (assuming everything is stock, and then I uproot my phone)? As well, is there any way I can uninstall it once I've installed it as a system app?
[Android Apps and Games] Antieco:
Why do I have a nameless wakelock???

Enviado desde mi OnePlus One
[Android Apps and Games] indian84:
Doesn't work on Omni ROM 6.0. Tried installing as system app too..
[Android Apps and Games] _jis_:
It is a known problem, WLD still doesn't work on stock 6.0 ROMs. Use BetterBatteryStats instead it, BBS support Marshmallow already and has much better support.
[Android Apps and Games] indian84:
I have it installed and can't make a sense of what the details are. WLD is much easier as it gives easy to understand info..
[Android Apps and Games] _jis_:
I agree with you on this, so you should wait for new WLD version compatible with stock MM. I wanted to help in the meantime with reference on BBS which is unfortunately much more complex tool for ordinary user.
[Android Apps and Games] pete101:
Hi i have had an issue with wakelock detector ever since lollipop even when i follow the adb route via non root method which worked perfectly on kitkat but not on lollipop for some reason. It'll work for about 10 mins then when i refresh the app or does it automatically it goes back to the 'your device needs root' screen so i am unable to get clear info on what is waking up my phone. It's usually google services. Why doesn't the adb method work with wakelock detector like it did with kitkat?

On KK at least it would work unless you restart your phone. On lollipop even on 5.0.1 on my samsung s4 and on 5.1.1 on my s6 edge plus it still wont work for more than 10 minutes. I dont want to root my phone and void my warranty and it's a lot of hassle tryna return it back to original state without tripping knox so i rather keep it as it is.

My main question though is i have had 2 s6 edge pluses in the past week 1 made in august 1 made in October both came with same firmware and i tried to make sure both had exactly the same app versions (for battery optimisation older versions of apps are better)

On my first one i was getting 98.5% sleep on cpu spy and about 5% drain overnight over 14 hours. Excellent.

However on my new 1 i was only getting 97.3% sleep and about 6 % drain overnight over 8 hours. I realised whatsapp was different on my new device so i returned to an older version i used and now sleep is 97.7% so a slight improvement but battery drain overnight is still too high i shluld be getting 0.5%/hr max

While i could get wakelock detector to work it brought up whatsapp and google services as the biggest culprits. Thats why i changed whatsapp but with google services it's highest in my wakeup triggers meaning the alarms are google based issues. I think that's the cause.of my drain of nearly 1% an hour at night. What can i do to.remedy it?

Bear in mind i made everything identical I disabled everything i could all google stuff bar play store google play services and google services framework as i need those things to access the store and for some apps to push notifications.

On my 1st s6 edge plus even if i got facebook messages or.whatsapp messages i still got 98.5% sleep on cpu spy which was amazing eap with 5% drain over 14 hours yet on the new 1 i get max 97.7% sleep and get drain of 6% over 8.hours. it's very frustrating that little difference makes so much.

I know google services is to blame but i cant figure out what is different between the devices. One was made in august one in october. Firmware is same. I factory resetted the 2nd one to.make sure cleared cache etc yet i still cant get the same level of sleep or battery drain.

What else could it be? I go through all my.settings yet i dont know.what.else it could be. I cant see the google services info as wakelock detector doesnt work as i.mentioned.
[Android Apps and Games] _jis_:
They differs probably in Google play services, because they are actualised often. Not every version of Google play services are battery polite.

Tapatalk Pro 4.6.2
[Android Apps and Games] pete101:
I have this feeling it is because the screen lights up for notification from Facebook or messenger there is no setting to change this how do i disable light up screen for notifications completely?
[Android Apps and Games] h9n94h9ll6:
Hi guys, sorry if I haven't posted enough info, please let me know what is required.

I've been using WLD to greenify apps that are keeping the phone awake.

However, I'm not sure whether I should greenify my messenger app.

Any advice?

[IMG="screenshot"]http://s2.postimg.org/b211fqq8p/Screenshot_2015_12_13_18_59_28.png[/IMG]
[Android Apps and Games] stefanospizzica:
Hello

I'm using the PC version with my Note 4 with 5.1.1 Android version.

It was working correctly the first couple of times I used it but now it does not work anymore: it stucks in 'loading' and if you click refresht the PC application crashed. Only the Kernel wakelocks are visible, if you select other type of wakelocks it crashes.

Any suggestions?

Thanks

Stefano
[Android Apps and Games] acc3d:
After updating my Nexus 6P and Nexus 7 (2013) to Android 6.0/1, the PC version of Wakelock Detector just crashes upon launch. I never had this problem on 6.0.

Is there a newer version of ADB required? I downloaded Android Studio but don't have the platform-tools directory that I remember in the past. Where does one find the latest ADB/Fastboot these days?
[Android Apps and Games] dakipmyster:
I updated to 6.1 and its been having issues too.
[Android Apps and Games] pete101:
Still can't figure the reason for battery drain the best i can get is 0.5%/hr

What could be the reason?

Could hardware be the issue? The firmware is exactly the same only manufacturing date is different october as opposed to august.

I factory resetted it and didn't let anything update except maybe security update policies which might happen automatically.

The app versions are all the same yet on my original i had like 5% drain over 14 hours sleep over night and now 4% in 8 hours.

What else can i do? It's so frustrating im getting 98.9% deep sleep on cpu spy yet the drain is still above average for that level of sleep.
[Android Apps and Games] mmiller7:
Can someone rebuild wakelock detector 2 for PC?

Since a recent update, it no longer works. I'm speculating they used to use the "adb shell dumpsys batteryinfo" command which, as best I can tell, is replaced by "adb shell dumpsys batterystats".

In the meantime, you can open a terminal, change to the directory with the "adb" program, and run these commands to get a text based version of stats for debugging...here's to hope someone rebuilds wakelockdetector to fix this.

adb devices
adb shell dumpsys batterystats

EDIT: Forgot to say, I'm running stock Android 5.0 on a Verizon Samsung S5, latest OTA update came December 20, 2015.
[Android Apps and Games] maximGorbunov:
Seems good
[Android Apps and Games] xxDominatorxx2:
So I'm running android 6.0.1 and for some reason the app doesn't work when I enable "since unplug mode" even after installing it as a system app.

Really hope you fix this soon.
[Android Apps and Games] overflamed:
helped me out with understnaing what was draining the battery
[Android Apps and Games] Amaranth`:
Anybody have install it to android 6? or only me i have problem? Because to me dont work to android 6.
[Android Apps and Games] shaggyskunk:
Yeah works just fine on AOSP 6.01

Sent From My SM-N910W8 Running CMRemix 6.01
[Android Apps and Games] Amaranth`:
To me with LG G3 with stock Android 6.0 version rooted dont work. I have install it as system app. Run it ok to super su without problem. But every time to open it. Drop me message failed to perform this task etc. Hope can be fixed soon i dont like to use other programs wakelock detector is very light and trusted app.
[Android Apps and Games] LG-G3:
I've the same problem!
[Android Apps and Games] PeQuEsan:
And same here...

Systemless root, or traditional one? May be here's the problem. Mine is systemless (2.65 zip)
[Android Apps and Games] monojp:
Hi there. Like this app. Would be nice if it was in the f-droid store also :)
[Android Apps and Games] Androider_87:
Nice! Do you have a plan to make one for ios?
[Android Apps and Games] tristaoeast:
Same here
[Android Apps and Games] RMarques:
...same here. MM30b, Kingroot+ SuperSU 2.52 root method.

Sent from my LG-D855 using Xparent Skyblue Tapatalk 2
[Android Apps and Games] noobhero:
reply of the week! lol!!
[Android Apps and Games] y0000:
Same too not work to LG G3 D855 with Android 6 stock v30b SuperSU 2.52 beta. I have the paid version but no luck i try the free no luck too.
[Android Apps and Games] LoxiasGr:
Same problem! Lg G3 on 30B rooted!
[Android Apps and Games] Amaranth`:
Maybe logcat can help?

PS: My Logcat why not working. With LG G3 D855 prerooted super su beta 2.52

http://www.filedropper.com/log2016-01-2313-19-05
[Android Apps and Games] -error:
Hello.

I'm trying to set up WLD on non-rooted N5 according to the presentation. But it seems that adb binary on device is no longer accessible without root? At least I am unable to find it. `find . -name adb 2>&1 | grep -v -e denied -e Invalid' command yields no results. Any way to work around this?
[Android Apps and Games] redhonker:
Does anyone have success with non-rooted Samsung Galaxy S6?

Thanks
[Android Apps and Games] T-3000:
Is there wakelock detector apk , those that are integrated on Lp 5.1 aosp/cm based roms? Blocking google account sync etc
[Android Apps and Games] gorilla p:
Unfortunately, I believe your expectations are unreasonable, especially if your device is maintaining any connectivity to your network. That is 8-days and 18 hours of standby time.

---------- Post added at 03:48 PM ---------- Previous post was at 03:45 PM ----------

I'm currently using the Nexus 5X and on 6.0.1. I've tried a few custom ROMs. AOSP and CM, and Im getting some really weird stats with Wakelock detector. Extremely long screen wakelock readings, even longer than the actual screen on time. Can't explain it.
[Android Apps and Games] rajkatiyar07:
Not able to open on LG G2 . FC !
[Android Apps and Games] rolandvrielink:
It doesn't work at the Resurrection Remix MM 601 version 5.6.3 made by TJSteveMX
[Android Apps and Games] blackscorpio06:
Attached screenshot.

Looks like DreamManagerService is eating my battery. How do I handle this? Thanks
[Android Apps and Games] wetxxx:
After I instal this app and turn on usb unpluged. Than I reboot my phone and... stuck on HTC One logo!!! This apz damage system or data partition. How fix this bug ?!
[Android Apps and Games] gorilla p:
Not if you like receiving text messages.... Personally, I do.
[Android Apps and Games] syntax_error.f90:
Cannot get no-root walk-around to work

Run adb tcip 5555. Run adb kill-server on the phone in emulator but get /system/bin/sh: adb not found.

Any thoughts?

Nexus 5 Stock 6.0.1 no-root.
[Android Apps and Games] bluetech39:
Great app. I love it
[Android Apps and Games] till22:
Same here. Did you figure it out? Upon disabling "since USB unplugged" it starts working again.

Oh, seems like it's not a problem on my side then. Thanks for the info!
[Android Apps and Games] Adrianrff:
Hi. I'm having trouble getting WD to work after installing it as system app. It says something like "cannot perform the task right now" (not sure what the actual text in English is) and it shows no information. The app work before installing as system app. Any idea on what might happening? I'm on a Nexus 5 running Stock 6.0 with EX kernel.

Thank in advance.

EDIT: Sorry, made the made foolish mistake of not reading before posting.
[Android Apps and Games] clonfsp:
Mine dont work on cm13, install as system app, when when open it say it can't run :(

Hope a fix soon
[Android Apps and Games] ahikmat:
internal adb of Android 6.0 has been removed.

so this workaround won't work anymore ((
[Android Apps and Games] ahikmat:
currently there is a problem installing it as system app in Android 6.0

we are working on this.
[Android Apps and Games] icsterm:
Hello,

Could you please make a short tutorial on how to remove the system files once installed on a Marshmallow ROM? Point us to the files we need to erase.

I tried to manually clear apk from /system/app and reboot, but after every reinstall from play store it still detects it runs as system app.

The app was working fine as user app, but once converted to system it doesn't work at all and I get "cannot perform the task right now" .
[Android Apps and Games] ahikmat:
From Marshmallow Android does not have internal "Adb" .

That means, non-root workaround won't Work anymore.
[Android Apps and Games] ahikmat:
with the latest version 2.0.1, you can revoke from system app.
[Android Apps and Games] lucianus_luciferus:
no way to make this work without root right? :(
[Android Apps and Games] icsterm:
[MENTION=2813077]ahikmat[/MENTION]

any way you can optimize the app to use less memory?

the app starts at about 10MB of RAM use and slowly builds up... After 3 days of no phone reboot the app uses 150MB of RAM and it gets bigger and bigger... Is that normal?

Same behaviour on both KK and MM.

Does greenifying the WLD app make it not record properly? Should the app be left running?
[Android Apps and Games] ahikmat:
There is a way, but not simple.

By using adb dumpsys battery stats.

Adb(Android debug bridge) is a tool provided for developers to debug and manage their phone.

It is a powerful tool. BatteyHistorian python script also uses this adb to get battery stats.

By default, Android phone uses USB connection for adb. If you connect your phone to PC, with adb tools you can switch from USB to TCP/IP. It means, you will be able to connect your phone's adb via network. You will have to confirm RSA request both ways.

Prior to MM, there was adb binary present inside Android system. But not anymore. We did this workaround using that internal adb and connect phone adb to itself. Thus, retrieving battery stats.

In MM and later, we have to make the same logic, but we are moving internal adb logic inside WLD. And for PC we developed a small Chrome extension that switches connected phone from USB to TcpIp. As overall setup is complicated, we made one click solution from PC side. We succeeded first demo, and we will release apk by two weeks. We plan to release this WLD version as separate app, because app usage methodology differs, the battery retrieving logic is different and needs to be managed separately. Also, as a support for devs, we will add tiny ads on the bottom of screen, I hope you don't mind.

I will attach apk as soon as possible for testing.
[Android Apps and Games] 2rs1:
Hi. I'm trying to figure out why bluedroid_timer is hogging battery on Nexus 6p. Since the app is not working, I'm trying to use the PC-version (pc_version2.zip), but it keeps crashing on my laptop (running windows 7 enterprise). Is there any requirements I need to install?
[Android Apps and Games] vlefevre86:
God, I'm struggling with a wakelock that I can't identify on my Mate 8 that I don't want to root, I can't wait for the "no root method for MM"... I'll be following this thread very closely :)
[Android Apps and Games] ahikmat:
I have not checked PC version for a long time,

I don't know if I can find the source code :)

but I will try to take a look at this as soon as I find time.

For now, my priority is to make WLD app work without root.

I will upload new testing apk in next Thread.
[Android Apps and Games] ahikmat:
Thanks for your interest in Wakelock detector.

Today I could run WLD without Root on Marshmallow and Lollipop.

The trick is connect your phone to your PC once and change phone's adbd to TcpIp mode.

We developed a Chrome extension that helps you to do it easily.

Just search for Wakelock in Chrome store.

You will need to use the extension in PC or Mac.

After that, WLD will work without root.

Install the attached APK file
[Android Apps and Games] vlefevre86:
Awesome, thank you so much. I'll try it as soon as I get home (no adb at work :)).
[Android Apps and Games] tclarkey:
Works like a charm! Thank you so much for working on this so quickly!:D
[Android Apps and Games] ahikmat:
Thank you for testing.

On MM it still has a problem connecting to local adbd ,it happens occasionally.

I will try to fix it and improve it furthermore.
[Android Apps and Games] tclarkey:
I did notice that the app still runs without being attached to the PC. Not sure if the results are accurate though.
[Android Apps and Games] netimen:
I have a something on my phone which is sucking the battery badly. But the WLD doesn't identify it. It only tells me that the phone was awake 42% of 6 hours which is more than 2 hours. But if I some up the wake times all the apps in the list I get less than 40 minutes [IMG="(see the screenshot"]https://dl2.pushbulletusercontent.com/r6RdQMa6lQycTEqytZ6e9e2iCJHWQK4e/Screenshot_20160406-141230.png[/IMG].

Why is there such a big difference and how do I identify the real battery leecher in this case?

PS. I'm sorry, I don't understand how to make that pic smaller
[Android Apps and Games] cecobbb:
Great app, thank you :)