anyone using the 'tasker' app with miui? - Xiaomi Poco F1 Questions & Answers

so i wanted to try out tasker but miui jst stop the app after being cleared from the recent apps. is there anyway to keep the app from not stopping when cleared from recent apps?

I am a heavy tasker user and for me it works fine (though I have only yesterday finally updated to Pie so it's maybe a bit early to say that everything is working perfectly). I have a 'run in foreground' enabled in the tasker preferences and I think I have disabled the battery optimization for the tasker. It doesn't get killed and all my profiles seem to be running correctly.

Running Tasker in miui from day one, disabled battery optimization and enabled autostart.
No issues... But i never clear apps from recents though... Wouldn't know why... 6GB ram :victory:

Related

Notification delay on MIUI 9

Hi guys,
I have the SD RN4 and I am super happy with the phone.
the only thing I don't like is the notification delay.
I followed (I think) all the steps on the internet (battery saver turn off, lock in recent apps etc but I still don't get notifications from Gmail, ebay, Facebook etc..
do you have any suggestions?
thanks
enable autostart for that app in security. and even if problem is not solved make that app system app.
Those apps are already in the Autostart.
but, how to make those apps system apps?

Local notifications not working

Maybe it's because many of applications haven't been adopted for Oreo yet, but I've tested a lot of apps - most of them fail to send local notifications. Maybe it has something to do with Mate 10 specifically. I don't have other Oreo devices unfortunately.
So, the story began from Tick-tick task manager. It works smooth on my Note 4, but I'm unable to make it work properly on Mate 10. I've set "ignore battery optimization" option for it, let it run in background and auto-launch, enabled priority notifications for it, blocked it in recent apps (the lock button), but with no luck - reminders just don't work. Then I tried a number of other task-managing apps (wunderlist, and others). Only one them worked (don't remember which one, really tested a lot). Found an app called "fake notifications" just to test the local notifications, set notification timeout for one minute, blocked the screen - no luck. Notifications only appear, if the apps are not closed after creating the notification.
Push notifications work properly (messengers, etc.). Looks like it has something to do with the local notifications specifically.
Some links:
https://github.com/zo0r/react-native-push-notification/issues/606
https://forum.unity.com/threads/local-notifications-on-android-8-0-oreo.497964/
Maybe, I sound a little unemotional... so... I need my task manager working!
Mate 10, ALP-L29 8.0.0.128(C185).
DoubleThinker said:
Maybe it's because many of applications haven't been adopted for Oreo yet, but I've tested a lot of apps - most of them fail to send local notifications. Maybe it has something to do with Mate 10 specifically. I don't have other Oreo devices unfortunately.
So, the story began from Tick-tick task manager. It works smooth on my Note 4, but I'm unable to make it work properly on Mate 10. I've set "ignore battery optimization" option for it, let it run in background and auto-launch, enabled priority notifications for it, blocked it in recent apps (the lock button), but with no luck - reminders just don't work. Then I tried a number of other task-managing apps (wunderlist, and others). Only one them worked (don't remember which one, really tested a lot). Found an app called "fake notifications" just to test the local notifications, set notification timeout for one minute, blocked the screen - no luck. Notifications only appear, if the apps are not closed after creating the notification.
Push notifications work properly (messengers, etc.). Looks like it has something to do with the local notifications specifically.
Some links:
https://github.com/zo0r/react-native-push-notification/issues/606
https://forum.unity.com/threads/local-notifications-on-android-8-0-oreo.497964/
Maybe, I sound a little unemotional... so... I need my task manager working!
Mate 10, ALP-L29 8.0.0.128(C185).
Click to expand...
Click to collapse
Very interesting. You're right. I have same issues.
Wondering if it's an Oreo problem in fact...
sonydesouza said:
Very interesting. You're right. I have same issues.
Wondering if it's an Oreo problem in fact...
Click to expand...
Click to collapse
It looks like all of the problems with notifications not popping/widgets not updating etc are just caused by aggresive optimisation in EMUI 8: https://forum.xda-developers.com/mate-9/how-to/guide-huaweis-background-task-freezer-t3728298
So for, as I can see, there's no rootless solution.
DoubleThinker said:
It looks like all of the problems with notifications not popping/widgets not updating etc are just caused by aggresive optimisation in EMUI 8: https://forum.xda-developers.com/mate-9/how-to/guide-huaweis-background-task-freezer-t3728298
So for, as I can see, there's no rootless solution.
Click to expand...
Click to collapse
Yeah sadly...

Help! Background services getting killed.

