Wakelock Detector app (not rooted) - Nexus 6P Q&A, Help & Troubleshooting

Hi all! I have been experiencing unexplained battery drain with Android OS, Android System and Google Play Services in top 3 along with Screen. I need some app to detect which app/service is causing the Wakelocks so that I can take action. I cannot root due to restrictions on my corporate apps and they will stop working after root, which doesn't help. So I am looking for some app which can show wakelocks when I am not rooted.
Previously on Nexus 5 I had used 'Wakelock Detector' app, which had ADB workaround to make the app work even if your are not rooted. But unfortunately after Marshmallow update it stopped working.
BR//Sumit

Thanks

sumit0110 said:
Hi all! I have been experiencing unexplained battery drain with Android OS, Android System and Google Play Services in top 3 along with Screen. I need some app to detect which app/service is causing the Wakelocks so that I can take action. I cannot root due to restrictions on my corporate apps and they will stop working after root, which doesn't help. So I am looking for some app which can show wakelocks when I am not rooted.
Previously on Nexus 5 I had used 'Wakelock Detector' app, which had ADB workaround to make the app work even if your are not rooted. But unfortunately after Marshmallow update it stopped working.
BR//Sumit
Click to expand...
Click to collapse
you may try this-
ww.teamandroid.com/2012/07/30/how-to-set-up-adb-fastboot-with-android-sdk/2/[/url]

Wakelock Detector works fine for me

Related

how to check wakelocks

So I was just wanting to know how would I go abouts checking the wakelocks for apps that likes to run in the background..
Enjoy!
App #1
https://play.google.com/store/apps/...organic&utm_term=play+store+wakelock+detector
This app will stop apps from draining your battery life.
https://play.google.com/store/apps/...GwsMSwxLDEsImNvbS5vYXNpc2ZlbmcuZ3JlZW5pZnkiXQ..
App#2
https://play.google.com/store/apps/...sImNvbS5hc2tzdmVuLmJldHRlcmJhdHRlcnlzdGF0cyJd
Sent from my Nexus 4 using Tapatalk 2
Wakelock detector from google playstore.
scream4cheese said:
App#2
https://play.google.com/store/apps/...sImNvbS5hc2tzdmVuLmJldHRlcmJhdHRlcnlzdGF0cyJd
Click to expand...
Click to collapse
Highly recommend this--BBS by itself does the job just fine for me. Once you have a culprit, experiment with using TiBu or Rom Toolbox to freeze the app if you really need that app installed on the phone. Uninstalling it is ideal because system apps that are essential to your phone actually running don't ever cause wakelocks, from my experience anyway.
Not to thread jack, but would anyone know of an app (or other way) that can zero in on what app causes the phone to wake at a specific time? Both mine and my wife's phones screens turn on every six hours at 12 and 6 and I can't track down what's causing it. (I have BBS)
Sent from an N4 blessed with AOKP and sanctified by Faux123!
JaylanPHNX said:
Not to thread jack, but would anyone know of an app (or other way) that can zero in on what app causes the phone to wake at a specific time? Both mine and my wife's phones screens turn on every six hours at 12 and 6 and I can't track down what's causing it. (I have BBS)
Sent from an N4 blessed with AOKP and sanctified by Faux123!
Click to expand...
Click to collapse
I don't think so but I recommend downloading this application that can locate apps that are waking up while your phone is suppose to be in deep sleep mode. You can select whichever app you want to not let it wake up to drain your battery power and it will keep that app asleep. It requires root though.
https://play.google.com/store/apps/...GwsMSwxLDMsImNvbS5vYXNpc2ZlbmcuZ3JlZW5pZnkiXQ..
"Greenify help you identify and put the bad behaving apps into hibernation when you are not using them, stop them from battery leeching, memory hogging and stealthy running, in an elegant and unique way! They could do nothing without your explicit launch, while still have full functionality when running in foreground....The built-in App Analyzer will analyze and show apps in your device that keep running persistent services and those launch itself automatically on a regular basis (when network connectivity changes, or every time you unlock your device, install / uninstall / update your apps, etc)." - oasisfeng, app developer
Greenify XDA thread
http://forum.xda-developers.com/showthread.php?t=2155737
Guide to wakelocks:
http://forum.xda-developers.com/showthread.php?t=1827676
Helps you use apps like BBS properly.
irishrally said:
Guide to wakelocks:
http://forum.xda-developers.com/showthread.php?t=1827676
Helps you use apps like BBS properly.
Click to expand...
Click to collapse
Excellent!

Kitkat and Android System battery drain

