# IsPwrHibernateAllowed

```csharp
[DllImport("powrprof.dll", SetLastError = true)]
public static extern bool IsPwrHibernateAllowed(
   
);
```

Microsoft documentation: [Link](https://docs.microsoft.com/en-us/windows/win32/api/powrprof/nf-powrprof-ispwrhibernateallowed)
