Excessive doze and Whatsapp problems - Xiaomi Redmi Note 7 Questions & Answers

Hi everyone, I really hope that some of you know how to give me some info about it. I am currently using the Lineageos Pie ROM, with Magisk attached, and all without any particular problems and using both Naptime and Servicely for the Doze service. The only problem I have is with Whatsapp notifications. I don't care about the others. ROM is obviously perfectly optimized, so the app is also optimized in the "optimization" section. So I removed the flag up and left the app without optimization, because of this app I want notifications to arrive.
I removed the battery limitations, so the app can act in the background too. On Servicely is obviously the only social app to have permissions from awakening, and despite everything, the Doze affects all the apps without distinction, including Whatsapp. Now, you know, is there any .prop string, or can you give me some suggestions? I really kindly ask you for a hand. Thanks for reading.

You can tune / turn off any battery saving level for every app.
1) Just open the app,
2) after that open app drawer (app switcher)
3) hold your finger on Whatsapp application in. Then click on settings (third icon i think)
4) click battery saver / miui optimalizations
5) select None / turn off battery saver

matrixhaj said:
You can tune / turn off any battery saving level for every app.
1) Just open the app,
2) after that open app drawer (app switcher)
3) hold your finger on Whatsapp application in. Then click on settings (third icon i think)
4) click battery saver / miui optimalizations
5) select None / turn off battery saver
Click to expand...
Click to collapse
thanks for the matrix answer, as I wrote I am already using a custom ROM and no longer MIUI; anyway I had already removed battery saver, but despite this, Whatsapp continues to be afflicted by Doze. I can not understand.

YouKnowAirborne said:
I can not understand.
Click to expand...
Click to collapse
Not only you... Whatsapp Battery Drain/Consumption since the last few updates is just "yack"...
Sending the App into the Background limits notifications in a random manner etc...

LionHeart90 said:
thanks for the matrix answer, as I wrote I am already using a custom ROM and no longer MIUI; anyway I had already removed battery saver, but despite this, Whatsapp continues to be afflicted by Doze. I can not understand.
Click to expand...
Click to collapse
did you restore WhatsApp from a backup (Titanium Backup)? if so, uninstall and reinstall from playstore, it happened to me that I did that and MIUI keeps closing it, till I reinstalled from Playstore and now it stay active

Related

[GUIDE]Moto G (2nd Gen) - Ultimate Battery Saving & Performance Tips

