yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] shaggyskunk:
Yeah that does work for Non Rooted devices - But I'm trying to figure out why this is happening when you have used either the Wakelock Chrome extension and /or the adb commands... On my Rooted devices Wakelock Detector has never given me the "failed to perform this task... Try again later" message ??

Sent from my SM-G955W ??
[Android Apps and Games] limonet:
I was talking in a root device. Even i had installed wld as a sistem app via a module in magisk, app systemizer.

I am using a xiaomi with a custom rom (epic) based on the oficial miui.

Its a mistery or as someone mentioned before some king of confilct with the phine system stats
[Android Apps and Games] shaggyskunk:
I'm using SuperSU SR5 v2.82 on one device and Magisk 15.3 on another device - In both of those WLD is NOT installed as a System app - And both will give me results even when plugged in to the charger... My issue is with a device that is not Rooted - But WLD is enabled with adb commands - HOWEVER is capricious in terms of what is required for WLD to work properly and not produce the "failed to perform this task at the moment.." ?

BTW I'm using the Full Pack version of WLD on all of my phones ??

Sent from my SM-G955W ??
[Android Apps and Games] TerrorApple:
Doesn't seem to work on Resurrection Remix Oreo 8.1. I have the newest version from the Play Store (full pack) and it is installed as system app but it just gives me the usual error, see screenshot. Has anyone found a workaround so far?
[Android Apps and Games] shaggyskunk:
Yeah for me Wakelock Detector Full Pack is NOT installed as a System App and it works perfectly on Stock Rooted Samsung S7 - I do however get that message on a Stock Unrooted Samsung Galaxy S8+... You can try a couple of things - Clear Cache & Data for WLD - UNINSTALL from System (First thing I would do!) Plug your phone into the charger for a while (seems to fix it on my S8+ but it's not the best solution) ?

Sent from my SM-G955W ??
[Android Apps and Games] TerrorApple:
I've tried your recommendations but I don't know why WLD runs for you without being a system app. See my screenshot for what happens when I try to start it as a normal app.
[Android Apps and Games] shaggyskunk:
Looks like you don't have Root... or you didn't Grant SU permission to Wakelock Detector? It can only be one or the other - Are you using SuperSU or Magisk for Root? ?

Sent from my SM-G955W ??
[Android Apps and Games] TerrorApple:
I do have root. I'm using a whole bunch of other apps which require root (BBS, TB, Terminal etc.) and they are all working great. I doubt it's a root issue... Please see my Magisk screenshot.
[Android Apps and Games] shaggyskunk:
Well that's strange then - because the only time that I've seen your previous screen shot is when Root isn't available or it's been denied.. Try revoking Root for WLD (as shown in your Magisk screen shot) Reboot and see if WLD requests Root again.. ?

Sent from my SM-G955W ??
[Android Apps and Games] zecabra:
For me the problem was Magisk, changed to SuperSu and no more problems
[Android Apps and Games] TerrorApple:
Just tried that, no luck. I just tapped the button for installing it as a system app. It crashes as usual (see screenshot), but right before the crash it shows the toast for granted SU permissions (other screenshot). So I don't think it's a root issue.

I just assume WLD is slowing dying. The last update was almost a year ago and therefore it was never tested with Oreo. Maybe it works on your Samsung stock ROM and maybe it just doesn't on a LOS based ROM.
[Android Apps and Games] TerrorApple:
Unfortunately that's not a solution for me as SuperSU breaks SafetyNet. Magisk doesn't.
[Android Apps and Games] shaggyskunk:
Yeah it's working for me on different devices - One Unrooted with adb commands - One with SuperSU SR5 v2.82 and One with Magisk v.15.3 running LineageOS Based Oreo 8.1

Sent from my SM-G955W ??
[Android Apps and Games] zecabra:
yes, the problem is the combination of Magisk and some roms, not happening in all
[Android Apps and Games] yochananmarqos:
To used WLD with Magisk, you need to use the Terminal App Systemizer module to make it a system app.
[Android Apps and Games] shaggyskunk:
Works perfectly fine without being a system app & Magisk 15.3 on LineageOS Based Oreo 8.1 ?

Sent from my SM-G955W ??
[Android Apps and Games] yochananmarqos:
That's odd. It always prompted me to install it as a system app with Magisk on stock Android on my Nexuses.
[Android Apps and Games] shaggyskunk:
Yeah on all my devices with either SuperSU or Magisk WLD is not installed as a System App - And I've never been prompted to install it as a System App.. IDK why - But no issues ?

Sent from my SM-G955W ??
[Android Apps and Games] TerrorApple:
Wow, this actually worked! Thanks so much. Seems like systemizing with TB doesn't work correctly. Anyway, WLD ist up und running :)

Edit: nevermind. Rebooting broke it again. "Failed to perform this task at the moment, try again later". I'll be switching to BBS for now, WLD just doesn't seem ready for Oreo.
[Android Apps and Games] 200mpx:
For another day I can not grant permissions to app through adb (without root) - I follow the manual from here: https://docs.google.com/presentatio...F7z06_ysl1kUKME4/edit#slide=id.g25a03f28e_026 and it returns to me with the following: Bad argument: java.lang.IllegalArgumentException: Unknown package: com.uzumapps.wakelockdetector.noroot

usage

Updated: I managed to get permissions, it seems to me, that my adb was old (but still working for all my needs except the case with this app), changed to recommended Minimal ADB and Fastboot and the extention worked like a charm
[Android Apps and Games] Nheo12:
Hi. Why not collect battery statistic my WLD in the CPU wakelock menu?

[IMG="WLD CPU"]https://mobilarena.hu/dl/upc/2018-02/629296_screenshot_wakelock_detector_free_20180227-095931.png[/IMG]
[Android Apps and Games] daihakken:
Hi, my WLD readings seem to be messed up... Can anyone help, please?

[IMG="OnePlus One"]https://i.imgur.com/p0pvxEB.png[/IMG]
[Android Apps and Games] shaggyskunk:
Yeah unfortunately Wakelock Detector isn't performing consistently on Stock Unrooted Samsung Galaxy S8+ running Oreo 8.0 - It's temperamental as to when it provides a measurement - More often than not it returned "failed to perform this task at the moment" - It seems to be related to the a few things - The percentage of the Battery - How long since Full Charge - How long since Boot.

It's working perfectly on my Rooted devices - But quite unreliable when using adb commands - It's a shame because it's a pretty terrific app!

Maybe there's going to be some additional Development for Unrooted devices?

?
[Android Apps and Games] ChadGW:
What version of ADB Minimal did you install? I tried the latest 1.43, in addition to several older ones and I still get the same Unknown package error when I try running

adb shell pm grant com.uzumapps.wakelockdetector.noroot android.permission.BATTERY_STATS

I'm stuck and could really use help to get this working on my unrooted Samsung S9.
[Android Apps and Games] k_o_t_s:
Help

Could someone help please? I am doing everything correctly in order to make this app work without root access but I always get the error message:

Operation not allowed: java.lang.SecurityException: grantRuntimePermission: Neither user 2000 nor current process has android.permission.GRANT_RUNTIME_PERMISSIONS.

(screenshot attached)

Device: Xiaomi Redmi 4 Prime

ROM: Stock 6.0.1 with MIUI

Edit: This is what solved it:

Turn on the following option:

USB debugging -Debug mode when USB is connected

Install via USB -Allow installing apps via USB

USB debugging (Security Settings)- Allow granting permissions and simulating input via USB debugging
[Android Apps and Games] IanHodgson:
I'm running WLD with root on a redmi note 4 running Pixel Experience, but even after an overnight, when there has been definite CPU activity going on (I can tell because of battery drain and percentage awake), WLD still tells me I need to leave the phone longer to be able to get some stats. Is this maybe an Oreo bug or should I leave the phone longer than 10 hours?

Thanks.

Ian

Edit: I think I found the answer: I just had to enable advanced features in settings.

Edit 2: So it still doesn't show any stats for CPU, that is after 'show processes used by Android OS' is on. I left it overnight, making sure WiFi was turned on and leaving it on before letting the phone go to deep sleep by itself. Still no stats. It says in the 'how to' to leave phone idling for at least 2-3 hours. Either I'm missing something or there is an Oreo bug. Anyone with similar experience? The only thing I haven't tried is installing as system.
[Android Apps and Games] Tagtag123:
Exact same problem, OnePlus 3T running the latest stable rooted with magisk.

I have no sleep want to find out what's causing the trouble.

I came to the stable OOS by a clean flash from BETA where I had the exact same problem.
[Android Apps and Games] IanHodgson:
Better Battery Stats worked for me. Download APK from XDA thread. Follow instructions in OP for settings. My lack of deep sleep was down to Windscribe VPN not being in battery saver mode, ie. always on.
[Android Apps and Games] crittarr:
Hi

Is there by chance a way to use the adb command line?

I have downloaded the universal drivers, deactivated tiny firewall, restarted chrome, reconected the phone (doogee s60 lite) with usb debugging on, phone correctly recognised by the chrome addon, licked on the grant battery stats - no response..

The system is android 7.0, unrooted. I have better battery stats already.
[Android Apps and Games] shaggyskunk:
Do you have your phone set to "Always Allow" connection to your computer? When I first used the Chrome add on it wasn't working & the reason was "Always Allow" wasn't granted ?

Here's the adb commands - Which SHOULD work for you.

"adb -d shell pm grant com.uzumapps.wakelockdetector.noroot android.permission.BATTERY_STATS"
[Android Apps and Games] yochananmarqos:
Yes, this is what the Chrome extension does:

adb -d shell pm grant com.uzumapps.wakelockdetector.noroot android.permission.BATTERY_STATS

Change the package name if you're not using WLD Lite.
[Android Apps and Games] shaggyskunk:
Looks like changing "wakelockdetector" to "wakelockdetectorfull" may work for Wakelock Detector Full - At least the adb command didn't get rejected...? ?

Sent from my SM-G965W ??
[Android Apps and Games] crittarr:
Thank you. Must usb debugging be on for the app to work?

If stolen, can the system with usb debugging be broken into or can the system just be re-flashed for a 'new user'?

Thanks a lot

---------- Post added at 02:20 PM ---------- Previous post was at 02:20 PM ----------

Thank you. Must usb debugging be on for the app to work?

If stolen, can the system with usb debugging be broken into or can the system just be re-flashed for a 'new user'?

Thanks a lot
[Android Apps and Games] shaggyskunk:
No - USB Debugging doesn't need to be enabled for Wakelock Detector to work (after you granted adb commands or Chrome Wakelock extension).

Yes leaving USB Debugging enabled can present a security risk if your device falls into the wrong hands - or if it was connected to a public computer etc via the USB cable ?

Sent from my SM-G965W ??
[Android Apps and Games] yochananmarqos:
It's com.uzumapps.wakelockdetector.full
[Android Apps and Games] shaggyskunk:
com.uzumapps.wakelockdetector.full.NOROOT?

or just

com.uzumapps.wakelockdetector.full android.permission........?

In either case once the battery drops to a certain level - I get "failed to perform this task at the moment"...
[Android Apps and Games] yochananmarqos:
WLD Lite = com.uzumapps.wakelockdetector.noroot

WLD Full = com.uzumapps.wakelockdetector.full

There's nothing to do about that. I believe the developer said he didn't have much time for this project anymore, unfortunately.
[Android Apps and Games] DeKiesel:
Any chance that the dev will open source the code so that somebody else can update the project? Would be a shame if it went to waste.

Is there another tool out there like wakelock Detector that works on oreo?
[Android Apps and Games] yochananmarqos:
I can't answer for [MENTION=2813077]ahikmat[/MENTION].

The stable version of BetterBatteryStats works on Oreo and the latest beta contains a few fixes for Pie.
[Android Apps and Games] tester2:
is there possible to run adb command locally in phone's terminal window?
[Android Apps and Games] yochananmarqos:
Yes, in a root shell. The below example is for the Lite version. Replace the package name if necessary.

# pm grant com.uzumapps.wakelockdetector.noroot android.permission.BATTERY_STATS

FYI, Wakelock Dectector is no longer in the Play Store.
[Android Apps and Games] tester2:
Yes, I know - I downloaded it from apkmirror.

Thanks for a command, on my new phone I started to play with a Terminal Emulator app and found it very convenient.
[Android Apps and Games] Static-xy:
Where can I download the latest version of this app?
[Android Apps and Games] Lughnasadh:
It looks like there's a "LITE" and a "Full Pack" version on the Playstore. Here's the link to the lite. The Full Pack version is paid so I won't put the link here.

https://play.google.com/store/apps/details?id=com.uzumapps.wakelockdetector.noroot
[Android Apps and Games] yochananmarqos:
Ah, so they are. It was just the original root version that was pulled, then.
[Android Apps and Games] kutulu32:
I had some problems making this app to work with my phone xiaomi mi a1 android 8.1 with latest magisk (17.1) . It gained root access but when i tried install as system app the app crashed. I installed app systemiser magisk module and set the app as system . After reboot i selected the battery stats granted mode in the app and finally worked.

Edit after a few hours i have the message failed to perform this task .
[Android Apps and Games] watsinaname:
For Mi phones, what is the procedure to enable the battery service?
[Android Apps and Games] absinth4:
Hey guys im running the rooted (magisk) app in a oneplus 5 (latest updates and OS) all the wakelocks are shown (screen, wakeup triggers and kernel) fine but when i go to "cpu wakelocks" all i see is "there are no available statistics yet, please give it some time". I have installed the app approximately 5 days ago maybe a bit more. I think i've given it the 'some time' it asks for. Is there something wrong that i dont know of? has anyone seen smth similar ?
[Android Apps and Games] slipingblue:
i heard about the CPU wakelock are not work after android 9, and the devloper have no time to update it(the lastest update was 2013), i also has trouble on wakelocks, do you have any ideas to deal with this?
[Android Apps and Games] shaggyskunk:
Last update wasn't 2013 - It was last updated April 2nd 2017 - But yeah it looks like development is paused or stopped unfortunately ?
[Android Apps and Games] fish312:
it's a real shame. this was a really useful app. hopefully the dev will come back one day. until then we can only rely on CPU sleep % to guess.
[Android Apps and Games] ahac85:
If you use wakelock detector lite and do the adb commands, the app works as it should on android 8 and 9.
[Android Apps and Games] trancinguy:
Install as system and then it will work.
[Android Apps and Games] welcomyou:
The lite version can't work on samsung S10 (already grant battery stats permission, Pie)
[Android Apps and Games] _jis_:
It works on Mi A1 with stock Android One and latest Pie with February update.

So blame Samsung's One UI.
[Android Apps and Games] punkrockfan:
is this thread still alive?

installed the lite version, worked two days

since this afternoon its telling me barely translated to english:

the task cannot be done right now...please try again later

so only blank screen,, no entries()((
[Android Apps and Games] lihof:
Installed WLD Full, no root on a Xiami Redmi Note 4. After

adb -d shell pm grant com.uzumapps.wakelockdetector.full android.permission.BATTERY_STATS

and changing mode to BATTERY_STATS granted, WLD works like a charm :)
[Android Apps and Games] shaggyskunk:
You didn't use the Windows Unlocker?
[Android Apps and Games] lihof:
Do you mean Chrome unlocker plugin? I am not aware of other "windows tool".

I stumbled over the Chrome plugin by accident which does not work for full version, only for lite. Finally, Plugin is doing same as you can do via adb by yourself. So I found out correct package name and voila. ADB must be installed anyhow for Plugin or the manual way.
[Android Apps and Games] shaggyskunk:
Of course the Unlocker plugin works for the Full version - You can see it right there on the computer screen ?
[Android Apps and Games] ivar418:
Hi,

(First of all I might have missed a solution please don't burn me)

I am using the full version. I have magisk root. Most current version. I tried with just root permission. It tells me to install as system. Then I install as system with app systemized via magisk module because the build in install as system app never works. But then it tells me failed to perform this task etc. I have tried the non paid root version as well. That didn't work either. What should I try next?

I am using a onepus 3 with latest rr remix(but I don't work on havoc, aosp extended either)
[Android Apps and Games] trancinguy:
We are all here to help each other, sometimes you have to set selinux to permissive in order to be able to systemize an application.
[Android Apps and Games] ivar418:
Yes I have changed that. If it installs it will not work anyhow. Itl say can't perform this action etc
[Android Apps and Games] ivar418:
I don't know why, but I recently got the op7 pro. And it seems to be working on this one. (Oxygenos)
[Android Apps and Games] trancinguy:
Could have been an OS thing, or maybe when you set the op3 to permissive you didn't reboot; So try Permissve, reboot, Systemize, then reboot again.
[Android Apps and Games] ivar418:
I wasn't aware that you needed to reboot after setting se permissive. Il try
[Android Apps and Games] pete101:
Does anyone know how to get rid of the whatsapp wakelock:

com.whatsapp.gcm.IntentLaunch:Service

?

It causes a drain on my battery

S6 edge plus no root 7.0 using wakelock detector lite

When i google the wakelock i get no information
[Android Apps and Games] pete101:
Does any one know what i can do without rooting and freezing whatsapp in island?

I have this annoying wakelock which i cant shake.

Im on s6 edge plus BTU 7.0 no root with island with encrypted phone enabled.

It is a great app for freezing facebook and messenger but i cant freeze whatsapp as i need the instant notificstions.

I never had this problem on marshmallow.

com.whatsapp.gcm.RegistrationIntentServiceLaunch:service wakelock.

Does anyone have a solution for this please for this wakelock?
[Android Apps and Games] hulyahulya:
im on android 10 with rooted device . i have this error . "There are no available battery statistics yet, give it some time!" . anyone tried on android 10 ?
[Android Apps and Games] dejson:
Thank you, that's it
[Android Apps and Games] Brotbackmeister:
Anyone found a solution for that? I'm using an AOSP Pie Rom, granted root with magisk and still receiving the message "failed to perform the task".
[Android Apps and Games] enotar:
This app has not been updated since a long time and doent work anymore. Too bad.
[Android Apps and Games] ivar418:
It is working from my op7 pro on oos. But it seems to just not work on any custom roms
[Android Apps and Games] lukaszsas12:
hello please help what is ,, IpReachabilityMonitor.wlan0 ,, i search google but i can't findView attachment 4897837View attachment 4897835
[Android Apps and Games] crazy4jack:
why this app not working on Oreo?
[Android Apps and Games] _jis_:
http://uzumapps.blogspot.com/2015/07/what-happened-to-wakelock-detector.html

See for yourself when this app was created, when it was last updated, for which min. Android version. No wonder it probably won't work anymore. Moreover, it is no longer needed. Who still uses KitKat or Lollipop today?

https://www.appbrain.com/app/com.uzumapps.wakelockdetector
[Android Apps and Games] crazy4jack:
so what is alternative? i have wakelock on cpu on LOS 15.1
[Android Apps and Games] Tomek0000:
This application sometimes works correct, sometimes is not able to read data and asks to try agin next time (in android 8 and 9). I had 2 devices with LOS16 with this problem. Mi pad 4 never worked with WLD, mi 9 lite stopped after update to newer update. The both WLDs were converted to system using App2SD application.

I repeated this what was suggested in this thread; I run this command in PC console when device was connected by usbc:

adb -d shell pm grant com.uzumapps.wakelockdetector android.permission.BATTERY_STATS

After this command WLD (root version) started to work.

I suppouse this is universal solution and should work ever.

Do we have any application, which is able to grand permission to BATTERY_STATS without connecting PC and use adb?

Yes we have.

Run 2 commands in the terminal app:

su

pm grant com.uzumapps.wakelockdetector android.permission.BATTERY_STATS

but it has to be repeated every restart.

If you want ot convert this application to system app, the best is to use magisk's module : systemizer . Use it in terminal :

su

systemize

It works in android 10 too.
[Android Apps and Games] jekkii:
WLD 2.04 lite

Hi everybody!

I try to use WLD lite/noroot (on Galaxy A71)

After the workaround it shows stats, but the app gives me an error "Failed to perform this task at the moment, try again later" when I leave my phone off overnight. Any idea?

thx in advance for your answers!

Edit: i often controlled this app today from the start in the morning. After 10 hours and battery under 50% came the message "Failed to perform this task at the moment, try again later".
[Android Apps and Games] blksith0:
Hey what's an alternative to detect wakelocks on android 10 in 2020? (root method is okay)
[Android Apps and Games] cbarai:
Better Battery Stats - available on XDA/Play Store.

EX Kernel Manager (EXKM) - paid & well recommended.

Franco Kernel Manager (FKM) - paid & well recommended.
[Android Apps and Games] Lughnasadh:
I'll add GSAM Battery Monitor to the 3 listed by cbarai.
[Android Apps and Games] zamar27:
I install WD on a Magisk rooted Android 10 phone and added BatteryStats permission. It shows all stats except Kernel wakelocks, despite that option is enabled in WD settings. Is there anything I can mount manually or else do to fix that?
[Android Apps and Games] Samare:
You could try

adb shell settings put global hidden_api_policy 1

android 11 error · Issue #876 · asksven/BetterBatteryStats

Hello, I'm using beta 2.6-378 on android 11 stock (not rooted). the device is a samsung a42 5g. I have installed the apk and given the permissions using adb, but it doesn't work. See the screenshot...

github.com
[Android Apps and Games] alex68md:
Hi could you help me to figure out why

KERNEL wakelock is failed to open for me ?

First time I was able to open kernel mode , after that I have made some settings adjustment BUT not with this app. I changed background mode for samsung push nitifications, removed permissions for body sensor and microphone for google play service, but not have changed anything for wakelock detector.

do you kow what should be enabled/permissions for KERNEL mode view ?

PS: WLD v2.1.0
[Android Apps and Games] caradawc:
Hi. What is the last version??
[Android Apps and Games] Tomek0000:
The last is able to instal from play. This is very old app and is not able to work correct with new androids. Time to forget about it.
[Android Apps and Games] xn0live:
android 12 not working more or
[Android Apps and Games] shaggyskunk:
Wakelock Detector works for a bit after the device is fully charged. Can't remember at what percentage it just gives you the "Failed to Perform this Task..".

So kinda - But not really.
[Android Apps and Games] xn0live:
is there a other app that work with same function
[Android Apps and Games] shaggyskunk:
BBS (Better Battery Stats) - Gives you wakelock info.

Requires Root or adb.
[Android Apps and Games] xn0live:
i have it but that habe any problems