[rn3 Pro] Constant Awake & Screen On


Jul 1, 2016
179
67
38
#1
This is something that happens on whichever ROM I've tried. For a couple of days everything is great and then suddenly the phone shows constant awake and screen on, even of the phone is locked. You can see it on the attached screenshots, the blue line when the phone was awake with the screen on is actually from when the phone was locked with the screen off. After I wiped the dalvik and cache, it went back to normal. Anyone found a solution to this?
 

Attachments

Jul 1, 2016
179
67
38
#4
After I do a factory reset, the phone acts normally for 5-6 days. Then I have the constant awake and screen on. I have tried official global stable and dev roms and now I am using xiaomi.eu 6.6.30 rom, same thing happens on each of them so I think it's an app, a setting or something similar
 
Jul 9, 2016
6
3
15
#5
I'd check to see what's keeping the device awake using BetterBatteryStats or Wakelock Detector. Either will do. Could be kernel related, could be app-related. Either way there's fixes for both but you need to know what it is first.

Someone else might be able to suggest better ways of doing this... but from the top of my head:

If app-related - you can either try disabling specific app autostarts using a variety of apps (such as System Tuner Pro... but I think MIUI has it baked in if I remember correctly - Settings > Permissions > Autostart) or alternatively, cap them using Amplify or NoWakeLock (one or other; both need the Xposed Framework). The latter option is needed if it's something that NEEDS to run but is holding a wakelock - i.e. a system component - you shouldn't disable it's autostart but you can set it to be killed in Amplify if it's hanging, keeping the device awake.

If it's kernel related, sometimes changing settings can help (i.e. double tap to wake is one that holds a wakelock often, turning it off fixes that) or in the worst case scenario, using terminal to outright disable the kernel wakelock function (usually eventX wakelock).

Find out what the wakelock is first, then go from there.
 
Feb 4, 2015
5
1
15
#9
Same problem guys on a Xiaomi Redmi4!

No matter what rom I use, after one week awake(screen off) process shows up in betterbatterystats and eats 3%/hour battery! That's insane.