After watching a bunch of tutorial videos about Tasker, I bought the app. But unfortunately I'm finding out that there's things I wanted to do that I cant. I think it has something to do with Active Notifications. For instance, I created a profile to skip to the next song (Play Music) when a variable is true (car mode) by shaking the device. The profile works great when the screen is on, but doesn't seem to work once the screen shuts off, like active notifications are blocking it or something. I was kinda hoping that I'd have a little more control, but I think that's because of the app itself and not the device. Anyone have any input or tips from experience?
In settings to can turn on gestures while the screen is off. And you made a wonderful purchase by the way. Tasker is amazing
Sent from my XT1060 using Tapatalk
My Spotify and Snapchat apps keep popping up in my smart manager saying they are draining unusual amounts of battery and are giving me wakelocks and draining my battery even when I close them from my tray, the only way to stop them is to manually go into apps and click force stop.
I can't put them into power saving mode because Spotify just stops playing music randomly and Snapchat stops giving me notifications.
Iv also tried a tasker profile to kill the apps when they are unused for 3 minutes but it does not work.
Is there any other methods to getting them to stop working when I'm not using them?
I noticed something odd and was not sure if this was the intended behavior of the app close feature in the battery settings. I pretty much have all my apps set to close after screen lock, however I notice that it sometimes doesnt work. For example, if I start playing music and let the screen lock automatically then the music stops. When the unlock the screen I see that the music app has closed as expected. Now here is is the odd things I noticed:
If I start the music app again and let the screen lock automatically then the music will just keep playing and the app wont close.
If I first start the music app and lock the screen using the power button then the app wont close.
Is this the intended behavior? By the way, I have observed this behavior with multiple music apps and podcast apps.
I guess that's expected behaviour, part of Huawei's "Machine Learning Algorithm" that purports to learn your habits over time.
I've seen several examples of apps that stopped being killed as I started using them more and more (example: Trigger). The reverse is also true, at least in my experience.
Sent from my MHA-L29 using XDA Labs
Hi all,
I have a Pixel 4a with stock Android 11 (up to date, no root, with Nova Launcher).
I have a rowing machine that comes with an app (ErgData, by concept2) that can connect to the machine via bluetooth or via usb cable: while rowing the app logs the workout data (like pace, heart rate etc).
I wanted to do the following: watch a video while the ErgData app logs my workout, so I started ErgData, connected it to the rower, configured the workout and, once ready to start rowing, I switch to the video player and start rowing.
It worked fine a bunch of times, but one day it stopped working: at the end of the workout (like after 20-30min), when I switch back to ErgData the app is in its default screen (like the one you get at startup) and it has logged nothing. When connecting via bluetooth, the app has also lost the connection to the rower. When connecting via usb the connection is there but the app has still logged nothing.
Things I've done:
disable battery optimization for ErgData, Bluetooth and Bluetooth MIDI
disable adaptive battery
use a different media player (android built-in, VLC)
uninstall / reinstall ErgData
clear Bluetooth storage/cache
disabled "Suspend Execution for Cached App" (developer mode)
No joy.
I tried a different app (ErgZone) and it has the same behavior.
I tried staying with ErgZone foreground for 3min before switching to the video player and in that case, ErgZone logged something, but not the totality of the workout.
So it really seems that somehow, when I switch to the video player, ErgData / ErgZone gets "paused" (killed ? cached ?).
Anything I can try ? Anything the app developers should do to prevent this ?
Thanks !
Sorry for the late response, I normally dont browse this forum. I am rooted and always have been, so all the solution I have used in the past are dependent on root. However, one idea to try is checking if the background app is killed while the phone is plugged into a charger? I know that being plugged in keeps the phone awake even when the screen is off.
HornetMaX said:
So it really seems that somehow, when I switch to the video player, ErgData / ErgZone gets "paused" (killed ? cached ?).
Anything I can try ? Anything the app developers should do to prevent this ?
Click to expand...
Click to collapse
Does the ErgData/Zone app start a persistent notification when recording? That's the way to keep a service running in the background. I had a phone with a tendency to kill anything not in the foreground, but it never killed active apps (including background with persistent notification).
If the app dies despite this, there may be a hint in the logcat. You have to enable developer mode to fetch that.
a1291762 said:
Does the ErgData/Zone app start a persistent notification when recording? That's the way to keep a service running in the background. I had a phone with a tendency to kill anything not in the foreground, but it never killed active apps (including background with persistent notification).
If the app dies despite this, there may be a hint in the logcat. You have to enable developer mode to fetch that.
Click to expand...
Click to collapse
No, ErgData/ErgZone do not have a persistent notification. Guess that's a potential solution then.
At the moment my workaround is to use the "pop-up" feature of VLC so that I have the video on top of the other app (ErgData/ErgZone), so that the other app stays foreground. That works, but it's not a real solution.
Hmm they gave me a beta version of the app with the persistent notification thingy and it works perfectly.
Hello. I want to use some programs such as strobe light, metal and RF signal detector apps in background to alert with sound/vibration on my Huawei P20 PRO even when display is off but phone keeps killing apps after the locking screen. I tried already using several options shown in some guides but setting to „Manage manually“ and disabling power saving doesn‘t do anything. Is there something else I can try? I really need those apps running. Strangely a third party apps such as VLC player will continue playing sound but others wont.
Android OS is Q 10, EMUI version 10.0.0