---
title: cumulativeBackgroundTime
framework: metrickit
role: symbol
role_heading: Instance Property
path: metrickit/mxappruntimemetric/cumulativebackgroundtime
---

# cumulativeBackgroundTime

The total time the app is active in the background.

## Declaration

```swift
var cumulativeBackgroundTime: Measurement<UnitDuration> { get }
```

## See Also

### Reading application run time

- [cumulativeForegroundTime](metrickit/mxappruntimemetric/cumulativeforegroundtime.md)
- [cumulativeBackgroundAudioTime](metrickit/mxappruntimemetric/cumulativebackgroundaudiotime.md)
- [cumulativeBackgroundLocationTime](metrickit/mxappruntimemetric/cumulativebackgroundlocationtime.md)
