---
title: HasPCIPowerManagement
framework: pcidriverkit
role: symbol
role_heading: Instance Method
path: pcidriverkit/iopcidevice/haspcipowermanagement
---

# HasPCIPowerManagement

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

## Declaration

```occ
virtual kern_return_t HasPCIPowerManagement(uint64_t state);
```

## Return Value

Return Value kIOReturnSuccess if the specified state is supported, or another value if isn’t supported. See Error Codes.

## Discussion

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.

## See Also

### Managing Power

- [EnablePCIPowerManagement](pcidriverkit/iopcidevice/enablepcipowermanagement.md)
- [Power Management Capabilities](pcidriverkit/power-management-capabilities-enum.md)
- [Power Management Control/Status Register](pcidriverkit/power-management-control-status-register-enum.md)