Having this Android System drain and I've rooted. Any ideas what files to freeze to stop this?
Ev0d3vil said:
Having this Android System drain and I've rooted. Any ideas what files to freeze to stop this?
Click to expand...
Click to collapse
try wake lock module from exposed module
it will delay Google play services and location services to use CPU frequently.
Also use greenify it will hibernate apps which are not required at times.
press thanks if I helped you.

[Q] Rooting and debloating my SM-N910F.

Hello guys,
I am new to android and I would like to root and debloat my note 4. I won't be making some big changes, I've got nova launcher + greenify and it's good enough for me as for customization but I experience a lot bigger battery drain on 5.0.1 than on 4.4.4 so I would like to root my note and check what are the wakelocks, and then if needed delete bloat apps like dropbox, facebook (maybe installing facebook lite?), facebook messenger, ANT radio and such.
My question is if rooting with cf-autoroot is enough to do this thing? Will Titanium backpup help me delete all the bloatware apps? What app will I need to stop baterry-draining wakelocks? And also, is there any way to block all but one apps from background data? Let's say I will turn off data in background and leave it just for whatsapp for notofications? I would like to block some google services also since i never use S voice or google now etc.
I would appreciate any kind of help.
Wakelock Detector doesn't work on my rooted note 4 sm-n910F. Any ideas?
anythingpoll said:
Wakelock Detector doesn't work on my rooted note 4 sm-n910F. Any ideas?
Click to expand...
Click to collapse
For wakelock finding you can use GSAM battery monitor or BetterBatteryStats (BBS)
Greenify, Disable Service, or Amplify if you use Xposed to improve battery life.
Debloating can be done manually, or with scripts/programs around the forum here.
Or you can just flash SimplRom in and have a debloated rom immediatly
Hope it helps :good:
I've downloaded titanium backup pro. Can I unistall 'My Places' without any worries? I'm not using it.
anythingpoll said:
I've downloaded titanium backup pro. Can I unistall 'My Places' without any worries? I'm not using it.
Click to expand...
Click to collapse
I wouldn't uninstall My Places as I believe is tied in with system security. Just freeze it, as least then if removing it does cause any problems is an easy fix.
Sent from my SM-N910F
Guys my Note 4 is in standby mode since last night, what can be the problem? I turned off nearly all the settings like gps, bluetooth, nfc, etc. Only wifi is on.

Greenifying Motorola System Apps

Everyone around uses greenify, but I am on stock and not rooted. I have greenified almost every other system app. Anyone who has a decent hold over knowledge when it comes too greenifying system apps can tell me which ones are safe and which ones shouldnt be greenified ? Thanks in advance.
i greenifying motorola update, device management, Rescue Add-on:Motorola, initializing services motorola; and deleted moto care/int .
motorola modality services its for "moto screen" and shouldnt disable if u use that.
i want to know more too ;D
ProudRed said:
Everyone around uses greenify, but I am on stock and not rooted. I have greenified almost every other system app. Anyone who has a decent hold over knowledge when it comes too greenifying system apps can tell me which ones are safe and which ones shouldnt be greenified ? Thanks in advance.
Click to expand...
Click to collapse
I don't think its necessary anymore to greenify system apps since android 6. Its better to disable the moto and google services in settings > apps. Disabling also prevents the services to start when booting and saves more power and memory.
Even I have disabled these apps but battery keeps draining as most of the system apps are awake all the time. So to save more and squeeze more battery life I was wondering if its safe to hibernate motorola services and apps.
Sent from my Moto E using Tapatalk
ProudRed said:
Even I have disabled these apps but battery keeps draining as most of the system apps are awake all the time. So to save more and squeeze more battery life I was wondering if its safe to hibernate motorola services and apps.
Sent from my Moto E using Tapatalk
Click to expand...
Click to collapse
follow this to disable even more system apps www.xda-developers.com/setting-up-android-marshmallow-without-google/
just greenify all user apps and turn auto hibernation on that should be enough IMO.
bablu048 said:
follow this to disable even more system apps www.xda-developers.com/setting-up-android-marshmallow-without-google/
just greenify all user apps and turn auto hibernation on that should be enough IMO.
Click to expand...
Click to collapse
Link not working. However I know about automated hibernation.. But with no root device there is hardly any scope for deep hibernation.
Edit : worked from laptop.
PS : This needs custom recovery ?
Sent from my Moto E using Tapatalk
ProudRed said:
Link not working. However I know about automated hibernation.. But with no root device there is hardly any scope for deep hibernation.
Edit : worked from laptop.
Sent from my Moto E using Tapatalk
Click to expand...
Click to collapse
just google "setting up marshmallow without Google xda ". or open that link in PC or another browser because it is opening in my browser.
bablu048 said:
just google "setting up marshmallow without Google xda ". or open that link in PC or another browser because it is opening in my browser.
Click to expand...
Click to collapse
Done, this needs custom recovery ? I am on stock and not rooted.
ProudRed said:
Done, this needs custom recovery ? I am on stock and not rooted.
Click to expand...
Click to collapse
no, you don't even need to root... just go to settings--apps--show system and start disabling according to the guide whatever you don't need.
I never greenify system apps since android lollipop and never have had strange battery drains so far. Its normal that a lot of system apps are running in the background, thats why they call it a smartphone. Just auto greenify your user apps and disable all services you don't use in android settings. And don't use wakelock detectors, because it only makes you crazy seeing how much services are running in the background which is completely normal. You can auto hibernate user apps without root, only takes a little longer to hibernate.
deleted
bablu048 said:
no, you don't even need to root... just go to settings--apps--show system and start disabling according to the guide whatever you don't need.
Click to expand...
Click to collapse
You should go through the article once, clearly talks about custom recovery, running commands. There is no option to run command from stock recovery.
ProudRed said:
You should go through the article once, clearly talks about custom recovery, running commands. There is no option to run command from stock recovery.
Click to expand...
Click to collapse
That is for removing Google products totally... Go to the end of the article it has a list of products which you can disable without causing any problems.
Have successfully removed all the google apps. Only issue is Ola cabs app doesnt work without play services and still looking for a proper standalone YouTube app. Plus contacts synchronisation app if available.. Rest I have replaced allmost all.
Sent from my Moto E using Tapatalk

