Wakelocks - Xiaomi Mi 5 Questions & Answers

Hello,
Snapchat is keeping my cpu awake even though i greenified Snapchat.
Does anyone have a solution for that?

Related

[Q] Help with CM11 based ROMs ! Low performance and battery drain

Hello to all,
I have two problems that are almost making me go back to stock 4.3 ROM
The first is related to the battery, the android system appears first with 25% + battery drain, and in most cases equal to or greater than the battery consumption of the screen! This makes my battery does not pass a day, and the stock I went much further (without STAMINA MODE).
The second issue is regarding the performance measured by AnTuTu. I know that does not mean much, but in the STOCK I get 25.5k and I read out there that people also manages the same in CM11 LBL (the MrSteve555 and also bagyusz), I do not understand why I can here the maximum 22.5K .
Independent of ROM I have put the same results. Tested in all versions of MrSteve555 and in the last two of bagyusz. Also tested in the PAC-man RC-1 neXus PRIME, same result and battery consumption.
In all ROMs I wipe system, data, cache, dalvik cache.
Does anyone have any idea how to solve this? I am discouraged because I love the CM11.
Ps: I use .207 kernel and I've tried with .205 also, same result. (I have LBL)
Damn what is that screenshot supposed to show?? 30 minutes off charge and it is at 99%!!! It's obvious that the screen consumption will be minimum, it was on for a minute or so probably... I know that usually android system drain is higher in cm than stock but you should compare your battery stats at the end of the day...
Please reset the counter by tapping on the trash icon on the activity bar. Then please post a screenshot after hours of usage. This will enable other people to properly interpret your battery stats.
Some tips though, you will most likely encounter a slight battery drain while using custom ROMs. This is due to the fact that stock ROM and custom ROM works differently. You might actually having a normal drain than a supposedly "bad" one.
By the end of the day will be the same... Anyway I will post later.
I attached new images for better understanding.
Does anyone have any idea?
Firstly, Antutu scores mean sh*t...
In the past I've had allot of ROMs with very bad Antutu scores which performed much better in terms of speed and general user experience than a standard ROM with higher Antutu score.
Furthermore, install better battery stats or any other wakelock detector app to see what is draining your battery. The pictures you are showing us now don't help at all.
I've exactly the same problem, android consumes always more than 25% battery too...
Silver Wx said:
I've exactly the same problem, android consumes always more than 25% battery too...
Click to expand...
Click to collapse
As I mentioned above, you need to identify what is causing the wakelocks first. Untill then there's absolutely no solution that can be presented to both of you.
By pointed by Gamm86, it might be due to wakelocks. Once the wakelocks are found, you may use Greenify to hibernate that rogue app. When the app is selected within Greenify, you will find it easier to see the wakeup path and cut it off through Greenify.
Wakelock Detector
Greenify
TechnoSparks said:
By pointed by Gamm86, it might be due to wakelocks. Once the wakelocks are found, you may use Greenify to hibernate that rogue app. When the app is selected within Greenify, you will find it easier to see the wakeup path and cut it off through Greenify.
Wakelock Detector
Greenify
Click to expand...
Click to collapse
It's not always apps themselves that cause wakelocks.
Background services related to phone or app settings are usually the culprits, meaning greenify won't resolve all wakelocks.
Gamm86 said:
It's not always apps themselves that cause wakelocks.
Services related to phone or app settings are usually the culprits, meaning greenify won't resolve all wakelocks.
Click to expand...
Click to collapse
yes I understand. Hmm i believe you are more experienced in this matter. Would you tell me how to stop those wakelocks that caused from other services? I would really appreciate that, cause I find many people solve this problem but they never did expose where they learn from or the methods they use. and yea, I've googled but I got nothing
TechnoSparks said:
yes I understand. Hmm i believe you are more experienced in this matter. Would you tell me how to stop those wakelocks that caused from other services? I would really appreciate that, cause I find many people solve this problem but they never did expose where they learn from or the methods they use. and yea, I've googled but I got nothing
Click to expand...
Click to collapse
Use Disable service app. Check which wakelock is occurring and disable that service.
Or get the donate version of unbounce and delay the wakelocks like every hour or so.
I already use Greenify and hibernate all apps that are not chat, not solved.
I also noticed that while I sleep and the phone remains idle the android system does not consume a lot of battery, something around 6%, but when you turn on the screen and the phone is active it starts to drain. So the problem is not in the wakelock, but elsewhere.
I'm using the applications suggested to post new screenshots later.
I used the apps for a day and I'm posting the screenshots of the result ... the system keeps draining and I don't see any information that would help me on the images.
Anyone have any ideas?
Jeanborba said:
Hello to all,
The second issue is regarding the performance measured by AnTuTu. I know that does not mean much, but in the STOCK I get 25.5k and I read out there that people also manages the same in CM11 LBL (the MrSteve555 and also bagyusz), I do not understand why I can here the maximum 22.5K .
Click to expand...
Click to collapse
I'm on MrSteve555's CM for LBL and was also wondering why I was getting a much lower AnTuTu score than stock. Then I discovered that I get 22.5K scores WHEN CHARGING and 25.5K scores running off the battery!
Jeanborba said:
I used the apps for a day and I'm posting the screenshots of the result ... the system keeps draining and I don't see any information that would help me on the images.
Anyone have any ideas?
Click to expand...
Click to collapse
I have noticed the same issues on all 4.4.x based roms (slimkat, pac, PA etc.). The only fix i found was to disable the automatic screen brightness. After disabling it the system_server service became normal and Android System dropped to 9-8% of overall battery consumption.
Good luck
Diablo.69 said:
I have noticed the same issues on all 4.4.x based roms (slimkat, pac, PA etc.). The only fix i found was to disable the automatic screen brightness. After disabling it the system_server service became normal and Android System dropped to 9-8% of overall battery consumption.
Good luck
Click to expand...
Click to collapse
I've exactly the same problem of you : thanks very much for find!
My phone never enters deep sleep when i lock it with WiFi on, this happens on cm11 by steve it drains a lot overnight
4.00 - 4.30 hours on screen = 2 days with playing fifa 15 and facebook + viber. 1-2 photos, 60 mins browsing and about 30 mins talk good for me without using battery safe apps - lock my bl and using .207's kernel on mr.steve555's Weeklies CM11 lbl
try CM11 Mahdi Rom 4.4.4 with gapps minimal 23mb ,my battery work as well after play music,game and facebook

Gallery and Photos wakelocks

I see Gallery and Photos apps trigger a lot of wakelocks even though I don't use them everyday. I think it drains a lot of battery. Anyone facing same problem?

What root app can keep idle use in check?

Galaxy s4, honor 6 and now mi5. All of my android phones have had terrible terrible standby battery life. Wifi, Google services, location services, that android media service.
It's like whack a mole. As soon as I freeze or uninstall one app another pops up. I have tried more than 20 different apps to stop the idle battery use. The one thing that worked for me was Leandroid that automatically turns off data connection after screen off. This doesn't work in miui though.
So TL;DR how do I stop idle battery drain. I just installed the latest unofficial rom. I know as soon as I install Facebook/messenger the drain will start. Recommend an app (rootl
Thank you
Out of the 20 apps, did you set up Greenify with Xposed? Through settings, you can enable agressive doze.

Help with Google services/play services battery drain

Was hoping someone could help, or if anyone else has been having this problem.
Been having an intermittent problem with huge, fast battery drain from Google services and play services. Sometimes phone is on high accuracy in location settings and I don't get the problem. Then for no reason I can see, suddenly the battery is dropping by 20% per hour in standby with Google services or play services at the top of the list using way more than anything else. Tried using device only and battery saving setting in location, but get the problem with them as well. Toggling off location entirely seems to stop it. Tried uninstalling play services and reinstalling it, as well as other troubleshooting I've read.
Stock, 4.4.2 xt1058 on AT&T, rooted
Have been searching online for a fix, but nothing as to why it's happening.
Hoping to figure out what causes it to suddenly start, seems to be most of the time now.
Thanks in advance for any help.
Get amplify and put xposed on it. Then limit the wakelocks. That is the easiest and most brutal solution.
Orcam said:
Get amplify and put xposed on it. Then limit the wakelocks. That is the easiest and most brutal solution.
Click to expand...
Click to collapse
Thanks. I had it on my phone at one time, but never used it as I wasn't having this problem. Will download it and try it out -hopefully I can determine exactly which wakelocks I'm having. Hopefully with Gsam battery detector, or Amplify, or another wakelock detector I can identify the culprit.
Amplify should tally all wakelocks well for you. Wakelock detector or BBS would give you a bit of a clearer picture. Make sure you do some reading about what intervals to limit stuff on with Amplify.

Weird wakelock, no deep sleep

Hi Guys. Im on Lineage OS and i my phone cant go to deep sleep. In BBS i have this weird wakelock. Someone know how to find whats going on?
Ok, after few reboots wakelock is gone, if someone know what was that i would to know too
I am getting the powermanager wakelocks, same as shown in the photo, is that a concern ?

Categories

Resources