2 Intern

 • 

131 Posts

August 12th, 2014 22:00

I still hope someone can help me with an answer here.

I'll give a little more info.

When you go Settings/Power/Sleep the tablet goes to sleep.
Similarly when you press the power button on the side, the tablet goes to sleep.


All I need is code to go into a desktop shortcut that will accomplish the above.

The traditional code below does not work:

rundll32.exe powrprof.dll,SetSuspendState 0,1,0  
rundll32.exe PowrProf.dll,SetSuspendState (Sleep)

915 Posts

August 13th, 2014 03:00

As odd as it may seem, the Turn Off LCD utility, which on a regular laptop serves to turn off the display but still leave the laptop running, will put the DV8P to sleep (alas, it will not turn the display alone off--a victim of Connected Standby, it seems).  The utility is very well-behaved, and small; to get rid of the DOS box that appears when it is run, you can use a shortcut to run the utility and have it run minimalized (set that in the shortcut). 

http://www.redmondpie.com/turn-off-your-notebook-lcd-with-one-click/

2 Intern

 • 

131 Posts

August 13th, 2014 20:00

Thanks Mike. I may try out your suggestion if I don't have success with some other solutions I'm working on.

915 Posts

August 13th, 2014 23:00

It's been a favorite utility of mine for years--only sad that it won't serve its intended purpose on the DV8P (to be fair, no display-off utility seems to work with the DV8P--the effect of Connected Standby, apparently).

2 Intern

 • 

131 Posts

August 14th, 2014 11:00

After spending far too much time on trying to find a solution for this, I am happy to report that I finally have success!

As is often the case, the solution is simple; rather elegant actually.

All that's needed are the following keystrokes:

Alt-F4
{Up}
{Enter}

They have been coded into an Autohotkey script shortcut that sits on my desktop close by my
Shutdown, Restart and Hibernate shortcuts.














915 Posts

August 14th, 2014 14:00

Is there a similar simple key combination for Hibernate (while still having the tablet's Connected Standby mode enabled)?  Interestingly, adding Classic Shell's Classic Menu to the tablet adds a Hibernate selection possibility--a pleasant surprise.

2 Intern

 • 

131 Posts

August 14th, 2014 15:00

Is there a similar simple key combination for Hibernate (while still having the tablet's Connected Standby mode enabled)?


Not that I am aware of.

I use the following code in a desktop shortcut to get into hibernation:

C:\Windows\System32\rundll32.exe powrprof.dll,SetSuspendState Sleep

P.S. that is not a typo. In my experimentation I tried many variations of the code.
Strangely, the Sleep code does not put the DVP into sleep, but rather hibernation.

No Events found!

Top