WdfDeviceGetSystemPowerAction During Hibernate

Hi All,

Iam new to Windows driver development Hence this question here:

Iam trying to implement S4 functionality for my driver.

My D0ExitpreInterruptsDisabled currently uses WdfDeviceGetSystemPowerAction to check System power state.

But when I press Hibernate, the System power state returns PowerActionNone. Is this expectd or Am I doing someting wrong here?

Thanks & Regards,
Phani karthik

presumably, the same system behaves differently when you perform the same action (press the button) when your driver is not loaded?