I have updated the BIOS and did Windows Update also. Same problem.
To reproduce the problem, I created Task in Task Schedule:
It performs automatic wakeup every 10minute from 20:00 to 6:00 next days & do some work for 2minutes.
It has worked now for 6days until today. It is hard to reproduce.
The BSOD only occurs when I pressed the power button to overcome the hanging sleep state.
Normally, when system goes to sleep, then Eventviewer shows up entry:
"User-mode process attempted to change the system state by calling SetSuspendState or SetSystemPowerState APIs."
"The system is entering sleep."
And on resume: "The system has resumed from sleep.", "The system time has changed to 2020-08-27T03:41:05.500000000Z from 2020-08-27T03:39:39.157129800Z."
But after about more than 400 cycles,
I saw two ""User-mode process attempted to change the system state by calling SetSuspendState or SetSystemPowerState APIs." calles and the sleep process hangs
The /system-sleep-diagnostics.html tells 'Sleep state Entered' "Invalid"
I also noticed that during the hanging sleep progress, the laptop is somehow active:
Reacting to pings, and I see from the router it is accessing some sites, but the Keyboard numlock key /shift key is not reacting and the display is not turning on anymore.
I have no clue how to analyze further the hanging sleep problem which is the cause for the BSOD afterwards when trying to restart.
Any ideas?