Fix Battery Drain Issue in V10.3.9.0 to an Extent! - Xiaomi Redmi Note 7 Pro Guides, News, & Discussion

Hi all. As everyone has noticed, the recent update has made the battery backup worse. The reason being that they have made significant changes in RAM Management. You can fix this to an extent by going to Developer Options, and change 'Background process limit' to atmost 2 processes.
Also, you can use the Blokada app, which blocks most of the ads and trackers.
Note: This will only help you to a certain extent.
Press Thanks if i helped!

remove blotware apps

Related

[Q] Batter life going down after doing the battery boost?

Ok so I did the battery boost thing on one of the threads, which says that you only lose 0-1 % per 9 hours on CM 6.1.3 by wolfbreak
When I did that true to its claims it gave me that long battery life but now I see that my battery is draining quickly again
did this happen to anyone else before?
Yourmama said:
Ok so I did the battery boost thing on one of the threads, which says that you only lose 0-1 % per 9 hours on CM 6.1.3 by wolfbreak
When I did that true to its claims it gave me that long battery life but now I see that my battery is draining quickly again
did this happen to anyone else before?
Click to expand...
Click to collapse
this may not work on others. its just posted to share. its not 100% that ur battery will improve. re-flash the rom n dun try the thing again...or u can try again...if u wan.
Have you installed something after those ''tweaks'' that stays open in the background?
Just some games but no major programs
probably the autokiller settings are too aggressive, and because your apps (widgets maybe?) are being killed and trying to reopen constantly this is actually in effect draining your battery
Yourmama said:
Just some games but no major programs
Click to expand...
Click to collapse
Some games caused for me battery drain. So try looking with some kind of app (don't know name anymore) which one uses the most battery when on background.
fiscidtox said:
probably the autokiller settings are too aggressive, and because your apps (widgets maybe?) are being killed and trying to reopen constantly this is actually in effect draining your battery
Click to expand...
Click to collapse
Apps won't reopen if you do nothing and closed them. So it will not cause battery drain. (And if they open without using them it maybe because it sheduled or you pressed a app that made it open)
PlayGunsta said:
Apps won't reopen if you do nothing and closed them. So it will not cause battery drain. (And if they open without using them it maybe because it sheduled or you pressed a app that made it open)
Click to expand...
Click to collapse
yes they will.....
Say if you have a calendar widget or beautiful widgets, etc...
Or apps that are set to be persistent
With aggressive autokiller settings, these maybe being closed and constantly reopening
It was on disabled
fiscidtox said:
yes they will.....
Say if you have a calendar widget or beautiful widgets, etc...
Or apps that are set to be persistent
With aggressive autokiller settings, these maybe being closed and constantly reopening
Click to expand...
Click to collapse
In theory yes. But in most cases the oom value of most commonly used widgets and their neccessary services are not raised or remain at around 0. AutoKiller is actually very intuitive with what apps priorities are raised it doesnt just kill everything indisciminately like most autokill task managers. I have used high values (150,200,250) for AutoKiller for more than 4 months and I have never had it kill any services or apps for widgets or even anything I want running in the background like Lookout, JuiceDefender, EasyFilter or DSP Manager. I also have numerous widgets and have never had problems with any of them being killed. I also get pretty awesome battery life. Chances are the problem is with some apps running unchecked in the background and not that apps you want in the background are getting killed.
Remember that everyone has different apps and everyone uses their phone differently so something that works for some people might not work as well for you. There are a lot of different things you can do to improve your battery life but if you try to set a target amount of battery drain (like the 0% in 9 hours) you can only be disappointed. Just use what you think helps you get the best performance for you and be happy for anything that seems to improve.
Sent From My *Super Fly X10*
If I (or anyone for that matter!) help you, dont be afraid to press THANKS!

How do I detect wakelocks inside of applications ?

Gents....
In the quest for battery life and RAM enhancements, and the fact that many applications use wake locks to keep themselves active in the RAM.....is there an easy method to identify which apps contain wake locks ?
I can see active apps easy enough, but does that state simply mean a wake lock is present ??
A little info from a dev or two would be much appreciated.......g
Bump....
gregsarg said:
Gents....
In the quest for battery life and RAM enhancements, and the fact that many applications use wake locks to keep themselves active in the RAM.....is there an easy method to identify which apps contain wake locks ?
I can see active apps easy enough, but does that state simply mean a wake lock is present ??
A little info from a dev or two would be much appreciated.......g
Click to expand...
Click to collapse
Not sure there's an extra easy way... Nonetheless, check out BetterBatteryStats, if you haven't done so already? It does detect Kernel as well as partial Wakelocks. Here's a link that should help: http://forum.xda-developers.com/wiki/Wakelocks
Also, if I remember correctly, you can open your favorite terminal emulator and type:
Su
dumpsys power
Your TE should display any at this point, and if your TE has a zero in the last two lines, there shouldn't be anything you need to worry about.
As far as RAM goes, Android has managed it well since Froyo 2.2, so its not really a concern that's worth your time. Nevertheless, I still find myself manually shutting down apps that I don't want held in RAM with SystemPanel or Taskiller anyway, d'oh! It's a bad habit - OCD problem for me, lol.., due to many years with Windows Mobile. Bottom-line is that Android will end idle app - process tasks as needed without our help, lol... and I'm sure you know that too.
In regard to battery life, here with Saurom 7.1, the display, mobile data, cell use, and cell standby, as well as an add-on ProximityScreenOff Pro app, consume the vast majority of the battery juice. That said, if I set wifi to sleep when the display is off and shut down mobile data, the battery life and deep sleep % increases dramatically.
Hope this helps a little...
Best to all,
R
Wakelock detector app
gregsarg said:
Gents....
In the quest for battery life and RAM enhancements, and the fact that many applications use wake locks to keep themselves active in the RAM.....is there an easy method to identify which apps contain wake locks ?
I can see active apps easy enough, but does that state simply mean a wake lock is present ??
A little info from a dev or two would be much appreciated.......g
Click to expand...
Click to collapse
You can check "Wakelock Detector" app which is available in Google Play
It has a simple UI which shows detail list of acquired wakelocks per each application
and as you mentioned, it shows active running apps on the top, which might have wakelock present at the moment.

Killing apps with Clean Master?

The app Clean Master claims it can extend battery life and device performance by killing apps--even offering a button to kill all apps. I thought killing apps was unnecessary since Android does this automatically when RAM is full and that killing apps manually actually drains battery life. What's the deal? Is swiping an app away from the Recent Apps List the same as killing an app? I currently do this often because the list is usually packed.
Thanks.
Clean Master actually does increase performance of your device, especially and lower end ones that have 512mb of ram to work with. However, this also decreases battery life by very little. Android does kill task automatically however as you said it waits until the memory is full which leads to a lot of lag and sluggishness. Swiping an app from the recent apps I believe does kill it. Personally instead of swiping my ROM supports "hardware back to kill" in which I hold down my back button to kill the app. It seemed to do a much better job than swiping.
Sent from my YP-G1 using xda app-developers app
obscuresword said:
Clean Master actually does increase performance of your device, especially and lower end ones that have 512mb of ram to work with. However, this also decreases battery life by very little. Android does kill task automatically however as you said it waits until the memory is full which leads to a lot of lag and sluggishness. Swiping an app from the recent apps I believe does kill it. Personally instead of swiping my ROM supports "hardware back to kill" in which I hold down my back button to kill the app. It seemed to do a much better job than swiping.
Sent from my YP-G1 using xda app-developers app
Click to expand...
Click to collapse
So Clean Master does "decrease battery life by very little" and the claim that it saves battery life through killing apps is incorrect? This is at the expense of increased performance only if RAM is full, too. It seems that the term "killing apps" is very misleading even for Android users as it actually uses more battery life to kill the apps rather than leave them alone (because they use little to no resources in the background). If this is truly the case, then I guess I shouldn't worry too much about killing apps until my RAM is full and I experience lag. Still, I find it kind of surprising that such a highly rated and popular app claims one thing and does the other.
On a semi-unrelated note, is there some mod I can install on top of a ROM I'm using that lets me kill an app or display the Recent Apps List by long-pressing menu/back button? Or must I install a ROM that has this built-in feature?
Thanks.
mindstormer said:
So Clean Master does "decrease battery life by very little" and the claim that it saves battery life through killing apps is incorrect? This is at the expense of increased performance only if RAM is full, too. It seems that the term "killing apps" is very misleading even for Android users as it actually uses more battery life to kill the apps rather than leave them alone (because they use little to no resources in the background). If this is truly the case, then I guess I shouldn't worry too much about killing apps until my RAM is full and I experience lag. Still, I find it kind of surprising that such a highly rated and popular app claims one thing and does the other.
On a semi-unrelated note, is there some mod I can install on top of a ROM I'm using that lets me kill an app or display the Recent Apps List by long-pressing menu/back button? Or must I install a ROM that has this built-in feature?
Thanks.
Click to expand...
Click to collapse
Any task killing app such as auto memory manager, clean master, and so on decreases battery life, because it always using background resources. However, you most likely will never notice the difference in battery life lost since it is so negligible. I'm honestly not sure. I did a little bit of research and it usually pointed to that this function had to be in the framrwork of the rom. So my guess is you'd either have to modify the existing framework of a stock rom or just download a rom like Cyangonmod.

Hibernate and aggressive doze

I'm using CM13 and new to using Greenify as I just bought the donation package but have some questions that I'm not sure about.
1. I have instant messaging apps (Whatsapp and WeChat) and games on my phone, when I finish using the app, I press the home button and have them running in the background, does that uses more battery or do I need to add the apps to the hibernation list?
2. Should I use hibernate or shallow hibernation as I switched from iPhone to OnePlus 3 and on the iPhone when I reopen the app, it will return to where I left it.
3. I have enabled aggressive doze so that it will go to sleep mode when the screen is off, will I get delay Whatsapp and Wechat messages or do I need to add it to the whitelist so notifications comes instantly when I receive them?
Many thanks!
Lither said:
I'm using CM13 and new to using Greenify as I just bought the donation package but have some questions that I'm not sure about.
1. I have instant messaging apps (Whatsapp and WeChat) and games on my phone, when I finish using the app, I press the home button and have them running in the background, does that uses more battery or do I need to add the apps to the hibernation list?
2. Should I use hibernate or shallow hibernation as I switched from iPhone to OnePlus 3 and on the iPhone when I reopen the app, it will return to where I left it.
3. I have enabled aggressive doze so that it will go to sleep mode when the screen is off, will I get delay Whatsapp and Wechat messages or do I need to add it to the whitelist so notifications comes instantly when I receive them?
Many thanks!
Click to expand...
Click to collapse
1. Any app which is not greenified will run in the background once it is opened and then dismissed by the Home button. As far as the IM apps are concerned, the advice of the Dev is not to greenify them if you rely on them. However, some people have successfully greenified those IM apps which use GCM without issues but some others complain of delayed notifications. So it may be better not to greenify them if you rely on them. Of course they will consume more battery since they are running in the background.
2. If you want iPhone like behaviour, use shallow hibernation. Otherwise, the apps will start afresh.
3. It is better to add such apps to the white list.
i could be wrong.... but i noticed that most of the times aggressive doze does NOT exted the real battery life...... maybe it COULD extend it if you do not touch the phone for long periods like 2...4 hours at time, but if you make a normal usage of the phone i suspect that activating and deactivating doze is DRAINING more battery than it tries to save!!!
.........any other though?
realista87 said:
i could be wrong.... but i noticed that most of the times aggressive doze does NOT exted the real battery life...... maybe it COULD extend it if you do not touch the phone for long periods like 2...4 hours at time, but if you make a normal usage of the phone i suspect that activating and deactivating doze is DRAINING more battery than it tries to save!!!
.........any other though?
Click to expand...
Click to collapse
Similar observation on battery savings. In most cases any power related benefits of aggressive doze are wiped out when the device wakes from its comma and performs a bunch of 'catch up' tasks. Such behavior can lead to lag immediately after wake which is a common complaint associated with aggressive doze. That said, aggressive doze may have other situational benefits...especially over longer durations. As always YMMV.
yes, i think about a person who does pick up the phone just every 4...5 hour at day because it is not important (for him) to always check the latest messages, and in that condition it could be useful the aggressive doze.
i even noticed that to disable the movement sensors is NOT a great thing...... of course great if someone is in car or moving everytime but it has the CON of turning on/off the brightness sensor of the phone and at every display power on the phone lags for 1/2 seconds.
i must admit that in the last years i've always used aggressivedoze/ or naptime and greenified lots of apps but i should reconsider the fact to UNinstall all....... and see if the battery life is really worse or not.
realista87 said:
yes, i think about a person who does pick up the phone just every 4...5 hour at day because it is not important (for him) to always check the latest messages, and in that condition it could be useful the aggressive doze.
i even noticed that to disable the movement sensors is NOT a great thing...... of course great if someone is in car or moving everytime but it has the CON of turning on/off the brightness sensor of the phone and at every display power on the phone lags for 1/2 seconds.
i must admit that in the last years i've always used aggressivedoze/ or naptime and greenified lots of apps but i should reconsider the fact to UNinstall all....... and see if the battery life is really worse or not.
Click to expand...
Click to collapse
The sensor issue is device specific. I enable 'doze on the go' on all my devices and have yet to encounter the brightness glitch. However, I don't use the more aggressive sensor suppressions available in some apps. Note 'doze on the go' is enabled by default w/Android 7+.
After experimenting with countless apps/tools/techniques (ugh) my Android power management methodology has evolved to a 'lite touch' minimalist approach. I only take overt action when a specific drain can not be contained by other means. Greenify is the tool of choice with only a few bad actors in the explicit hibernation list. Android defaults handle everything else. My devices sleep soundly, behave predictably and score admirably low drain rates. App selection obviously plays into that. Big pigs like Facebook, Google everything and WhatsApp are not part of my portfolio as lighter alternatives exist. Good luck with your own adventures.

Samsung Note 8: how to tone down killing apps

Hi, Note 8 OneUI
out of apps I use 2 are mildly more memory intensive (Azur Lane and GotoBrowser) using perhaps hundreds of MB. I installed Simple system monitor with the floating RAM chart. Switching between the apps, free available RAM wouldn't drop below 1GB and yet during usage these apps both get frequently killed. Often just after switching from the app to chrome, viewing one page and then back already has it killed.
The first app reportedly runs well on 2GB while I have 6, so it should be plenty.
It seems temporarily better after restarting the device where the memory is really abundant.
I think it got much worse after the update to One UI.
Is there any way to tweak this?
Adaptive battery: off
Put unused apps to sleep: after 3 days (the above is a matter of minutes)
Sleeping apps - if I read this correctly this option is the opposite of what I want - want them to be able to remain in the background
Memory - apps that aren't checked: adding didn't help
Dev options - background process limit: standard
Don't know of any other possibly related options.
Thank you
NoxArt said:
Hi, Note 8 OneUI
out of apps I use 2 are mildly more memory intensive (Azur Lane and GotoBrowser) using perhaps hundreds of MB. I installed Simple system monitor with the floating RAM chart. Switching between the apps, free available RAM wouldn't drop below 1GB and yet during usage these apps both get frequently killed. Often just after switching from the app to chrome, viewing one page and then back already has it killed.
The first app reportedly runs well on 2GB while I have 6, so it should be plenty.
It seems temporarily better after restarting the device where the memory is really abundant.
I think it got much worse after the update to One UI.
Is there any way to tweak this?
Adaptive battery: off
Put unused apps to sleep: after 3 days (the above is a matter of minutes)
Sleeping apps - if I read this correctly this option is the opposite of what I want - want them to be able to remain in the background
Memory - apps that aren't checked: adding didn't help
Dev options - background process limit: standard
Don't know of any other possibly related options.
Thank you
Click to expand...
Click to collapse
Set your background process limit in Dev options to the highest number available or unlimited. I don't know if Samsung still has this option, but also look in your battery settings and disable "optimization" for the apps you're having trouble with. Just for clarification, "Optimization" is not the same thing as adaptive battery which I saw you that you already disabled. If it's not in battery settings, check settings > apps > and check the details for those apps and look for power, or battery in the list.
Thank you!
Battery optimization was disabled for them
I disabled putting unused apps to sleep altogether just in case
Changed background process limit to 4, which doesn't seem that much, but it's the highest number available
Will see how it'll behave now
Also - found exact numbers for memory usage:
AL: 120-430MB
GB: 5-270MB
That doesn't seem that much
And forgot to mention - running in High performance mode, not sure if it's relevant or not

Categories

Resources