The fix was rather illogical and it is impossible to accomplish via settings in the graphical user interface tools provided by the Windows operating systems.
Sleep mode is an important feature for me, so this state of affairs was not acceptable. Recently I have encountered a problem while using a new laptop - sleep mode did not work reliably.