Go Back   Android Forums > Android Discussion > Android Applications > Tasker
Gamers - Check out our new sister sites!
Nintendo Wii U!    |    OUYA - $99 Android System!

test: Reply
 
LinkBack Thread Tools
Old September 25th, 2012, 10:41 PM   #1 (permalink)
Junior Member
Thread Author (OP)
 
digit27's Avatar
 
Join Date: Sep 2012
Posts: 32
 
Device(s): LG-G2X/P999 (Cyanogenmod7/Trinity)
Carrier: Not Provided

Thanks: 3
Thanked 0 Times in 0 Posts
Default batt low task don't run if plugged in, how?

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?

digit27 is offline  
Reply With Quote
Sponsors
Old September 26th, 2012, 01:01 AM   #2 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,294 Times in 3,987 Posts
Default

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?
SUroot is offline  
Reply With Quote
Old September 26th, 2012, 01:19 AM   #3 (permalink)
Junior Member
Thread Author (OP)
 
digit27's Avatar
 
Join Date: Sep 2012
Posts: 32
 
Device(s): LG-G2X/P999 (Cyanogenmod7/Trinity)
Carrier: Not Provided

Thanks: 3
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by SUroot View Post
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?
digit27 is offline  
Reply With Quote
Old September 26th, 2012, 01:53 AM   #4 (permalink)
ROM Developer
 
SUroot's Avatar
 
Join Date: May 2010
Location: Riddlesden, West Yorkshire, UK
Posts: 23,926
 
Device(s): SGS3 (Current) HTC Desire (Retired)
Carrier: 3 UK

Thanks: 1,923
Thanked 5,294 Times in 3,987 Posts
Default

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
SUroot is offline  
Reply With Quote
The Following 2 Users Say Thank You to SUroot For This Useful Post:
digit27 (September 26th, 2012), shauny13 (September 26th, 2012)
Reply


Go Back   Android Forums > Android Discussion > Android Applications > Tasker
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 06:58 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.