SetSuspendState does not work with windows 10 supporting Standby S0 - Microsoft Community


i have windows 10 tablet following powercfg states available,

  • standby (s0 low power idle) network connected.
  • hibernate
  • fast startup

in c++ application, using setsuspendstate function with arguments (false, true, false) make windows 10 tablet enter sleep mode, instead of entering sleep mode tablet hibernates.

if disable hibernate using 'powercfg /h off' setsuspendstate call fails.

what correct api send windows 10 tablet in sleep mode?

tia

hi,

for better assistance, recommend post query in msdn.

thankyou.



Windows / Windows 10 / Power on or off a device / Phone



Comments

Popular posts from this blog

$AV_ASW folder - Microsoft Community

WTouch_Message_Window app running in the background is preventing - Microsoft Community

Windows 10 - Microsoft Community