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

# HasPCIPowerManagement

Determines whether the device has the specified PCI bus power management capabilities.

```
virtual kern_return_t HasPCIPowerManagement(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 check. If you specify `0`, this method checks for the power-management information in the device’s registry. 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)