Tasks and background processes automatically killed - Xiaomi Poco F2 Pro (Redmi K30 Pro) Questions & Ans

Hello,
I am using Poco F2 Pro with official global rom 12.0.3. I am facing the following issue:
I have some apps with background processes but the background processes are automatically killed after some time. For example the tool 'Screenshot Touch' needs to run in the background so that I can select it in the menu to make screenshots. But it is killed after some hours.
In the battery optimization, I have already excluded this app. Also, I have disabled the 'MIUI Optimization' in the developer options.
Any idea how to solve this?
Thank you and best regards

same problem with miband tool...

Fangstergangsta said:
same problem with miband tool...
Click to expand...
Click to collapse
Try to make this tweaks
1.In settings go to apps-find the app what you want and click on it-at battery saver select no restrictions -turn on autostart option
2.press the button to enter in recent apps- find your app-long tap on that app and press the lock
Personally i use this for notify for miband

H2ckerNorg said:
Try to make this tweaks
1.In settings go to apps-find the app what you want and click on it-at battery saver select no restrictions -turn on autostart option
2.press the button to enter in recent apps- find your app-long tap on that app and press the lock
Personally i use this for notify for miband
Click to expand...
Click to collapse
Yeah, for now just lock all apps that you use often, that works most of the time until you open GCam or the stock cam then it goes to sh*t again, I hope they fix this soon.

digiphotos said:
Hello,
I am using Poco F2 Pro with official global rom 12.0.3. I am facing the following issue:
I have some apps with background processes but the background processes are automatically killed after some time. For example the tool 'Screenshot Touch' needs to run in the background so that I can select it in the menu to make screenshots. But it is killed after some hours.
In the battery optimization, I have already excluded this app. Also, I have disabled the 'MIUI Optimization' in the developer options.
Any idea how to solve this?
Thank you and best regards
Click to expand...
Click to collapse
first disable battery optimization for the app, then long click your app, go to app info and allow automatic restart.

ozkaya said:
first disable battery optimization for the app, then long click your app, go to app info and allow automatic restart.
Click to expand...
Click to collapse
Battery optimization is disabled. But I did not find the option allow automatic restart.
But what seemed to have worked is to lock the app
Thanks

digiphotos said:
Battery optimization is disabled. But I did not find the option allow automatic restart.
But what seemed to have worked is to lock the app
Thanks
Click to expand...
Click to collapse
even locking isn't enough sometimes, automatic restart(I don't use English ROM) or automatic start is what you need, it is there in app info page.

i will try!

Related

Possible Solution For Notifications

I think that the notifications that don't appear when screen off is caused by the restricted background data that lenovo has pre-checked. Just untick the option ​shown in the picture to allow background data for the application you want. Tell me if this will work for you
chtsarts said:
I think that the notifications that don't appear when screen off is caused by the restricted background data that lenovo has pre-checked. Just untick the option ​shown in the picture to allow background data for the application you want. Tell me if this will work for you
Click to expand...
Click to collapse
Doesn't seem to work for me for Messenger. Still only receive notifications when i open the app. :crying:
benneb2 said:
Doesn't seem to work for me for Messenger. Still only receive notifications when i open the app. :crying:
Click to expand...
Click to collapse
Also turn off battery optimization for this app.
Settings->power management->battery optimization and then choose all apps instead of not optimized, find the app you want and disable battery optimization
chtsarts said:
Also turn off battery optimization for this app.
Settings->power management->battery optimization and then choose all apps instead of not optimized, find the app you want and disable battery optimization
Click to expand...
Click to collapse
I have done this also :crying:. Upon re-opening Messenger while on data, it shows 'Waiting for Network' then 'Connected' and all the notifications come through. Ive also tried disabling Doze to no avail. Notifications work fine when on Wifi so not sure what the problem is, looks like a software design problem made by Lenovo. I might try Lineage in the future.
I find that when I return home and phone gets WiFi while pulling in drive I suddenly get Gmail notifications so seems mine is same.
The only way to fix notifications I've found that actually works is to disable doze via adb shell.
Sadly this fix needs to be reapplied every time you restart the phone making it a bandaid for a gunshot wound.
It feels like the OnePlus 3 all over again...
Install this app...
This app should work very well...
https://play.google.com/store/apps/details?id=de.geroo.disabledoze
Try this.
chtsarts said:
I think that the notifications that don't appear when screen off is caused by the restricted background data that lenovo has pre-checked. Just untick the option ​shown in the picture to allow background data for the application you want. Tell me if this will work for you
Click to expand...
Click to collapse
You have to close the lock, see image in the link below.
http://imgur.com/Gc4IBIj

