If you have no O/S then you cannot have DOS. (That IS an operating system!)
Power settings on the BIOS are possibly a problem, but it is a very old (PII-500? No such animal ever made.) system and the power supply may be flakey too. Is it exactly 30 minutes of inactivity?And not affected at all if you are using the machine?