FORUMS
Remove All Ads from XDA

[FIX] Battery Drain,No Deep sleep, Android os wake-up all time

526 posts
Thanks Meter: 136
 
By pradeeppk, Senior Member on 2nd May 2018, 11:34 PM
Post Reply Email Thread
Tested on Lineage OS14.1, PurefusionNougat, CRDroid (not tried in other ROMs, it may work)
After trying a lot of modifications in two weeks regarding battery drain due to android os wakeup all time and little or no deepsleep, found a simple way to solve the issue.
1. Calibrate your battery according to post #9 (https://forum.xda-developers.com/sho...hp?t=2765663)( (Essential- it will fix almost all errors regarding battery)
2. A simple build.prop tweak wifi.supplicant_scan_interval=200
Add this line to system/buildprop using a root explorer with root permission " wifi.supplicant_scan_interval=200 " and reboot.
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	4930
Size:	239.6 KB
ID:	4491720   Click image for larger version

Name:	2.jpg
Views:	4852
Size:	208.8 KB
ID:	4491721   Click image for larger version

Name:	3.png
Views:	4802
Size:	231.0 KB
ID:	4491722   Click image for larger version

Name:	4.png
Views:	3888
Size:	149.0 KB
ID:	4491723  
The Following 8 Users Say Thank You to pradeeppk For This Useful Post: [ View ] Gift pradeeppk Ad-Free
 
 
2nd May 2018, 11:52 PM |#2  
pradeeppk's Avatar
OP Senior Member
Flag KERALA
Thanks Meter: 136
 
More
Screenshots after applying the mode
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	3234
Size:	221.4 KB
ID:	4491728   Click image for larger version

Name:	5.png
Views:	3220
Size:	154.0 KB
ID:	4491729   Click image for larger version

Name:	6.png
Views:	3186
Size:	164.8 KB
ID:	4491730  
The Following User Says Thank You to pradeeppk For This Useful Post: [ View ] Gift pradeeppk Ad-Free
4th May 2018, 01:43 PM |#3  
Member
Thanks Meter: 4
 
More
I edited the build.prop file via BuildProp Editor in the app store. So does i add that line in the beginning of the file or at the end?
The Following User Says Thank You to whi-2 For This Useful Post: [ View ] Gift whi-2 Ad-Free
4th May 2018, 02:52 PM |#4  
Haldi4803's Avatar
Senior Member
Thanks Meter: 1,559
 
More
do build.prop edits need a reboot to work ?

But yeah... WiFi has always been an issue on the HTC10 -.-
The Following User Says Thank You to Haldi4803 For This Useful Post: [ View ] Gift Haldi4803 Ad-Free
4th May 2018, 06:15 PM |#5  
pradeeppk's Avatar
OP Senior Member
Flag KERALA
Thanks Meter: 136
 
More
Quote:
Originally Posted by Haldi4803

do build.prop edits need a reboot to work ?

But yeah... WiFi has always been an issue on the HTC10 -.-

yes
4th May 2018, 06:17 PM |#6  
pradeeppk's Avatar
OP Senior Member
Flag KERALA
Thanks Meter: 136
 
More
Quote:
Originally Posted by whi-2

I edited the build.prop file via BuildProp Editor in the app store. So does i add that line in the beginning of the file or at the end?

Preferably at the end
4th May 2018, 06:18 PM |#7  
pradeeppk's Avatar
OP Senior Member
Flag KERALA
Thanks Meter: 136
 
More
Also Do this "Official fix for battery problems"
https://forum.xda-developers.com/sho....php?t=2765663
4th May 2018, 08:40 PM |#8  
andybones's Avatar
Recognized Contributor / Inactive Recognized Developer
Flag Upstate NY
Thanks Meter: 14,197
 
Donate to Me
More
Quote:
Originally Posted by whi-2

I edited the build.prop file via BuildProp Editor in the app store. So does i add that line in the beginning of the file or at the end?

I'd recommend in this spot in my picture.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20180504-153852.jpg
Views:	2320
Size:	263.0 KB
ID:	4493169  
The Following 2 Users Say Thank You to andybones For This Useful Post: [ View ] Gift andybones Ad-Free
5th May 2018, 03:26 AM |#9  
pradeeppk's Avatar
OP Senior Member
Flag KERALA
Thanks Meter: 136
 
More
Battery Caliberation that also worked for me according to this xda post by @bikercr https://forum.xda-developers.com/sho....php?t=2765663
Thanks to @bikercr
His Post
"This is directly from HTC tech support. To recalibrate battery and HTC charger when battery rapidly or erratically discharges, this procedure clears all battery stats, coordinates and normalizes charging.

Turn off Fast Boot in settings. Power off phone.
Plug phone into HTC charger and charge for two minutes or more
While charging, hold down volume up+volume down+power button and continue holding
Phone will turn on and off repeatedly every 15 seconds or so while continuing to hold all three buttons
Keep this going for 2 minutes, then release buttons when phone is ON
Now, let phone charge fully normally (with phone either on or off--doesn't matter) and battery level reporting, charging and battery life should be normalized.


Do this every month or so to keep power system healthy--even if everything seems fine. Also, don't leave phone on charger overnight for best long term battery life (according to HTC tech support: "The first thing they tell us." This is true even though charging is supposed to turn off when battery is at 100%)

NOTE: Another potential fix for battery/charging abnormalities if this procedure fails (esp. after an OTA update when corrupted files can remain stuck in device cache partition)--clear cache partition using this method: http://forums.androidcentral.com/ver...ted-phone.html"
New screenshot attached- Still 100% after 59 minutes (Note: without Gapps) Running crdroid from @andybones
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20180505-072332.png
Views:	1230
Size:	126.3 KB
ID:	4493320  
The Following User Says Thank You to pradeeppk For This Useful Post: [ View ] Gift pradeeppk Ad-Free
5th May 2018, 08:36 AM |#10  
Martybug's Avatar
Member
Flag Italy
Thanks Meter: 38
 
More
Good morning, the fix works with Leedroid Oreo?? or is it for Nougat AOSP ROM?!
Thanks...

Inviato dal mio HTC 10 utilizzando Tapatalk
The Following User Says Thank You to Martybug For This Useful Post: [ View ] Gift Martybug Ad-Free
6th May 2018, 01:29 AM |#11  
pradeeppk's Avatar
OP Senior Member
Flag KERALA
Thanks Meter: 136
 
More
Quote:
Originally Posted by Martybug

Good morning, the fix works with Leedroid Oreo?? or is it for Nougat AOSP ROM?!
Thanks...

Inviato dal mio HTC 10 utilizzando Tapatalk

Tested only on Nougat, But it will work on Oreo too, Do the battery calibration first.
The Following User Says Thank You to pradeeppk For This Useful Post: [ View ] Gift pradeeppk Ad-Free
Post Reply Subscribe to Thread

Tags
android os wake up all time., battery drain, deep sleep

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes