We will need ABD, so we must have a computer.



Code: adb devices

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

Hello guys! It has been a long time since I have been trying to sort out my drain issues on my S6 Edge+ , a couple of days ago I finally figured out to use Wakelock Detector without root then it comes out that it was actually the maps keeping the phone awake via "NLPWakelock" through Android OS. I will cover out the process step by step to found out which app is causing the drain and why!1)First we are gonna need the app; "Wakelock Detector [Lite]" root users may use normal version too.Play store link: https://play.google.com/store/apps/d...r.noroot&hl=tr 2) We should open USB Debugging option in developer settings. And connect our phone to computer via USB.3) To check if we have adb installed, you can simply run command promt ( windows/run/cmd ) and writeIf the output is similar to the image below, it means you have ADB installed and if you have device entry you have your ADB device drivers installed too.4) Once you make sure you have your device entry after writing " adb devices" , we gonna need to write this command to give Wakelock Detector battery history permissions:At this point we may see a popup dialog on our phone like this:You need to allow it and preferably you can check always allow option.5) That's it guys. Now we have Wakelock detector working!Most of the important drains caused by CPU wakelocks and Kernel Wakelocks. With or without root, the things we can do to kernel wakelocks are limited, afaik. So lets come to CPU Wakelocks. What you should do is use your phone regularly a couple hours after you gave permissions to the app and run it. Then you will see which apps , and which wakelocks they have called both individually. After that you can pinpoint the issue with a google search! Hope it helps you guys. I fixed my drain, I was getting 3hours of SOT before now I have more than 4-4.5 hours through my daily usage.Notes:Please feel free to ask any questions or unclear points. Hope your phones deeper sleeps!