diff options
-rw-r--r-- | lib/postrunner/DeviceList.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/postrunner/DeviceList.rb b/lib/postrunner/DeviceList.rb index 6ab63f2..4b1a12e 100644 --- a/lib/postrunner/DeviceList.rb +++ b/lib/postrunner/DeviceList.rb @@ -18,6 +18,8 @@ module PostRunner class DeviceList + include Fit4Ruby::Converters + def initialize(fit_activity) @fit_activity = fit_activity end @@ -87,6 +89,11 @@ module PostRunner t.cell(device.battery_status) t.new_row end + if device.cum_operating_time + t.cell('Cumulated Operating Time:') + t.cell(secsToDHMS(device.cum_operating_time)) + t.new_row + end seen_indexes << device.device_index end |