• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

batt low task don't run if plugged in, how?

digit27

Newbie
Sep 23, 2012
32
0
I cant find an 'IF' variable when making a task that checks if power = plugged in... is there another way to stop my low battery alert from playing when its charging?

EDIT: I think i figured it out, I didn't know I could create variables (I just started today). I created a variable and set it with a new profile, is that correct?
 
Sorry, are you saying you have created a battery low profile which you want to turn off when plugged in?

Could you just have event plugged in with a task to set the profile to off and an exit task (when unplugged) to set the profile to on?



That would work, how do i set a task to set a profile to off and to exit a task? Will the task be ended if its currently waiting?
 
Upvote 0
Ok you can't exit event as its a point in time. You can exit a state though as its a duration.

Context
State > power "any"

Task > tasker > profile status set to "off" you need to type / search the profile name

Save profile.

From the profile main screen, press the task and "add exit task" then create a reverse of the above task
 
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones