Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,440 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I use CallNtPowerInformation to get SystemPowerInformation and check TimeRemaining to take machine to low power state.
For windows 11, after a system restart am getting CallNtPowerInformation -> SystemPowerInformation -> TimeRemaining = 0, that takes my machine to hibernate state. When i start from there then this API starts returning correct value i.e. 0xffffffff.
This all used to work as expected before Windows11.
Can anyone throw some light on it, why this behavior and how can i fix it.