This is probably a strange request.
But I have a ‘progress’ bar that indicates time taken for a task based on the the power of a device setting. On default ‘mid’ the progress bar takes 15 seconds. However, the user can either increase the power (doubling the speed) or decrease the power (halving the speed) of the device which affects the speed of the progress bar. The problem is that halfway through the progress the user can change between the settings thus increasing and decreasing progress speed on the fly.
Can anyone give me some pointers how to build this?