According to others on this thread, you can enable this feature in the BIOS:
Please do be aware that having power surges can cause issues with the database if Roon does not shut off in a proper fashion. I would advise keeping many Backups of your database if you live in an area prone to power issues (or purchase a UPS).