---
title: totalUnlockDuration
framework: sensorkit
role: symbol
role_heading: Instance Property
path: sensorkit/srdeviceusagereport/totalunlockduration
---

# totalUnlockDuration

The duration of time the device is in an unlocked state.

## Declaration

```swift
var totalUnlockDuration: TimeInterval { get }
```

## See Also

### Summarizing Device Use

- [duration](sensorkit/srdeviceusagereport/duration.md)
- [totalScreenWakes](sensorkit/srdeviceusagereport/totalscreenwakes.md)
- [totalUnlocks](sensorkit/srdeviceusagereport/totalunlocks.md)
