get Tasker to notify me on full battery? - Huawei P30 Pro Questions & Answers

I would like to user Tasker to play a sound if the battery is full.
Yes its set to manually and always allow in the background activity settings, and disallowed from the battery optimization.
So I created a task "music play" selected my notification sound (if I test it with the play button I hear it). Then made a "Battery full" profile to trigger that. But nothing is happening. Is there a better way?

I don't know if this will help but the app, Accubattery sets off an alarm when your phone charge reaches your desired level

Related

Making a Tasker profile overrule another

I have a profile that when the screen turns on it enables location to battery saving mode for 1 minute the turns off completely. I then have a 2nd profile that turns location to high accuracy when I open Google maps. The problem is my first profile overrides the maps profile and disables location after 1 minute even if maps is open and location changes to high accuracy.
So how can I make my 2nd profile override the first? I feel like it can't be too difficult to do but I can't figure it out.
farquea said:
I have a profile that when the screen turns on it enables location to battery saving mode for 1 minute the turns off completely. I then have a 2nd profile that turns location to high accuracy when I open Google maps. The problem is my first profile overrides the maps profile and disables location after 1 minute even if maps is open and location changes to high accuracy.
So how can I make my 2nd profile override the first? I feel like it can't be too difficult to do but I can't figure it out.
Click to expand...
Click to collapse
Hello my friend.. You need something like in the first profile long press in the name and add second condition to trigger profile... Add Google maps and in selection of app press the invert button... I thing this setup does your work.. Try and tell me!!
Sent from my SM-G900F using XDA Labs
I thought that would work but it didnt Here's my profile.
When Display is On, Location = Battery Saving, Wait 1 Min, Location = Off
If i use the invert, it just turns off the Display On profile but i think the 1 minute timeout is already triggered as its still turning off location 1 minute after even with Maps open even though in Tasker the Display profile doesnt show as active.
I need something to say Wait 1 min unless Maps is open but then what happens when Maps closes, the 1 minute begins? Doing that may not be easy. Is there no way to add weight or priorities to tasks to say the maps profile.
! REALLY horrible way i suppose i could do it is in my maps profile say wait 61 seconds and then set location mode to GPS, so that it reenables if the Display profile has disabled, i just could end up with a small gap of time where location is off.
Here's what you do.
Add an action to both location profiles that (and every profile or task that turns on loc services) sets a timer
set variable LOCATIONtimer=%TIMES+60
Then create a profile with a time context and set the time to activate as %LOCATIONtimer
The task will disable location services.
Now set your maps profile to clear the %LOCATIONtimer variable
(this will prevent the disabling of loc… since the variable has no time, it can't fire)
Then when your battery saving profile activates it will set the timer for 60 secs… but when you activate maps… it will clear the variable, so it won't adjust your loc srvices
Btw… it's a huge battery impact when you do the "app" context as it checks for open apps every two secs.
It's much better to get rid of all app context profils and launch those apps via a tasker shortcut that
1 launches the app
2 then sets a variable eg. isopenMAPS=true
Then set a. If variable value context of isopenMAPS=true then every time that variable is true, you'll know the app was opened, so you can then clear that variable to show you've closed three app

Notification toggles come up sometimes, sometimes not

I created Turbo Notify under [ Tasks ]
I created an action named Notify for Turbo Notify
Notify:
Title: Turbo Modes
Text: Toggle CPU Speeds
Under Actions: I added - Plugin / Kernel Aduitor then Configured it to toggle a cpu profile called Maximum.
I added 2 more. basically 3 toggles for Kernel Aduitors profiles.
So then I setup a Profile to work off of Device Boot then pointed it to Turbo Notify
So my question is this. Turbo Modes always comes up when the device boots. But the buttons below it do not always come up. Sometimes they may even go away during device use.
I am new to tasker and am a nub. Just wondering if I am missing something obvious. When I go into tasker then go into Tasks / Turbo Notify There is the action Notify and tap on the Play icon at the bottom left, the buttons show up on the notification. ( lil green light/icon shows up)
Sorry if it is a nub question. But how can I make it active all the time, and start on boot? The notification is always there, just not the buttons.
- Thnx in advance
I created a task to mimic what your doing. The buttons disappeared on me when unlocking the screen after my battery got (very) low. I've not had a lot of time to play with this, but I did notice when the buttons were missing, the notification did not look like it was expanded. They came back after a few notification drawer open/close cycles.
Still, I don't think you're doing anything wrong. Some thoughts;
Do you have icons assigned to the notification and each button? If not, try adding them.
Is "run in foreground" checked in the preferences -> monitor settings?
Yes I have icons assigned. Built-In ones. And yes to "run in foreground"
I have the priorities set to max, I don't know if that makes a difference.
Like I said I am new to tasker, I'm wondering if i overlooked something simple. Dunno.

Battery optimization - problems with background sync

Hi
First of all I have the chinese variant. So I don't know if the settings are a little different than on the global variant.
On Oreo I found two different battery settings.
The first one is in Apps&notifications - See all apps - select an app - Battery - Battery optimization. If the developer adjusted his app for Oreo battery optimization, you can select this. In some cases you can also activate "Background activity" here. I have no idea what these settings mean exactly and how they influence background sync and activity.
The second settings are in Battery - Background activity manager. There you can active "Auto Active" and "Lock Screen" per App.
So let's talk about my issue. If I set "battery optimization" in the first settings, it will disable background sync in the corresponding app. For example I open Google Calendar, active sync there, close the app. Open it after maybe 30min it will tell me sync is disabled. Also with this setting I won't get any Whatsapp messages if the app isn't in the foreground.
If I activate both options in the second setting it will work. What I don't get: With some apps these options change the first setting. Some apps stay at "battery optimization" and some apps fall back to "not optimized"
However I think with these settings the apps use more battery.
Anyone tried these settings? And tested the different possibilities?
Why is it so hard to do battery optimization and still get push messages in Gmail oder Whatsapp? Why I have to manually change settings to get this working?
Thanks for your answers!
Obvious step is to set every possible app to battery optimization mode (that's your first one). It's not possible to turn this on for every app (some simply needs to stay on all the time). Battery optimization doesn't disable sync for apps immediately, but only when device is in deep sleep. Also u can blacklist some of them (that's your second option) which drain more battery even with optimization option turned on. Try to blacklist apps which u don't use so frequently and u don't need to check for notifications so often.
I use those settings, keep few apps that need more of my attention, rest is blacklisted.

How to disable "Power Consumption Control" notification

I get this repeated annoying notification of "Power Consumption Control" that one app is consuming power in the background. This is because I have permitted Tasker to run in the background. I need it to run in the background and therefore do not want this notification to repeatedly come which I have to dismiss.
Please tell me how to disable this.
Go to app manager then set the battery notification as unimportant notification. Try if it works ?
I did that already. But now the notification sits in unimportant. It is less annoying but is there a way to completely disable this particular notification.
On my realme c3, the battery notification can't be turn off at all! Dammed realme.

Remove BBS "Event Processing" Notification

How can I remove the BBS Event Processing notification in my status bar? I know BBS is running, I check it all the time. I've got BBS 2.6 running on LOS 14.1.
BTW I stopped the NFC partial wakelocks on my phone using the Xposed module DeepSleep, which lets you disable individual wakelocks and alarms. Almost doubled my battery life!
Can't you disable (hide) the notification via Android Settings? That's what I would do. What I actually do is change it's category to Silent and then enable minimise to shade. That way it remains visible, but is tucked away in the shade subtly.
navinthomas said:
Can't you disable (hide) the notification via Android Settings? That's what I would do. What I actually do is change it's category to Silent and then enable minimise to shade. That way it remains visible, but is tucked away in the shade subtly.
Click to expand...
Click to collapse
Yes, that is what I eventually did, but I dislike disabling a notification from Settings because it isn't easily traceable later. I prefer the app to be "polite" enough to offer a disable notification option.
As far as I am aware, such apps need to have a constant notification so that they can keep running in the background. Tasker also does the same thing. Therefore, you most likely will not get an option to disable, since it is necessary to keep that notification enabled at all times.

Categories

Resources