whatsapp issue on Mate9

I have a Mate9 where the whatsapp was fully functional since installation, but suddenly last two days the apps (whatsapp) stopped notifying about new received messages until I open it. So now I am obliged to check my whatsapp every 30 minutes by opening and checking for pending messages.
any help?
MHA-AL00C00B225
EMUI version 5.0
Android version 7.0
Regards
George Nassif
its known issue with notifications in the chinese mate 9 hopefully Andorid O will fix it
I just studied this issue several days ago. Here are some advice for you.
1. Settings - Apps - WhatsApp - Battery
Make sure the option 'App auto-lanuch' enabled and the 'Close after screen locked' disabled.
2. Settings - Apps - WhatsApp - Notifications
Make sure all options enabled.
James_Watson said:
I just studied this issue several days ago. Here are some advice for you.
1. Settings - Apps - WhatsApp - Battery
Make sure the option 'App auto-lanuch' enabled and the 'Close after screen locked' disabled.
2. Settings - Apps - WhatsApp - Notifications
Make sure all options enabled.
Click to expand...
Click to collapse
Working, thanks
Trying James recommendation
James_Watson said:
I just studied this issue several days ago. Here are some advice for you.
1. Settings - Apps - WhatsApp - Battery
Make sure the option 'App auto-lanuch' enabled and the 'Close after screen locked' disabled.
2. Settings - Apps - WhatsApp - Notifications
Make sure all options enabled.
Click to expand...
Click to collapse
I checked and found the option 'App-Auto-Launch' option disabled which I have enabled. that could be the reason. I will test for few days and feedback. much thanks for the great support.
geonass said:
I checked and found the option 'App-Auto-Launch' option disabled which I have enabled. that could be the reason. I will test for few days and feedback. much thanks for the great support.
Click to expand...
Click to collapse
You are welcome.
As we are not sure why and when the option 'App-Auto-Launch' on your phone was disabled automatically, you can also try to give the app full access to all permissions.
Settings - Apps - WhatsApp - Permissions - Set individual permissions, enable option 'Trust this app'.
Any result, please feedback here to all.
James_Watson said:
You are welcome.
As we are not sure why and when the option 'App-Auto-Launch' on your phone was disabled automatically, you can also try to give the app full access to all permissions.
Settings - Apps - WhatsApp - Permissions - Set individual permissions, enable option 'Trust this app'.
Any result, please feedback here to all.
Click to expand...
Click to collapse
Hi James,
I have done all the settings required as per your recommendation, and I have observed the behavior of whatsapp for few days. I noticed sometimes it works and other time it doesn't. after doing those settings recommended the phone started alerting me about applications that are the top consumer of power; Whatsapp, Firefox are always in the top. Power is a big concern for Mate9 and everytime battery goes less than certain threshold (50%), the phone decides to make-asleep the power-consumers.
Cool, I believe no solution to such effect other than keep the phone on charger
geonass said:
Hi James,
I have done all the settings required as per your recommendation, and I have observed the behavior of whatsapp for few days. I noticed sometimes it works and other time it doesn't. after doing those settings recommended the phone started alerting me about applications that are the top consumer of power; Whatsapp, Firefox are always in the top. Power is a big concern for Mate9 and everytime battery goes less than certain threshold (50%), the phone decides to make-asleep the power-consumers.
Cool, I believe no solution to such effect other than keep the phone on charger
Click to expand...
Click to collapse
It was said that it is the stock app, Phone Manager, which will occasionally stop WhatsApp improperly. And the suggested solution is to disable its some option as below.
Settings - Apps - Phone Manager - Write system settings, disable the option, 'Allow write system settings'.
I just wonder whether this whatsapp issue only exists on China version Mate 9.
the mate 9 is not the only phone from HUAWEi / HONOR which was affected to this problem! I had this on my Honor 7 too.
Reason for this behaviour seems to be the deep sleep function of their devices.
Edit, solved issue
James_Watson said:
It was said that it is the stock app, Phone Manager, which will occasionally stop WhatsApp improperly. And the suggested solution is to disable its some option as below.
Settings - Apps - Phone Manager - Write system settings, disable the option, 'Allow write system settings'.
Click to expand...
Click to collapse
Phone manager is there real culprit. Rooted guys can uninstall it while others can follow this solution.
---------- Post added at 11:19 PM ---------- Previous post was at 11:18 PM ----------
Another solution is to search for "ignore battery Optimisation" in settings and disable it for WhatsApp.
Its because of the battery saving features on emui cause the halt notifications. But no worries, it has a solution.
1. Go to settings>battery, tap on the settings icon on top right corner, make sure everthing off in there except keep mobile data on during sleep.
2. Go to settings>battery>lock screen cleanup, make sure your desire apps not turn on.
3. Go to settings>apps, tap on the setting icon on center, go to special access>ignore optimisations, change to all apps, choose your desire apps, and make it allowed.
Voila! All sets and your desire apps will be working normally without notification halted. Hope it helps.
Sent from my Honor 8 Pro using XDA Labs