Marshmallow 6.0.1 App permission (waking up device)

Hi all,
I have a question regarding the new app permission management in Marshmallow 6.0.1. In Lollipop (5.1.1) we used to have the option to prevent an app from waking up the device or keeping it awake. I used to uncheck that box for Google Play services as this was constantly running and eating up my battery. When I go through the new extended Marshmallow app management, I get several options that i can allow or deny (body sensors, calendars, camera, contacts, location, etc. see attached screenshot). But nowhere can I find the option to prevent the app/service from waking up or keeping the device awake.
Anyone know where I can find this or how to do this in Marshmallow?
OneTruth said:
Hi all,
I have a question regarding the new app permission management in Marshmallow 6.0.1. In Lollipop (5.1.1) we used to have the option to prevent an app from waking up the device or keeping it awake. I used to uncheck that box for Google Play services as this was constantly running and eating up my battery. When I go through the new extended Marshmallow app management, I get several options that i can allow or deny (body sensors, calendars, camera, contacts, location, etc. see attached screenshot). But nowhere can I find the option to prevent the app/service from waking up or keeping the device awake.
Anyone know where I can find this or how to do this in Marshmallow?
Click to expand...
Click to collapse
Use latest package disabler for preventing apps to awake the phone or updated through Google play
Sent from my SM-G928F using Tapatalk
zizon65 said:
Use latest package disabler for preventing apps to awake the phone or updated through Google play
Sent from my SM-G928F using Tapatalk
Click to expand...
Click to collapse
Is that the only way for now?
That's the appropriate way I know
Sent from my SM-G928F using Tapatalk
zizon65 said:
That's the appropriate way I know
Sent from my SM-G928F using Tapatalk
Click to expand...
Click to collapse
What I can find in the Play Store is Package Disabler Pro (Samsung). From the description and the screenshots I see you can enable/disable apps/services. I can do that already with Titanium Backup. But I can't disable the Google Play services, I just want to keep them from waking up the device, or keeping it awake while screen is off.
OneTruth said:
What I can find in the Play Store is Package Disabler Pro (Samsung). From the description and the screenshots I see you can enable/disable apps/services. I can do that already with Titanium Backup. But I can't disable the Google Play services, I just want to keep them from waking up the device, or keeping it awake while screen is off.
Click to expand...
Click to collapse
Yes but with Package Disabler Pro for Samsung you can do things, that you can't with TTB, in one word it's more powerful
Sent from my SM-G928F using Tapatalk
zizon65 said:
Yes but with Package Disabler Pro for Samsung you can do things, that you can't with TTB, in one word it's more powerful
Sent from my SM-G928F using Tapatalk
Click to expand...
Click to collapse
TB does what it needs to do for me, as I'm not looking for anything beyond what it can do. Just freeze apps/services I don't use and every once in a while a backup. I just need something good that can prevent an app from waking up device, just like the basic functionality we had in Lollipop in the app management section.
zizon65 said:
Yes but with Package Disabler Pro for Samsung you can do things, that you can't with TTB, in one word it's more powerful
Sent from my SM-G928F using Tapatalk
Click to expand...
Click to collapse
You're completely missing his point. He doesn't want to disable google play services, he wants to prevent it from waking up the phone.
Package Disabler Pro is more powerful than TB? I hope you're trolling.
OneTruth said:
TB does what it needs to do for me, as I'm not looking for anything beyond what it can do. Just freeze apps/services I don't use and every once in a while a backup. I just need something good that can prevent an app from waking up device, just like the basic functionality we had in Lollipop in the app management section.
Click to expand...
Click to collapse
As far as I can tell, the doze feature is supposed to be in charge of preventing wakelocks and keep your phone from staying awake. So Google probably thought that denying the stay awake permission isn't needed anymore. Tbh, it denying 'stay awake' in app permissions in previous builds on android didn't do much for battery life, at least for me. Some things you could try is cleaning google play services data, and deleting google now if you dont use it.
Bhavpreet said:
You're completely missing his point. He doesn't want to disable google play services, he wants to prevent it from waking up the phone.
Package Disabler Pro is more powerful than TB? I hope you're trolling.
As far as I can tell, the doze feature is supposed to be in charge of preventing wakelocks and keep your phone from staying awake. So Google probably thought that denying the stay awake permission isn't needed anymore. Tbh, it denying 'stay awake' in app permissions in previous builds on android didn't do much for battery life, at least for me. Some things you could try is cleaning google play services data, and deleting google now if you dont use it.
Click to expand...
Click to collapse
You did not understand me either! What I've said is that Package Disabler Pro not only can prevent app from waking up the phone, but can prevent such app from updated by Google play service.
I also maintain that Package Disabler Pro is more powerful than TTB in terms of preventing an app from doing anything even operating in the background.
Sent from my SM-G928F using Tapatalk
@Bhavpreet I think for me it did quite the thing. Before I disabled apps/services I didn't need I saw Google Play Services popping up in the battery stats a lot. Once I hit the switch and didn't allow the service to wake up the phone or keep it awake, it disappeared from the battery stats.
Currently, from what I can see in the battery stats, the play service is running 4 things:
- Google Service Framework
- Google Play Services
- Google Backup Transport
- Google Account Manager
I have the backup to cloud enabled for contacts/notes/etc. Which one of the above is safe to freeze without interfering in that process?
@zizon65 Are you talking about freezing/disabling an app? Or only stopping it from waking up the device, but leaving the service/app intact for when you manually open it?
@OneTruth it could be achieved by using xposed for the module appopsxposed though I only tested it under cm13 on another phone
zizon65 said:
You did not understand me either! What I've said is that Package Disabler Pro not only can prevent app from waking up the phone, but can prevent such app from updated by Google play service.
I also maintain that Package Disabler Pro is more powerful than TTB in terms of preventing an app from doing anything even operating in the background.
Sent from my SM-G928F using Tapatalk
Click to expand...
Click to collapse
He does not want to disable it, he just wants to stop it from waking the device. Disabling google play services effectively transforms your device into a dumb phone, whats the point?
OneTruth said:
@Bhavpreet I think for me it did quite the thing. Before I disabled apps/services I didn't need I saw Google Play Services popping up in the battery stats a lot. Once I hit the switch and didn't allow the service to wake up the phone or keep it awake, it disappeared from the battery stats.
Currently, from what I can see in the battery stats, the play service is running 4 things:
- Google Service Framework
- Google Play Services
- Google Backup Transport
- Google Account Manager
I have the backup to cloud enabled for contacts/notes/etc. Which one of the above is safe to freeze without interfering in that process?
@zizon65 Are you talking about freezing/disabling an app? Or only stopping it from waking up the device, but leaving the service/app intact for when you manually open it?
Click to expand...
Click to collapse
You wont be able to remove any of those 4 services without breaking google play services as a whole afaik. I don't even use google for my backup account, but i still have backup transport eating at my battery. Google Services, on average, uses 1-4% of my battery, usually on the lower end. Like I said, clear its data and cache, give it a restart, and see if that helps. I also recommend turning off auto update in the playstore, and deleting google now data and app and reinstalling it.
Last option, and this will definitely work considering you upgraded, factory reset the device.
Also, PDP disables apps, meaning it completely gets rid of them from your device until theyre enabled again, which is not a solution to your problem.
@Bhavpreet How com this was possible in Lollipop without breaking anything? Everything was running perfectly for me, without Google Play Services ever showing up in the battery stats. So I won't be factory resetting. Clearing cache already did that, no result. Will try out @Zenroid solution.
I think this is doing the trick. Will post back with results after the next full charge.
Zenroid said:
@OneTruth it could be achieved by using xposed for the module appopsxposed though I only tested it under cm13 on another phone
Click to expand...
Click to collapse

Categories

Resources