My mac has been unwantedly shutting down when I leave it closed and unplugged recently. I'm guessing this is because of the AutoPowerOff Delay and AutoPowerOff Enabled settings:

Unfortunately, I haven't been able to figure out how to change those settings. How do I change those settings?