Accessibility services keep resetting

Hi,
I tried to remap my Jovi button using the button remapper app but it stops working after a while. I have it locked in recent apps, set up as an exception in battery saver, I even ADB uninstalled the i Manager app but without success. Then I figured out my accessibility keeps resetting from on to off for all apps (not just the button remapper). Do you have any ideas how to stop it from doing so?
P.S. I don't think factory reset will help as this was the problem from the very beginning, before any modifications were made.
Thanks a lot!
I've had the exact same issues but have no idea why it's happening.
Also, from the sounds of things, a number of other people have had similar problems in the thread explaining how to re-map the button.
Same issue here. Except with Nova Launcher. Accessibility keeps turning off.
still no soultion for this issue? im getting frust already. huh
smolkomartin1 said:
Hi,
I tried to remap my Jovi button using the button remapper app but it stops working after a while. I have it locked in recent apps, set up as an exception in battery saver, I even ADB uninstalled the i Manager app but without success. Then I figured out my accessibility keeps resetting from on to off for all apps (not just the button remapper). Do you have any ideas how to stop it from doing so?
P.S. I don't think factory reset will help as this was the problem from the very beginning, before any modifications were made.
Thanks a lot!
Click to expand...
Click to collapse
I fond a solution for the accessibility issue
STEPS
1. Open the app enable accessibility
2. Go to the recent apps menu and block it (with the lock)
3. Then reboot and DO NOT CLOSE IT BEFORE U REBOOT
4. When you boot up you will see in the recent apps menu the app will be not there and your good to go
TheFirestoneHD said:
I fond a solution for the accessibility issue
STEPS
1. Open the app enable accessibility
2. Go to the recent apps menu and block it (with the lock)
3. Then reboot and DO NOT CLOSE IT BEFORE U REBOOT
4. When you boot up you will see in the recent apps menu the app will be not there and your good to go
Click to expand...
Click to collapse
This is awesome ! works like a charm, thanks a lot !!!
TheFirestoneHD said:
I fond a solution for the accessibility issue
STEPS
1. Open the app enable accessibility
2. Go to the recent apps menu and block it (with the lock)
3. Then reboot and DO NOT CLOSE IT BEFORE U REBOOT
4. When you boot up you will see in the recent apps menu the app will be not there and your good to go
Click to expand...
Click to collapse
don´t work for me, please can you explain little more detailed my accessibility keeps resetting every day 2 times and i need to restart my phone to get the apps who needs accessibility started again. this and notification trouble are my only problem with the phone its horrible. i get used to the funtouch os theme don´t bother me any more.

Question Acessibility problem