Hey guys,
Now that most of you guys have probably flashed-up Lollipop on your Moto G (2nd Gen)s, I have taken the liberty to put together a guide to increase your Battery Life and Performance of your Devices.
As of now, this guide is NON-ROOT based. (Rooting is still unstable, Bootloops : Yuck!). And, I'm a big fan of the KISS (Keep It Simple Stupid) concept so thats how this is gonna go:
BASICS:
1. Use the Toggles!
Now that Lollipop has provided even easier access to a wide variety of Toggles, its only fair that we use them. So toggle off whenever you're not using WiFi, Bluetooth, Location etc..
Swipe Down with 2 fingers and see for yourself!
2. Mobile Data
Again.. Use the toggle in the Notification Centre to toggle on and toggle off when not in use.
Use 2G instead of 3G if you're only IM-ing (WhatsApp,Hike,Hangouts etc..). To switch the Cellular Data type, Tap and hold the Data toggle in NC to open the Cellular Network page, on the top right corner, tap the 3 dots and select Mobile Networks. Here use the Preferred Network Type to switch between 3G and 2G.
3. Battery Saver
Believe it or not, Battery Saver is not just a name-sake feature anymore like in KitKat, It actually works this time in Lollipop. Keep the Auto-Enable for Battery Saver ON at 15%.
You can access the Battery Saver by using the 2 finger swipe down from top, tap and hold the Battery Percent in the NC to open the Battery Settings page. Now tap the 3 dots and select Battery Saver.
When going on a trip or drive, turn on the Battery Saver while Driving (Unless you're expecting some notifications) and disable them when you reach your destination. Its so easy to disable as it displays a persistant notification in the NC and the Lockscreen when it is active. Just swipe down on the Notification and tap on Turn Off Battery Saver to disable it.
4. Use WiFi whenever possible
Wifi uses less battery power than 3G.
A power consumption chart in Decreasing order of Battery Consumption is:
3G>2G>Wifi
So choose wisely.
5. Auto-Brightness - DO NOT USE!!
Screen brightness is always one of the biggest battery drains on your device. And although auto brightness sounds like a saviour, IT IS NOT! It uses more processing power to keep track of the ambient lighting to auto adjust the brightness which defeats the overall purpose.
6. Disabling Apps
Apps can run in the background without you even knowing, hogging up memory and battery. Disabling the ones you dont need can help big time.
Go to Settings> Apps and slide all the way to the left to the All category, select the unwanted app and hit Disable. You can re-enable these apps anytime also. My suggestions would be to disable the Moto apps - Assist, Migrate, and Help, and also any of the Google apps you dont use such as Magazines, Newsstand, Movies, etc.
PRO-TIP: If you're willing to endure the 10 minute boot after rooting for once, then root your device using the latest SuperSU, Install any Root App Uninstaller and Uninstall the Un-Neccesary apps. You can then do a Full UnRoot from the SuperSU app and reboot. Voila.. Back to Normal and no more unnecessary app (I dont like to call Moto Apps as BloatWare cause these apps actually provide some usable functionality!)
7. Customizing with Efficiency in Mind
Use launchers like Google Launcher, Nova, Apex and GEL. These launchers are light weight and do not use much processing power.
Heavier launchers such as Go Launcher, Themer, Next Launcher 3D use a lot more RAM and can slow down your phone + drain battery.
8. Google Now
Nothing much to say here... If you dont use it, TURN IT OFF!!
9. Google Sync
Check your sync settings to make sure you're not syncing stuff you dont need. Go to settings>Accounts and tap Google, then tap your account name. Uncheck any of the services you dont use, for example Books, or Photos, or Google+. Do the same for anything else in you Accounts section.
10. Location
Again, turn On when in use and turn Off when not in Use. Use the toggle in NC!! Go to Settings>Location>Mode and make sure its on Battery Saving if you're insistent on keeping it ON.
Turn off Location Reporting in Facebook AND Facebook Messenger. In fact if you don't absolutely need it, delete the Facebook Messenger app altogether. The Facebook app will still give you your message notifications just fine without it.
11. RAM cleaner/ Booster Apps
These DO NOT WORK! They clean the RAM and drink it up again. And if they have those floating buttons, they are Worse!!
So thats most of it.. I'll keep updating this post with ROOT-based tips once a Stable Root is available for Lollipop.
Shoot back with comments and suggestions (and Criticism as well!)
Cheers
Krishna Sagar
Use Greenify to force stop unwanted apps.
ksuuk said:
Use Greenify to force stop unwanted apps.
Click to expand...
Click to collapse
Eventhough Greenify works without root....
I was going to add that but then held back as the true potential of greenify could be better achieved with root. I'll surely add this when I update this guide with Root based methods.
Bro are you using titan rom(5.0.2) or are you on 5.0.1
Also the reason I'm on kitkat is xposed
and lastly can you change the dpi manually(I'm loving 240) and reduce the minimum brightness to 1 instead of 10(I read manga before I go to sleep)
Edit: happy new year bro
m666p said:
Bro are you using titan rom(5.0.2) or are you on 5.0.1
Also the reason I'm on kitkat is xposed
and lastly can you change the dpi manually(I'm loving 240) and reduce the minimum brightness to 1 instead of 10(I read manga before I go to sleep)
Edit: happy new year bro
Click to expand...
Click to collapse
I checked out the Titan Prime 1.2 but now am on 5.0.1. I'm waiting for a more stable and feature rich version of the Titan Prime.
Motorolla says 3g consumes less power you say 3g consumes more power, who is right?
By the way thank you, this point was also in my mind regarding auto brightness I was already against the point of auto brightness, because I really don't like high brightness so I've set it on a constant percentage.
Tani2 said:
Motorolla says 3g consumes less power you say 3g consumes more power, who is right?
By the way thank you, this point was also in my mind regarding auto brightness I was already against the point of auto brightness, because I really don't like high brightness so I've set it on a constant percentage.
Click to expand...
Click to collapse
Like he said 3g>2g>wifi do your test charge your phone to 100% and use 3g see how much screen on time you get to 98% then do it with wifi :thumbup:
Sent from my XT1063 using XDA Free mobile app
Just my 2 cents : Google Now Launcher drains a lot of battery irrespective of the fact Google Now is installed/disabled

Problems with alarms/timers and aggressive doze

I'm stock rooted with kylo kernel. I have been having problems with aggressive doze in greenify and nap time where my timers don't go off on time. I have tried white listing the clock app but I'm still having issues. Is there an additional service I need to whitelist in addition to the clock?
Did you whitelist the clock app in Greenify only? What I mean is, did you go to the battery and select "don't optimize" for the clock? I was having that problem too, but after I did that, my timers and alarms work fine. I also ended up removing Greenify for now, and I feel my battery life is a bit better. I'm using naptime only, and I may experiment more with these apps to see if I really need them anymore. I'm on stock rooted with Ex kernel.
Greenify is no longer needed since Android 6.0.1 is great the way it is. I stopped using Greenify and still have a great battery life.
I whitelisted through the battery option in phone settings. If you try and whitelist thru greenify it takes you to the same place
acts4:12 said:
I'm stock rooted with kylo kernel. I have been having problems with aggressive doze in greenify and nap time where my timers don't go off on time. I have tried white listing the clock app but I'm still having issues. Is there an additional service I need to whitelist in addition to the clock?
Click to expand...
Click to collapse
I was having these issues as well. I had been using Alarm Clock Plus. I found that there was a new version called Alarm Clock Plus Sleep that deals with the new Doze features in 6.0. It seems like many apps have not been re-written to deal with it properly.

Emmersive/Fullscreen Mode

Greetings, I have tried a couple of apps to try to get emmersive/fullscreen mode with no root required on a Q6 (not much activity in the threads over there and the G6 is "similar"). One app is GMD Emmersive and the other is Emmersive Full-Screen (EFS). I have GMD on another phone (w Oreo 8.1) and it works with the apps that I really want it to work (Google/Chrome). However, GMD and EFS only partially work on the Q6, meaning they will work fully with some apps, but only partially with some, i.e., in Google/Chrome only the top will be emmersed, while the bottom will hide the soft key bar but it replaces it with a black bar, instead of "emmersing" that area as well.
So, is there an app that will also emmerse the bottom of Google/Chrome? If so what are you all using (again not rooting please).
Thanks
*Immersive"
El MeroMero said:
Greetings, I have tried a couple of apps to try to get emmersive/fullscreen mode with no root required on a Q6 (not much activity in the threads over there and the G6 is "similar"). One app is GMD Emmersive and the other is Emmersive Full-Screen (EFS). I have GMD on another phone (w Oreo 8.1) and it works with the apps that I really want it to work (Google/Chrome). However, GMD and EFS only partially work on the Q6, meaning they will work fully with some apps, but only partially with some, i.e., in Google/Chrome only the top will be emmersed, while the bottom will hide the soft key bar but it replaces it with a black bar, instead of "emmersing" that area as well.
So, is there an app that will also emmerse the bottom of Google/Chrome? If so what are you all using (again not rooting please).
Thanks
Click to expand...
Click to collapse
I'm using System UI Tuner app to get Immersive Mode. Working flawlessly so far on my G6. The Chrome full screen issue can be solved by Installing Chrome Beta and disable Chrome to avoid confusion.
what about battery drain? Do you exclude apps that can't do 18:9? I've heard that using immersive causes massive battery drain with the G6. Especially when you use it in combination with apps that can't do full screen? But I don't fully understand the issue yet (only got the phone a month ago).
clouds5 said:
what about battery drain? Do you exclude apps that can't do 18:9? I've heard that using immersive causes massive battery drain with the G6. Especially when you use it in combination with apps that can't do full screen? But I don't fully understand the issue yet (only got the phone a month ago).
Click to expand...
Click to collapse
I did a lot of research about that, I found this and I can confirm that really works:
https://www.reddit.com/r/lgg6/comments/72u9be/rootless_nonbatterydraining_immersive_mode_via/
Using tasker, you can set when the immersive mode works if the screen is on/off (screen off avoid the battery drain), so simple haha.
clouds5 said:
what about battery drain? Do you exclude apps that can't do 18:9? I've heard that using immersive causes massive battery drain with the G6. Especially when you use it in combination with apps that can't do full screen? But I don't fully understand the issue yet (only got the phone a month ago).
Click to expand...
Click to collapse
Using Tasker and all is cumbersome process. The app mentioned in my previous post didn't cause any battery drain for me. The app just works smoothly because it enables the options which are supposed to be provided thru System UI Tuner
SVR said:
Using Tasker and all is cumbersome process. The app mentioned in my previous post didn't cause any battery drain for me. The app just works smoothly because it enables the options which are supposed to be provided thru System UI Tuner
Click to expand...
Click to collapse
So what you're saying is it doesn't matter which apps are using immersive when you enable it through System UI Tuner?
On my last phone (Huawei P9) I used an app called "TileRoot" to enable immersive mode (gives you a notification quick settings toggle). I started out on the G6 using the same app, which is not app-selective. It just enables it for every app systemwide.
And my battery life was very bad, not even getting through a day. I then learned about the issues with immersive and uninstalled TileRoot, just using regular Navbar at the moment and my battery life almost doubled. I go to sleep with over 50% now... Maybe I'll give system UI tuner a chance. Or I just wait for Oreo which has a built in option right?
My battery life is so good right now I kinda don't wanna change anything
clouds5 said:
So what you're saying is it doesn't matter which apps are using immersive when you enable it through System UI Tuner?
On my last phone (Huawei P9) I used an app called "TileRoot" to enable immersive mode (gives you a notification quick settings toggle). I started out on the G6 using the same app, which is not app-selective. It just enables it for every app systemwide.
And my battery life was very bad, not even getting through a day. I then learned about the issues with immersive and uninstalled TileRoot, just using regular Navbar at the moment and my battery life almost doubled. I go to sleep with over 50% now... Maybe I'll give system UI tuner a chance. Or I just wait for Oreo which has a built in option right?
My battery life is so good right now I kinda don't wanna change anything
Click to expand...
Click to collapse
I couldn't get System UI Tuner installed. I hooked up my phone to the computer (my phone was already in developer mode "7 clicks to Kernel"), installed ADB pack and opened a command window from the ADB directory (Windows), typed "adb devices" then nothing, it just went back to the ADB directory in the command window.
You need drivers
SVR said:
The app mentioned in my previous post didn't cause any battery drain for me. it enables the options which are supposed to be provided thru System UI Tuner
Click to expand...
Click to collapse
Could you maybe write how you set up the App? Did you blacklist/whitelist anything? Full immersive or just navbar? Things like that...
thx! (Installation is not an issue, I have root anyway)
siggey said:
You need drivers
Click to expand...
Click to collapse
Windows initially installed some drivers when I hooked up the phone by USB. I also installed all LG drivers from the website, the "LG Universal Mobile Drivers" and the "LG Bridge for Windows".
Tried yesterday on a clean windows installation.
Install lg universal drivers
Plug in the phone (quality cable on a mb usb)
Install minimal adb
Adb devices
Autorize adb on phone screen
Adb devices
And it works.
If you still have problem try to uninstall everything phone related from pc restart and retry.
clouds5 said:
Could you maybe write how you set up the App? Did you blacklist/whitelist anything? Full immersive or just navbar? Things like that...
thx! (Installation is not an issue, I have root anyway)
Click to expand...
Click to collapse
I enabled full immersive throughout. Only app which i blacklisted is Whatsapp as the emoji option remain blank when Whatsapp is in full immersive. Otherthan this i increase the number of SmallQuickTiles from 5 to 11.

Battery manager stuff ?

Hello everyone !
I just bought a Redmi Note 7. This morning my alarm didn't ring for some reason. I use the Google Clock. Also I can't make "OK Google" working when my screen is off. Some notifications take time to be showed. Etc.
Is the battery manager thing responsible of all those "bugs" ? Is that a weird "Greenify" ?
Since I didn't unlock the device and install a real Android ROM, any of you have a solution for alarm so my boss don't kill me tomorrow ?
Thanks for your help guys.
Settings > manage apps > clock (or any other app) > battery saver > no restrictions.
Also enable autostart in the same settings menue.
And avoid stuff like naptime, if you are not experienced with such things.
Hi there. It's probably a MIUI battery saver thing. So for all of your mission critical apps whose notifications you want to receive instantly, do this:
1) Go to app settings for the app in question
2) Toggle on Auto start
3) Turn on all notifications that you want to receive
4) Set the battery saving setting to no restrictions.
If you notice that an app still gets closed in the background for some reason, add another step:
5) Open the app and then open the Recent apps screen. Tap and hold the preview image of the app in question. Tap the first icon (lock app). This will lock it in memory and only you will be able to manually swipe it off and clear it from memory. Tapping the Close All button in Recents will not close the locked apps.
After I had done this with the apps that I wanted real time notifications from (or battery tracking apps that I wanted always running in the background), I've never had any issues with late or missed notifications.
I don't use 'OK Google' to wake the phone. I'm not sure if this is possible with all newer phones or only with specific SoCs.
Thanks for your answers. That was that battery saver options. Have a nice weekend.

Unreliable Notifications

For the last few months I've been missing a lot of notifications on my S8 that previously worked flawlessly, both before and after I updated to Pie back in January.
Some apps like discord, Messenger and Snapchat need to be opened to check for new messages. If they aren't, a message notification can take anywhere between 10 minutes to a couple of hours to come through.
For each app I'm getting this problem with I've made sure that I've done the following:
- set the app to be not optimised in battery settings
- set the app to be allowed to run in the background in battery settings
- set the app to not be checked in memory in device care
- verified that no power saving mode is on
I've also done a complete factory reset of my phone and that didn't solve the issue.
I've noticed that in my battery usage monitor the apps I'm having problems with have no background usage at all. I have no problems with WhatsApp and it has hours of background usage each day but discord has 0m of background usage.
This leads me to believe the S8 is killing the app in the background. When I'm actively using the app (it's open or has only been in the background for a minute) it seems to work fine. But after a little while I'll stop getting notifications and when I open the app from my recents screen I see the splash screen as though I'm opening it for the first time and then after a few seconds I get the notifications from the last few hours.
I haven't been able to find any other settings that could be killing an app in the background that is both not battery optimised and not memory checked.
Any other people with this issue or know of a solution?

Categories

Resources