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

test: Reply
 
LinkBack Thread Tools
Old April 5th, 2013, 09:02 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Mar 2013
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default A bit of help with If and Else actions for battery saving

Hi i am trying to make a battery saving profile,but i cant get it to work correctly,to see if anyone can lend me a hand please.

i am using the if and else actions to react when display is on or off, When the display is off,but the task keep doing all the actions in the task

Here goes the profile and tasks:

Profile: Location
Context: Cell Near

Task: DataHome
1) If %SCREEN On
2) Wifi On
3) Mobile Data Off
4) Else If %SCREEN Off
5) Wait 2 mins
6) Wifi Off
7) Wait 3 min
8) Wifi On
9) Wait 1min
10) Wifi Off
11) Goto to action 7

i dont know what i am doing wrong,so if anyone can help me i am going to be very grateful!

PS sorry for any bad grammar in advance,english is not my home language

Advertisements
ed57ve is offline  
Reply With Quote
sponsored links
Old April 6th, 2013, 12:36 PM   #2 (permalink)
Senior Member
 
Join Date: Jan 2012
Posts: 937
 
Device(s): rooted AT&T GS4 w/ Android 4.3
Carrier: Not Provided

Thanks: 282
Thanked 201 Times in 157 Posts
Default

As it is written, the profile will fire once when you enter the area near selected tower. At that point it will exit one or the other pieces depending on whether screen is off or on at that particular point in time. Profile will not execute again on subsequent change in screen state... it will only execute again at the time you exit and re-enter the area.

That's not a very logical sequence. See if you can reformulate it. If you can't, then post back with a more specific description of what you're trying to do... I'm not sure I understand your objective
electricpete is offline  
Reply With Quote
Old April 6th, 2013, 01:28 PM   #3 (permalink)
New Member
Thread Author (OP)
 
Join Date: Mar 2013
Posts: 4
 
Device(s):
Carrier: Not Provided

Thanks: 1
Thanked 0 Times in 0 Posts
Default

the idea is that the task should be my battery saving profile near home making periodic data check when screen is off,and keep wifi on when the screen is on

my issue is that the whole task keep repeating,but thanks for the feedback i think i am gonna add some extra task and profile to get the stuff done
ed57ve is offline  
Reply With Quote
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:42 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.