I have a problem where background services getting killed when recent are cleared.
Apps on question run at boot without visible windows eg. KinScreen, lux, fluid gesture
I have disable miui optimization in developer options, selected no restriction on battery saver and set apps to autostart.
problem still persist if recent are cleared all these services get killed.
Any way to prevent background services being killed??
I have root and open to suggestion but prefer to stay on miui.
i have same question,,
I have this issue too. What I did was lock my apps in recents. Not a clean way to do it, but it works.
NOTE: I posted this same issue in MIUI forums and seems that we're not alone and the issue is MIUI RAM management itself. I hope it gets fixed in future MIUI versions but for now the workaround I gave is our best shot. Hope this helps and enjoy your Poco, I know I am
First, in app info sections, you turn on autostart for each required app.
Secondly, in battery settings, give each required app >no restrictions policy.
Thirdly, lock them in recent menu.
Done.
You need to do these steps for apps such as alarm, email clients and the ones you mentioned. I had to do this with Google photos as well so that it could sync on its own.
lockhrt999 said:
First, in app info sections, you turn on autostart for each required app.
Secondly, in battery settings, give each required app >no restrictions policy.
Thirdly, lock them in recent menu.
Done.
You need to do these steps for apps such as alarm, email clients and the ones you mentioned. I had to do this with Google photos as well so that it could sync on its own.
Click to expand...
Click to collapse
yes ive done all this but the problem with this is
1. my recent mennu is filled with locked apps
2. some apps start as purely service no visible window
i have to launch it manually so the window appears in recents. eg lux and kinscreen.
any solution to make miui to treat apps and services like stock android. No other OS does this. This is ridiculous
I'm out of ideas now.:laugh:
Check if disabling cleaning of cache memory in battery settings changes anything for you.
Same here. Tried this all, but apps still getting killed. I can't use my gear fit 2 pro app in background. Everytime I clear the recent menu gear got disconnected. Someone please help!
POCO F1 - No root - Locked bootloader - Fully stock
This is the most annoying thing about MIUI. I use Blokada and I need to keep it locked on recents which I hate the most. If I don't lock it and clear recets, Blokada gets killed and VPN gets turned OFF. Can't use live wallpaper for the same reason. On AOSP based ROMs, this problem doesn't exist. It smartly understands which apps need to run in the background and which apps can be killed. Hence, no need to keep an app on the recents. I don't understand what's the necessity of being so aggressive about RAM management when we have 6/8 GB of RAM. Due to this pathetic RAM management, I always see almost 3.9/4 GB free RAM out of 6 GB. And as we know, free RAM is wasted RAM.

I need to keep an app running in background and make it not visible in recent apps tab

Hello dear developers. I'm newbie here. I mean I took lots of information from XDA but it's my first time to post a question (i just made an account to ask this question)
MY PROBLEM IS :
As a MIUI user I'm having too much problems with it's powerfull but annoying Battery Optimisation. I have bought and installed an app to Customize my volume control panel and MIUI has a bug in Accessibility Settings. Unfortunately this app requires it and I'm having trouble with it.
The app must be running constantly to avoid triggering the bug. For the ones who don't know the bug it is happening when You enable an accessibility setting for an app and if the app ever gets killed by MIUI's complicated optimisation then "Enable" button in Accessibility tab is being always active but doesn't works. I'll provide some screenshots at the bottom.
I have enabled autostart, Pinned the app in Recently Used apps tab, Removed Battery optimisation but none of them helps.

Question Easy High Performance Mode Toggle?

There doesn't seem to be a way to turn on high performance mode outside of navigating to battery in the settings and then advanced battery settings. Does anyone know of a way to add a notification switch or even a widget on the home screen to quickly turn it on and off?
Also I have tried my best to eliminate the OS's ability to kill apps running in the background. The one I have issues with the most is PokemonGo. I will switch from one app to another and when going back to PokemonGO it will have killed it and it restarts when going back to it. Loading like I just opened the app for the first time.
Things I have done so far. Disabled battery optimization for the app in the battery settings and turned on "Allow background activity" in the app settings under app management.
I have no task killers installed and the OS is basically stock after a factory reset.
I'm rooted and on DE2118_11_C.16
Have you tried locking the PokemonGo app to prevent it from being suspended?
Also you should check setting under developer mode in APPS section: Susspend execution for cached apps.
I would lower the background process limit from 5 to 3 due to the limited amount of ram on this device and lock any app you want to continue to run if it falls into 4th place.
Also, I would tur off RAM Boost as it does not improve app selection based on my use.
I have it locked yes, still gets closed in the background at random it seems.
RAM Boost was off as well.
The Suspend execution for cashed apps can you explain a bit on how this works? Do I have to cache the app or something in addition for it to work?
I keep the VPN Hotspot, AD Guard, and Pokemon GO locked.
xVoidx said:
The Suspend execution for cashed apps can you explain a bit on how this works? Do I have to cache the app or something in addition for it to work?
Click to expand...
Click to collapse
This will "freeze" apps that are cached (past the open app limit) and they will not take any resources. This also will cause them to stop responding like your Pokemon app.

Categories

Resources