Classic Shell
http://classicshell.net/forum/

Sleep option missing (although sleep through Windows works)
http://classicshell.net/forum/viewtopic.php?f=7&t=567
Page 1 of 1

Author:  nick_white [ Mon Apr 22, 2013 5:06 am ]
Post subject:  Sleep option missing (although sleep through Windows works)

Hi,

I installed Classic Shell 3.6.7 and I saw that in the shutdown menu, sleep is missing.
I have the sleep option in Windows and it works, so it's not a driver / capability issue.

I presume Classic Shell "thinks" is not supported so it's hidden, but it is supported. Is there a way to override the setting (it's not found in GUI settings)?

Anyone else with this problem?
If it's not solvable through Classic Shell, did anyone find a custom solution - like using a command and adding a custom menu item?

Thanks.

Author:  Jcee [ Mon Apr 22, 2013 6:52 am ]
Post subject:  Re: Sleep option missing (although sleep through Windows wor

right click the button, click settings, then choose style, and try a different style, see if that works (or is preferable), if not, on the bottom left there is an 'advanced' tab that shows all settings, click that, find 'customize start menu' and drag the buttons you want over from available commands, to where you want them in the menu

Author:  nick_white [ Mon Apr 22, 2013 8:45 am ]
Post subject:  Re: Sleep option missing (although sleep through Windows wor

In the start menu customization screen, I have the sleep option included in the menu (the left side), but it doesn't show up in the actual menu.

I noticed that if I add a custom menu item with:
a) the command / the first drop down "sleep"
OR
b) the label "Sleep"
it's hidden too. So I guess there is code in Classic Shell that actively hides the sleep item (by command and by name).

I will try changing to a different style when I get at home.

Author:  Gaurav [ Mon Apr 22, 2013 12:52 pm ]
Post subject:  Re: Sleep option missing (although sleep through Windows wor

Thanks for the bug report. What does powercfg /a show from an elevated command prompt? Which sleep states are supported? Which OS are you running and x86 or x64?

Author:  nick_white [ Tue Apr 23, 2013 12:42 pm ]
Post subject:  Re: Sleep option missing (although sleep through Windows wor

Quote:
The following sleep states are available on this system:
Standby (Connected)

The following sleep states are not available on this system:
Standby (S1)
The system firmware does not support this standby state.
This standby state is disabled when connected standby is supported.

Standby (S2)
The system firmware does not support this standby state.
This standby state is disabled when connected standby is supported.

Standby (S3)
The system firmware does not support this standby state.
This standby state is disabled when connected standby is supported.

Hibernate
Hibernation has not been enabled.

Hybrid Sleep
Standby (S3) is not available.
Hibernation is not available.

Fast Startup
Hibernation is not available.


This might have something to do with the platform.
This is a Windows (8, 32-bit) tablet using the new Intel Clover Trail platform. It probably uses oter sleep states than S3 etc. that only Windows knows about.

I tried some command-line applications that have a sleep / standby option and none worked, so I guess only Windows knows about the different sleep state.

On the other hand, it seems that when turning the screen off - through the timeout in the Windows power options, or using a command-line application (nircmd monitor off), the tablet enters the sleep state - not just the screen off. This might be helpful for future development of Classic Shell.

Author:  Ivo [ Tue Apr 23, 2013 3:01 pm ]
Post subject:  Re: Sleep option missing (although sleep through Windows wor

Classic Shell requires S1, S2 or S3 to be available, as described here: http://msdn.microsoft.com/en-us/library/windows/desktop/aa372707(v=vs.85).aspx
If you find a command that can suspend your tablet you can use it in the start menu. Just replace "sleep" with the command line like "nircmd monitor off".

Author:  nick_white [ Tue Apr 23, 2013 7:23 pm ]
Post subject:  Re: Sleep option missing (although sleep through Windows wor

I guess the function wasn't updated to support the new connected standby, supported by the Clover Trail platform and the upcoming Haswell.
However, using the GetPwrCapabilities one, there is a supported way of determining the connected standby - SYSTEM_POWER_CAPABILITIES.AoAc.
Are you using SetSuspendState? This might be updated for the new standby state. I would be willing to test if there will be development in this direction.

Until this is supported "natively", the custom command using NirCmd works (nircmd monitor off).

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/