Skip to content

Commit

Permalink
Added hibernate to test script
Browse files Browse the repository at this point in the history
  • Loading branch information
CoolDotty committed Nov 20, 2020
1 parent 4a5c68d commit 886ee18
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Test.bat
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,14 @@ del %~dp0lastwake.temp
if "%lastwake%" == "PowerButton" (
echo User wakeup detected. NeverWake should work without issue.
) ELSE (
if "%lastwake:~0,15%" == "WakeSourceCount" (
:: Hibernate wakeup fires a troubleshooter event
:: But clears the wakeup reasons instead of logging a new one
echo User wakeup detected. NeverWake should work without issue.
goto END
)
echo Improper wakeup detected. Wakeup type "%lastwake%".
echo If this type should be treated as correct, report it as an issue on Github.
)
:END
pause

0 comments on commit 886ee18

Please sign in to comment.