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

Bad RHS expression?

El dude

Member
I'm getting errors when my nexus 4 is on a wireless powermat I want Tasker to wake the device if the battery is at say 20%. The error is as follows :


TOa1EW7.png


PFezIwb.png
 
examine the value of the variable %batt and you'll see that the value contains no percent. Therefore use 42 instead if 42% or 20 instead of 20%
 
Thanks that seemed to work, however I get no green bar to tell me the task is setup ok, it doesn't seem to do anything.
 
The green bar indicates whether the condition is currently satisfied.

If you think it's not working, post the code and tell us what you did to convince yourself that it it's not working.

Also, try some troubleshooting...look at the run log .....put a popup to tell you if the line before the suSpect code executes...examine variables....
 
Back
Top Bottom