---
title: powerStateWillChangeTo
framework: kernel
role: symbol
role_heading: Instance Method
path: kernel/ionetworkinterface/1502940-powerstatewillchangeto
---

# powerStateWillChangeTo

## Declaration

```occ
virtual IOReturn powerStateWillChangeTo(IOPMPowerFlags flags, unsigned long stateNumber, IOService *policyMaker);
```
