My approach would be to use dmidecode which will read data from the BIOS, with something like
dmidecode | findstr /R /C:”Wake-up”
Similarly to feitingen’s answer to this question
If that doesn’t work then your hardware must not be properly recording that value.