Coasting time as a % of moving time

It’s relative simple to do that with a custom activity field. I created one for you but you need to add it to one of your activities. Click “Custom” under the activity timeline chart and click the search button:

Just click it and you will get your own copy. The code is simple:

It will be calculated for the current activity. To compute it for other activities use the activity list view. Select the activities to update and click Edit → Analyse. Tick the “Keep existing intervals box”.

You can see I also added it to the grid.

Once you have done that you can plot “Pedalling” on the /fitness page.

There are a lot of ways to customise Intervals.icu for things like this:

You could create a custom activity field for that. You can actually overwrite the build in coasting_time field with your own value computed from cadence in the script.