# Coasting time as a % of moving time

**URL:** <https://forum.intervals.icu/t/coasting-time-as-a-of-moving-time/13666>\
**Category:** Feature Requests\
**Created:** [31 May 2022 07:54 UTC](https://forum.intervals.icu/t/coasting-time-as-a-of-moving-time/13666 "2022-05-31T07:54:33Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![david](https://forum.intervals.icu/user_avatar/forum.intervals.icu/david/32/30189_2.png) [@david](https://forum.intervals.icu/u/david)\
**Post date:** [1 November 2023 16:04 UTC](https://forum.intervals.icu/t/coasting-time-as-a-of-moving-time/13666/18 "2023-11-01T16:04:17Z")

</div>

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:

 ![Screenshot 2023-11-01 at 17.54.21](https://forum.intervals.icu/uploads/default/original/3X/e/9/e99721a11ce6dfec655f922816bb88af1bb5bab1.png)

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

 ![Screenshot 2023-11-01 at 17.54.51](https://forum.intervals.icu/uploads/default/original/3X/9/4/94fb31617ff506fbe18204ae668469feda461058.png)

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”.

 ![Screenshot 2023-11-01 at 17.59.11](https://forum.intervals.icu/uploads/default/original/3X/e/8/e81e0fc069224199811971f020d0881ea10c501e.jpeg)

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:

> [@Extending Intervals.icu](https://forum.intervals.icu/t/extending-intervals-icu/46565):
>
> This post pulls together all the ways you can extend Intervals.icu. Some require a little Javascript knowledge and others just picking a value from a drop down. Intervals.icu also [has an API](https://forum.intervals.icu/t/api-access-to-intervals-icu/609).

> [@Beire](#):
>
> Any chance we can also get this metric if you don’t have a powermeter, but do have a cadence sensor? Will be less precise as there can be some spinning without putting actual power on the pedals, but will be good enough to track trends on Z2 rides.

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.

---

_[View the full topic](https://forum.intervals.icu/t/coasting-time-as-a-of-moving-time/13666)._
