Showing posts with label stay. Show all posts
Showing posts with label stay. Show all posts

Thursday, 21 July 2016

[Guide] How to fix Android OS battery drain (stay awake) without root!



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! We will need ABD, so we must have a computer.

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 write

Code:


adb devices

If 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.
If ADB is not installed, please kindly check Snoop05's thread to use his perfect tool - 15 Seconds ADB installer ( Yes, 15 seconds, actually less )

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:

Code:


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

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:
Here is an awesome guide about wakelocks by T.J. Bender , you can check your wakelock there too.

Please feel free to ask any questions or unclear points. Hope your phones deeper sleeps!



Wednesday, 20 July 2016

Help phone will not charge and stay on



The phone started losing charge while connected to the car charger. for 40 mins and went to 0% . I have plugged it into several chargers and it acts like its charging but its not! When I try to turn it on it come on but shuts down. I did safe and recovery modes still will not charge or stay on. Help.



Sunday, 17 July 2016

Mock Locations will not stay on.



Just wondering if there is a way to enable this through adb or something? The problem is, I go to Developer Options and and scroll to "Allow Mock Locations," I check the box, I back out of Developer Options, I go back into Developer Options, and Allow Mock Locations is unchecked. What gives???



Wednesday, 13 July 2016

Verizon S7 edge won't stay on after a certain time. But doesn't fully reboot



My Verizon S7 edge will turn off than back on very rapidly almost as if a quick boot was initiated. But there wasn't. Any suggestions?



Monday, 11 July 2016

Screen won't stay awake when charging



I have enabled Developer Options. When I tell the screen to stay awake when charging it technically stays awake, but it dims down considerably. I am looking for a way to keep the screen on at it's set brightness while charging. I'd prefer not to use an app for this purpose if it is possible to do this within the phone settings. Am I missing something?



Tuesday, 5 July 2016

Bluetooth won't stay enabled



Starting last night, my phone's BT won't stay enabled. If I turn it on, it turns itself back off a second or two later. Restarting the phone fixed it for a few hours, but the problem soon returned and now restarting does not even temporarily relieve it.

I've seen some reports that factory-reset has solved this problem on other phones, so I'll try that later. I'm inclined to suspect a hardware problem, though. The phone has worked great since I got it last year, and I sideloaded BPE6 as soon as it was available last month, with no difficulties until yesterday. I don't use any power-optimizing apps.

UPDATE: Before resorting to factory-reset, I used the Application Manager to clear cache and data for Bluetooth Share and Bluetooth Test. That seems to have fixed it, at least for now.



Monday, 4 July 2016

Phone does not stay at fastboot or recovery screen for more than 2 seconds



Till now my device was working fine,i changed the phone's theme and left it aside. For checking something I tried unlocking my phone and it suddenly restarted and since then it is restarting again and again I tried everything "The volume down+ Power" and Volume Up+Power for Fastboot and recovery respectively but it doesnt stays at the same screen for more than 2 seconds and restarts every bit and then. I am really helpless.

Any help would be much appreciated.

:crying:

I am also attaching a log file...when I tried using MiFlash in a case when it stayed at the fastboot window for a while..it never finished and all of a sudden after a few minutes it again restarted and the same thing is happening again as I have mentioned above.:eek: