<!--
{
  "availability" : [
    "DriverKit: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "PCIDriverKit",
  "identifier" : "/documentation/PCIDriverKit/IOPCIDevice/EnablePCIPowerManagement",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "PCIDriverKit"
    ],
    "preciseIdentifier" : "c:@S@IOPCIDevice@F@EnablePCIPowerManagement#k#"
  },
  "title" : "EnablePCIPowerManagement"
}
-->

# EnablePCIPowerManagement

Configures the device’s PCI bus power management capabilities.

```
virtual kern_return_t EnablePCIPowerManagement(uint64_t state);
```

## Return Value

<doc://com.apple.documentation/documentation/DriverKit/kIOReturnSuccess> if the specified state is supported, or another value if isn’t supported. See <doc://com.apple.documentation/documentation/DriverKit/error-codes>.

## Discussion

- state: The flags for the power management capabilities you want to enable. If you specify `0xffffffff`, this method lets the [`IOPCIDevice`](/documentation/PCIDriverKit/IOPCIDevice) object determine the desired state. Specify [`kPCIPMCSPowerStateD0`](/documentation/PCIDriverKit/kPCIPMCSPowerStateD0) to disable PCI power management. For a list of possible flags, see [Power Management Capabilities](/documentation/PCIDriverKit/power-management-capabilities-enum).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)