---
title: allowsSleeping
framework: Core Audio
role: symbol
role_heading: Instance Property
platforms: [macOS 15.0+]
path: coreaudio/audiohardwaresystem/allowssleeping
---

# allowsSleeping

A Bool where true indicates that the process will allow the CPU to idle sleep even if there is audio IO in progress. Fasle indicates that the CPU will not be allowed to idle sleep.

## Declaration

```swift
var allowsSleeping: Bool { get throws }
```

## Discussion

Discussion Note that this property won’t affect when the CPU is forced to sleep.
