I'm trying to set up a Profile that will flash "Charging..." when I plug in the phone and flash "Charged for XXX seconds" when I unplug it. My profile looks like this: [Context] Power; Source=Any [Task] [Enter] Flash; Text="Charging" Variable Set; Name %CHARGESTART To %TIMES [Exit] Variable Set; Name %CHARGEEND To %TIMES Variable Subtract; Name %CHARGEEND Value %CHARGESTART Flash; Text="Charged for %CHARGEEND seconds" Unfortunately when I use this, I don't see "Charged for %CHARGEEND seconds", but rather "Variable %CHARGESTART: value XXX out of range 1:60" where XXX is the last value %CHARGESTART was set to by the enter task. Seems like Tasker can only subtract a value from another if that value to subtract is between 1 and 60. This seems very limiting. I tried to make a workaround where there's a loop that subtracts 60 each iteration while %CHARGESTART is > 60, but this takes forever when the number is as large as it is for %TIMES. Is there something I'm missing here? Perhaps there is an easier way I just don't know of? I would have to think this would be possible. If nothing else, perhaps writing to a file, calling some application which does the subtraction and writes to the file again, then using those file contents as the number?