-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hibernation stop not working #2
Comments
Created a debug build with changes built in, looking for test results: |
gbakeman
added a commit
that referenced
this issue
Jul 28, 2022
Windows 10 Hibernate & Clear Shutdown Timer (redo)
Repository owner
moved this from In Progress
to Done
in Import from @gawindx
Jul 28, 2022
This was referenced Sep 28, 2022
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Imported from gawindx/WinNUT-Client#89
When I configure WinNUT to Hibernate my computer the Shutdown GUI will display when the NUT Server sends the FSD signal. The Shutdown GUI will perform the countdown and then hang. When configured to Shutdown instead of hibernate, the shutdown process executes properly.
Steps to reproduce:
I suspect this has something to do with the calls to SetSystemPowerState in the Select Cast statement at line 979 in WinNUT.vb. It looks a bit odd passing a Boolean value when the function is declared as expecting an integer. https://www.tek-tips.com/viewthread.cfm?qid=1086465 talks about similar code only passing integers 1 and 0 instead of Booleans. It has been years since I messed with VB.Net so passing a Boolean could be valid, it just looks off.
My computer is running Windows 10 21H1, NUT Server is the built in Synology NUT server, running latest version of WinNUT
The text was updated successfully, but these errors were encountered: