What you want is the modulus, which you can get with the % symbol.
It's as simple as setting a variable to %BATT % 10 and checking if that variable is 0.
I want to. Make a profile that uses say function to say the battery percentage while charging but only one the second number is 0..I thought about dividing it by 10 and when theres no remainder to say.. But I couldn't quiet figure out how to..
Help anyone?
--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/groups/opt_out.
Here.. That's what I did.. It didn't work..
The task looks good, but once a state becomes active it will run the task once. In other words, this will only speak once, and only if your battery level ends in 0 as soon as you plug it in.
You want to add an event context of Variable Set: %BATT so it will run again every time the battery level changes.
Anyhow.. This is the profile I made that works:
> Simply use %BATT ~10 /20 /30..... upto 90 in profile STATE - VARIABLE - VARIABLE VALUE.
%BATT is not usable in a context...
In Say task check out the IF for %BATT ~10 /20 /30......upto /90.
So context will execute every min. But Say will happen only if battery % is 10 or 20 or....
Try this.
Sunil.
I believe Wes's suggestion in combination with Rob's context, is the simplest, most minimal, and LEAST battery/computing intensive.
You have a good suggestion :-) and that should work.
but I think the objective now is to minimize tasker checks and activities with regards to this specific profile.
--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.