time to wait before shutting down (in seconds), added to m and h; passed to Sys.sleep
m
time to wait before shutting down (in minutes), added to s and h; passed to Sys.sleep
h
time to wait before shutting down (in hours), added to s and m; passed to Sys.sleep
first_turn_hibernate_off
The command rundll32.exe powrprof.dll,SetSuspendState 0,1,0 for sleep is correct - however, it will hibernate instead of sleep if you don't turn the hibernation off. I'm not sure this is true, but that's what is explained in the linke (see bellow)