Related
Hi folks,
I stumpled over the setting "reactivate system" which whatsApp holds on Huwei Devices. I am developing a chat app, which gets killed everytime screen goes off. I followed all instructions for the new doze mode in Marshmallow. This is the last option that I can imagine that causes my problem.
Does anybody know what I have to do, to make my app show this setting?
opiatefuchs said:
Hi folks,
I stumpled over the setting "reactivate system" which whatsApp holds on Huwei Devices. I am developing a chat app, which gets killed everytime screen goes off. I followed all instructions for the new doze mode in Marshmallow. This is the last option that I can imagine that causes my problem.
Does anybody know what I have to do, to make my app show this setting?
Click to expand...
Click to collapse
I think you should probably change the power saving mode from smart to performance.If this doesnt work go to apps then select your app then battery ( make sure you are not on charging) then slide on the keep running after screen off. worked for me sometimes. also try to allow all the permissions.
Huawei is messing with its customers badly, this is actually very bad considering they have become the third largest manufacturer after samsung and apple.
So ive been having this issue recently where the phone will turn off apps that i want to run in the background and i cant figure out a way to fix it. The biggest issue is with AdGuard. When im using it, the phone will randomly kill the background process and the vpn will turn off allowing all the adds to come pouring in. I've mentioned this issue on the oneplus forums and nobody there seems to know how to fix it. I'm considering moving to a custom rom once i find one that works well with my needs but first i want to make sure this isnt something that i can fix on the stock rom since i dont really need all the custom settings that come with custom roms. Im running the latest stable 9.0 pie/OOS.
Thanks for any help in advance
When you open the recent app tab press on the 3 dots right above the app. The press lock. That worked for me
did you set it to not optimize in battery settings?
under battery optimization. disable advanced optimization.
MrSteelX said:
under battery optimization. disable advanced optimization.
Click to expand...
Click to collapse
ive disabled all battery optimization options including adaptive battery.
whizeguy said:
did you set it to not optimize in battery settings?
Click to expand...
Click to collapse
yes ive gone into the specific adguard app and disabled battery optimization in that app
noppoer2 said:
When you open the recent app tab press on the 3 dots right above the app. The press lock. That worked for me
Click to expand...
Click to collapse
Ive enabled the lock and it still clears it and i have to reopen the app and re-enable the lock
Ive also set background process limit to be unlimited in the developer options. I cant think of anything else to do except maybe install adguard as a system app???? I've seen that this problem occured with the OP5 as well and people modified build.prop to increase the process limit, i've since found out that the option thats in the build.prop file is gone in the OP6 so i cant do that either. This is driving me crazy and i dont even know if its related to the os or the kernel.
Is it just me or this phone (or at least the CN RMX2071 roms) are super aggressive in closing apps? I know it's a general theme with "custom" (non aosp) based ROMs and most vendor UI takes, but it feels really really broken in these phones.
I have to keep the phone in "high performance" mode and even then i have to re-run some apps every other day (Nova launcher's google companion app) and even re-add widgets (Google Calendar) for them to continue to function, presumably because the power management system keeps shutting them down.
I have every single app to OFF in the App Freeze screen, every app is allowed to run in background (not the smart option, plain always-let-this-run option) and allowed to launch other apps (otherwise more things are broken) and it still feels like things are quirky due to how aggressive the power management is.
Am i missing something? are there more options that i missed? is it better in the EU/IN ROMs?
The eu rom fixes this problem
So a trade off of functionality vs latest security patches etc. Might be worth a try of switching over and at least trying it for a short little bit to determine.
Does anyone know if there's a differnce in behavior for Android Auto between CN and EU ROMs? (though i imagine its also related to power management at the least)
[DELETED]
I am on EU ROM here in the UK (A.28) and ever since I got this phone. It loves to close apps in the background. Facebook used 1400mah when it was just running in the background. Disabled it running in background, notifications work but now it only uses 234mah roughly. There system is messed up. Other apps that I like to use in the background include Google Clock and Skip Track Settings.
These I have a Tasker to launch both apps, with a little pause between launch. I have "Exclude from recent apps" enabled and then after they've launched. I get it to go home automatically. Then with my usage, I have this task running on boot, 5am (whilst I'm asleep) and on secondary app open. I don't notice it, other than when it boots and you just gotta let it run. My clock then works 100% of the time for my alarms and works all day.
One thing to note is, if you click "clear all" in recents, you have to run the task (I do this with the secondary app) to reopen the apps. Thankfyully, with Tasker with auto start-up enabled, it just works and is obviously in realme's don't close in background list.
Thankfully, with Android 11, a promising change to the rules for OEMs is that they can't have list of preferable apps and have to give all app developers an equal chance to running and not being killed. So hopefully, with Android 11, realme will have to stop this annoying practise.
Hope I've explained that well enough and you can use Tasker as a bootleg option
- Josh
Are you saying the power issues are still prevalent in the EU rom as well? If i got you right, You have some kind of a Tasker config to keep launching all the apps that the OS kills on various stages? Because i don't see how that would exclude them from being killed/blocked by the Realme UI service. Again, Unless there IS a difference in the EU rom.
In my case, I gave up on using Google Clock because the alarms never trigger and Android Auto is insanely hard to get running because it keeps killing SOME part of it or one of the apps im trying to use in Auto (Waze, Maps, Youtube Music, etc)
ransagy said:
Are you saying the power issues are still prevalent in the EU rom as well? If i got you right, You have some kind of a Tasker config to keep launching all the apps that the OS kills on various stages? Because i don't see how that would exclude them from being killed/blocked by the Realme UI service. Again, Unless there IS a difference in the EU rom.
In my case, I gave up on using Google Clock because the alarms never trigger and Android Auto is insanely hard to get running because it keeps killing SOME part of it or one of the apps im trying to use in Auto (Waze, Maps, Youtube Music, etc)
Click to expand...
Click to collapse
Yes, apps that realme likes to kill in the background. I have them opened by Tasker whilst I'm sleeping and on boot as realme doesn't close Tasker in the background and then the apps work fine all day. I don't notice it open them other than on boot as otherwise my phone is in standby.
Alarms never triggered for me as realme killed Google Clock, that's why now when it just opens in the background as I sleep it isn't killed.
I don't use my phone intensely and because Tasker opens them as apps, realme can't close them because they're still technically open, even though they don't show in recents. That's why when you clear all apps in recents, you need to then reopen them (that's what my secondary Tasker app does).
As for Android Auto, I haven't had any issue with it. When I use it, my car isn't technical so it uses the screen. I plug my phone in, turn the car engine on and phone begins to charge. Then with a bluetooth to FM adapter, my phone auto connects to bluetooth, and as soon as my phone connects, Android Auto automatically opens (as I have it enabled in Auto's settings) and I get it to play music automatically.
For someone using the actual plug in display to the car, I don't know. Android Auto came pre-installed and all I had to do was install the version for "phone screens".
If you need help with Tasker, my insta is below. Feel free to reply to this or message me on there.
Hope this helps
- Josh
It does help, Thanks!
ransagy said:
Are you saying the power issues are still prevalent in the EU rom as well? If i got you right, You have some kind of a Tasker config to keep launching all the apps that the OS kills on various stages? Because i don't see how that would exclude them from being killed/blocked by the Realme UI service. Again, Unless there IS a difference in the EU rom.
In my case, I gave up on using Google Clock because the alarms never trigger and Android Auto is insanely hard to get running because it keeps killing SOME part of it or one of the apps im trying to use in Auto (Waze, Maps, Youtube Music, etc)
Click to expand...
Click to collapse
Due to a similar issue I had in my corporate Outlook e-mail app, I searched for a solution for the error I got there like "Your organization has removed its data associated with this app" and I found an article from Microsoft proposing a resolution (url not include in this post because it is not allowed, however it is quite easy to find it).
I followed that resolution proposed and it worked for Google Clock app. The alarm finally rang this morning!
Basically, you should go to app list, choose Google Clock (or even any clock app) and configure it as follows:
-in "Power Saver", choose ""Run in Background"
-Set "Allow Notifications" to on
-Set "Auto Startup" to on
-Set "Allow other Apps or Services to Launch" to on
Hope it helps
Yeah, I pretty much did that to every single app on the phone (Besides "Auto Startup" where the OS only allows you 5 outside the whitelisted apps it knows like whatsapp, discord, etc) and i still had interminent issues here and there. Thanks for the heads up either way!
Wpbarreto said:
Due to a similar issue I had in my corporate Outlook e-mail app, I searched for a solution for the error I got there like "Your organization has removed its data associated with this app" and I found an article from Microsoft proposing a resolution (url not include in this post because it is not allowed, however it is quite easy to find it).
I followed that resolution proposed and it worked for Google Clock app. The alarm finally rang this morning!
Basically, you should go to app list, choose Google Clock (or even any clock app) and configure it as follows:
-in "Power Saver", choose ""Run in Background"
-Set "Allow Notifications" to on
-Set "Auto Startup" to on
-Set "Allow other Apps or Services to Launch" to on
Hope it helps
Click to expand...
Click to collapse
ransagy said:
Yeah, I pretty much did that to every single app on the phone (Besides "Auto Startup" where the OS only allows you 5 outside the whitelisted apps it knows like whatsapp, discord, etc) and i still had interminent issues here and there. Thanks for the heads up either way!
Click to expand...
Click to collapse
I also enabled all of these settings (other than last one, can't find it) and had some days it worked, some days it didn't. So for the sake of my actual work, I used my Tasker method and works 100% of the time. Ultimately, realme kinda screwed us over. Ultimately, Android 11 should fix this with it's new guidelines so let's just work around it in the mean time.
Yeah, I'm yet to try your Tasker method, i definitely will though, it's basically the last ditch effort here. I just finished switching to the EU rom as well.
ransagy said:
Yeah, I'm yet to try your Tasker method, i definitely will though, it's basically the last ditch effort here. I just finished switching to the EU rom as well.
Click to expand...
Click to collapse
ransagy said:
Yeah, I pretty much did that to every single app on the phone (Besides "Auto Startup" where the OS only allows you 5 outside the whitelisted apps it knows like whatsapp, discord, etc) and i still had interminent issues here and there. Thanks for the heads up either way!
Click to expand...
Click to collapse
On Startup Manager, for me on EU ROM A.30, and since I first got the phone. The limit on Startup Manager was and still is 20 not recommended startup apps. This is, in realme's words, "to ensure the hone will run smoothly", like bollocks. My old phone had 3GB of RAM and has the exact same apps and ran fine (other than only allowing 3 backgrounds apps to run before memory ran out). But with 8GB and SD865, it's just their way of saying, oh look we have this amount of screen on time. Judging by the list on A.30, the Google Clock is now recommended (I don't think it was before). Either way, realme is gonna get shunned with Android 11's new guidelines and it'll be a fair playing field.
Android Authority - Google Fighting Unfair Power Management Article (Just an interesting read):
www. androidauthority. com/ android-11-background-apps-1136794/
- Josh
Yeah, EU rom (A.20 as its the only one compatible with the chinese model right now) seems to have saner behavior, 20 startup apps instead of 5 and i don't think it has that "allow others to launch" option at all, so not blocking it even? We'll know soon. App Freeze doesn't seem to be automatically enabling on apps, either, also good.
Google Clock worked for me this morning (i duplicated the "system" clock alarms, just a couple mins later to be sure something triggers)
I'll check Android Auto today as well.
I AM always on High Performance mode though.
The thing is about Android 11's changes, that they seem to be worded a little on the easy side in the Google language - makes it seem to me that Google is just asking the vendors to be a little clearer on what they do when informing the users, not that they absolutely can't kill background apps. Here's hoping though.
ransagy said:
Yeah, EU rom (A.20 as its the only one compatible with the chinese model right now) seems to have saner behavior, 20 startup apps instead of 5 and i don't think it has that "allow others to launch" option at all, so not blocking it even? We'll know soon. App Freeze doesn't seem to be automatically enabling on apps, either, also good.
Google Clock worked for me this morning (i duplicated the "system" clock alarms, just a couple mins later to be sure something triggers)
I'll check Android Auto today as well.
I AM always on High Performance mode though.
The thing is about Android 11's changes, that they seem to be worded a little on the easy side in the Google language - makes it seem to me that Google is just asking the vendors to be a little clearer on what they do when informing the users, not that they absolutely can't kill background apps. Here's hoping though.
Click to expand...
Click to collapse
I keep my settings to standard and never do high performance stuff. I also use 60hz as although I love 90hz, I also love battery life and it isn't enough for me to justify the battery usage.
Yeah, I dropped down to normal and had no issues so far, without tasker of anything, just the EU A.20 ROM.
I am on 90Hz all the time though - As someone who is used to 144Hz monitors and gaming, i can sorely tell the difference between 60 and 90 and to me the battery life difference is somewhat negligible.
I haven't tried Android Auto, but we'll see soon enough. Android 11 also brings wireless Auto to everyone, so that might help there as well.
Hi all. In this Video the reviewer states that he isn't getting any notifications with the screen off. Also it is a problem for one of our members. Is anyone else having these hassles? Do you get incoming text, email AUDIO notifications without waking the phone?
Hi
I have no issue with notification at all..
Even when screen is off ..
U do have to active notification from each app setting and alow all permissins...
Also keep in maind to keep app running remove battery restriction from app setting also..
All will work normal
Working for me but I did need to grant WhatsApp and Trurcaller lots of permissions.
I even got True Edge installed for a visual way to get notified and that works brilliantly with the device asleep with screen off.
I was a bit surprised at the extra level of permissions needed. It's all gravy now, but I could see why a reviewer or somebody unaware would get caught out
But yes, I am getting notifications with the screen off in sound and visually, without having to wake the phone.
Indeed at first I wasn't getting any notifications but then I discovered you need to go into the app info and give permission for notifications and turn off battery saver.. now it works perfect and only for the apps I want
The video the OP posted is exactly whats happening to me. I have all the settings as described. Battery saver turned off and even when into each apps settings and allowed ALL permissions just to see if it would work. As the video says, notifications come, but you have to wake the device to see them, there is no sound or anything on screen until the device is woke. Exactly as the video describes. I do hope its fixed soon, I am back to using my Note 5 whilst my beautiful 10 Ultra sits in its box.
Burginthorn said:
The video the OP posted is exactly whats happening to me. I have all the settings as described. Battery saver turned off and even when into each apps settings and allowed ALL permissions just to see if it would work. As the video says, notifications come, but you have to wake the device to see them, there is no sound or anything on screen until the device is woke. Exactly as the video describes. I do hope its fixed soon, I am back to using my Note 5 whilst my beautiful 10 Ultra sits in its box.
Click to expand...
Click to collapse
Have you undone your earlier modifications to the phone (copying files from phone to phone etc)?
You have two problems and the one to ignore for now is louder notifications. It's notifications at all.
It isn't something to fix from Xiaomi's view and it is always worth learning the software. I don't like it myself... It can be cloying etc.
But the default behaviour is to opt in to notifications. It's working as intended. That said look where we are, it's just your problems are a special case. No biggie, let's fix this!
You have an outstanding issue clouding this where you are trying to use unexplained files on the device (like seriously what format are they? Does it work in Music or anything? Have you tried removing them?)
Took a while but I get all my notifications now when screen is off, see 2vattached screen shots
Thanks all for answering my question! I think this is my last question before buying from Liaow.com, if the syncing isn't a constant problem. Does anyone have a major syncing problem as explained in this review? Once or twice a day I can deal with. I check the calendar throughout the day like most people. However if I get busy and forget, missing calendar events/alarms wouldn't work for me. I'd be forced to use my work iPhone<shudder> for calendar events lol.
Sathelp said:
Took a while but I get all my notifications now when screen is off, see 2vattached screen shots
Click to expand...
Click to collapse
How did you get the icons to show on the lock screen?
Mine doesn't. Quite annoying.
Also sometimes the lockscreen doesn't show me notifications even tho they are there.. :s
I have no issues with icons displaying while locked. You do need to enable them and ensure they start automatically and power control is turned off for the app. It has been much easier in the EU ROM for some reason.
Solution!
Here is the thing that helped me with the same notification issue! Just google "xiaomi mi 10 ultra notifications" and in the top 5 links you'll probably find an article from: theunpopulartraveller. It explains the settings, and they need to be accessed by pressing and holding the app icon ^ app info.
Don't give up, try and you'll get the sounds from needed apps back. And ye, actually now I find the way Xiaomi did it much more convenient: I just turned on notifications for 2 apps, and all the rest are silent, while previously I had to turn off all the rest of the apps (much more than 2, definitely) not to get disturbed by all the bull****.
EU Rom doesn't have the "importance" option at 30/31
Well after trying to update to 12.1.1 and seeing what a buggy heap of junk it was, I factory reset, installed 12.0.15, and formatted data. But now notifications don't work when the screen is off whatsoever, absolutely no notifications. Beautiful. I'm so sick of the software issues with this phone, I'm definitely never buying another Xiaomi phone at this point.
AerationCheese said:
Well after trying to update to 12.1.1 and seeing what a buggy heap of junk it was, I factory reset, installed 12.0.15, and formatted data. But now notifications don't work when the screen is off whatsoever, absolutely no notifications. Beautiful. I'm so sick of the software issues with this phone, I'm definitely never buying another Xiaomi phone at this point.
Click to expand...
Click to collapse
Disable adaptive notifications from setting. I dont know what google thinking when creating such feature.
it basically interrupt the whole notification process. Using so called Ai to decide, when to give you notifications or when not to. But most of the time it pick wrong decision and delay our notification altogether.
This is android feature since Q thus also causing problem on Pixel phone. On xiaomi seems like it suddenly got worse on Android 11
AerationCheese said:
Well after trying to update to 12.1.1 and seeing what a buggy heap of junk it was, I factory reset, installed 12.0.15, and formatted data. But now notifications don't work when the screen is off whatsoever, absolutely no notifications. Beautiful. I'm so sick of the software issues with this phone, I'm definitely never buying another Xiaomi phone at this point.
Click to expand...
Click to collapse
How did u manage to roll back to 12.0.15?
Get over to the EU ROM version. Lock screen notifications work fine.
Have you checked each notification that it has no battery optimisation set, also, check in notifications that each one has access to the lock screen. Since A11, notifications have been a pain but for some reason they do work much better on the EU ROM.
Sathelp said:
Get over to the EU ROM version. Lock screen notifications work fine.
Have you checked each notification that it has no battery optimisation set, also, check in notifications that each one has access to the lock screen. Since A11, notifications have been a pain but for some reason they do work much better on the EU ROM.
Click to expand...
Click to collapse
There are issues for Gpay and some banking / local safetynet apps for EU ROM which i do not wish to live with.
Somehow the props file in the eu rom causes those issues.
i am probably going to rollback to 12.0.15... now is the excruciating 160 hours wait for unlock.
You obviously don't follow the EU forums. GPay works, safeynet works and my UK bank works. But you also get everything plus more than the Chinese stock and all updates are based on both weekly and stable stock ROMs respectively.
Sathelp said:
You obviously don't follow the EU forums. GPay works, safeynet works and my UK bank works. But you also get everything plus more than the Chinese stock and all updates are based on both weekly and stable stock ROMs respectively.
Click to expand...
Click to collapse
i don't follow it to the tee, but i've seen some reports of some users not able to use gpay out of the stable roms.
that's why.. too much trouble.. i'll see what i can do when the unlock timer is up..
So I turned off Miui Optimization because I wanted the always on display to always been on (apparently if you disabled Miui Optimization, it wouldn't turn off after 10 seconds). It worked, but I lost some things like the haptic vibration or the Gaussian blur of the interface. I need help, I enabled Miui Optimization again but it didn't fix it (I restarted my cellphone more than 5 times). I don't know what to do and I'm not able to find a solution.
Disable battery saver then restart the phone
Michael P. said:
Disable battery saver then restart the phone
Click to expand...
Click to collapse
Y completely did. Trust me, I did everything; I also check for similar bugs on YouTube and it didn't work. Suddenly I just woke up and it started working again... I'm not understanding, but we'll. Anyways, thanks!
Karlosx2Z said:
So I turned off Miui Optimization because I wanted the always on display to always been on (apparently if you disabled Miui Optimization, it wouldn't turn off after 10 seconds). It worked, but I lost some things like the haptic vibration or the Gaussian blur of the interface. I need help, I enabled Miui Optimization again but it didn't fix it (I restarted my cellphone more than 5 times). I don't know what to do and I'm not able to find a solution.
Click to expand...
Click to collapse
Did you able to find the solution for this issue? I got this issue two times and everytime I had to reset. Funny thing is that there was also a dark mode glitch as well. Although, everything gets normal while charging the phone... Seriously, MIUI is annoying as hell.
Darkstaranku said:
Did you able to find the solution for this issue? I got this issue two times and everytime I had to reset. Funny thing is that there was also a dark mode glitch as well. Although, everything gets normal while charging the phone... Seriously, MIUI is annoying as hell.
Click to expand...
Click to collapse
Yeah, I was able to find a solution for it. I suffered the same thing you have, phone was back to normal when I plugged the cable to charge it. I installed an app called "Hidden Settings (if you search it on the play store as "Hidden Settings Miui" it'll appear on there). Open the app and go to "hidden" at the bottom of the interface, then search for the battery options and its gonna be one of those 4 options.
In my case, the problem was with the second battery option. It was enabled and I had to disable it, then it started working like nothing happened.
I hope you can fix it, if you need help just answer this saying it.
Karlosx2Z said:
Yeah, I was able to find a solution for it. I suffered the same thing you have, phone was back to normal when I plugged the cable to charge it. I installed an app called "Hidden Settings (if you search it on the play store as "Hidden Settings Miui" it'll appear on there). Open the app and go to "hidden" at the bottom of the interface, then search for the battery options and its gonna be one of those 4 options.
In my case, the problem was with the second battery option. It was enabled and I had to disable it, then it started working like nothing happened.
I hope you can fix it, if you need help just answer this saying it.
Click to expand...
Click to collapse
Thank you so much for replying and your help buddy. I had to reset everytime because of that bug and eventually decided not to turn off MIUI optimizations. BTW Did it work while MIUI optimization was off?
Darkstaranku said:
Thank you so much for replying and your help buddy. I had to reset everytime because of that bug and eventually decided not to turn off MIUI optimizations. BTW Did it work while MIUI optimization was off?
Click to expand...
Click to collapse
tbh I didn't try it with the Miui optimization off, but I think that if you disable the battery optimizations I told you before; it should work fine even with Miui optimization turned off. You can try it, you do know how to fix those "bugs" if they happen again so you'll not lose anything.