Hello,
I'm writing about a problem with accessibility settings.
For example, I use applications such as Button Mapper and App volume control, which require accessibility ON.
In the application, I have set no restriction on the battery, and also autostart and in recent apps I have these apps locked. But if I kill all applications from recent - then the mentioned apps also stop working. I have to turn them on again and also enable accessibility again. I have been using these applications for a long time on different phones and there is no problem like this.
(I don't want to see these applications running in recent apps)
I use the latest xiaomi.eu ROM, but I had the same problem with the Global version.
Thanks for any help.
You can "lock" an app to prevent it from being killed.
Launch the app with the accessibility settings you want, display the apps currently running but instead of killing all apps click and hold on the one you want to keep. You should see a "lock" option here.
Hope that helps
Magichp said:
You can "lock" an app to prevent it from being killed.
Launch the app with the accessibility settings you want, display the apps currently running but instead of killing all apps click and hold on the one you want to keep. You should see a "lock" option here.
Hope that helps
Click to expand...
Click to collapse
Thanks for your reply, but I already have this apps locked in recent apps but not working.
Hmmm, that's weird, I have the same kind of issue using Macrodroid to automate some tasks, and they even advise in-app to follow that method to keep the required accessibility settings (method that isn't required on non-Xiaomi devices) and it does work.
What exactly is the issue, the apps still get killed even locked or do they just lose their settings?
Someone with better knowledge of MIUI might give a better answer ^^
I had the same problems and fixed them by disabling energy saving management and activated autostart.

Question widgetupdatet and musicproxy

I can successfully run widgetupdatet and musicproxy on my uis7862 unit.
But I think i need to make it start at boot/wakeup and also make it not battery optimized
So for start at boot/wake up, i turn it on with User - application. But this make widgetupdater app show up everytime when unit boot up, which i prefer it to hidden
For battery optimized setting, I don't have battery option from my setting menu.
May I have your advice on this?
@KёniG
Thanks
Hello.
The newest firmware doesn't have battery settings. Install this https://play.google.com/store/apps/details?id=com.sika524.android.quickshortcut and find "Settings suggestions". Launch it and type in the search field "Battery".
KёniG said:
Hello.
The newest firmware doesn't have battery settings. Install this https://play.google.com/store/apps/details?id=com.sika524.android.quickshortcut and find "Settings suggestions". Launch it and type in the search field "Battery".
Click to expand...
Click to collapse
cool, thanks. Let me try this app on my unit for battery setup part
May I know how about the startup part, anyway I can make the app screen do not popup and make a more silent startup?
(for my firmware, I can make app startup automatically in settings -> user -> application settings
Thanks again
@KёniG
I've switched to paid version and turn on "silent start" seems it will just flash then go away which is good now.
However I don't find the way to open the app to change settings anymore (don't see the icon at notification menu) . need to wipe out the app data to get back to setting screen
jasonwong28 said:
May I know how about the startup part
Click to expand...
Click to collapse
My answer above is about silent start up.
If you have the restricted notification bar it is required to reinstall the app to enter settings. Silent mode is not appropriate way for you.
KёniG said:
My answer above is about silent start up.
If you have the restricted notification bar it is required to reinstall the app to enter settings. Silent mode is not appropriate way for you.
Click to expand...
Click to collapse
Thanks, so either I can still choose silent startup but need to reinstall app if i need to change settings
Or
I dont make it silent startup but i will see the setting screen everytime the unit starts?
and one last thing
After I use musicproxy+widgetupdater. When I use my wheel button - "mode" to change the source, it will go through radio, Phone, Bluetooth music, then my specified music player, then stopped if i press "mode" again. Originally, the next app is the map and then loop back to radio. Is it normal behaviour?
Thank you so much
Played a bit more, seems AIMP is working fine to loop the button cycle.
Your problem got solved?
SamWarner01 said:
Your problem got solved?
Click to expand...
Click to collapse
silent startup still make the app no longer configurable but is ok as I don't think need to always configure that often.
For wheel button issue, I find out is my specific app (KKBox) issue. If I change to AIMP or another music app then is working fine to cycle the sources.
And i think a setting which is quite useful for me is "Multiple music app" which will show current playing app info in that widget area

Categories

Resources