Adding Custom Sleep + Shutdown Durations

Hi all, I’m trying to add a custom sleep + shutdown duration.

I’ve tried setting it directly in the config.ini, but it doesn’t seem to stick, it reverts to a supported duration.

I’ve looked around in the files, but haven’t found a way to add an option to the dropdown either, or set it as a default, etc.

Thanks for any help or ideas! I’m doing my best to learn what I can when I get the opportunity.

We won’t be adding custom durations for these options however what you can do is use the following commands to adjust whatever seconds that you would like. You will then see User Defined in the power settings. Shutdown or reboot will save these settings.

Sleep Shutdown

printf 1234 >/run/muos/global/settings/power/shutdown

Idle Display

printf 1234 >/run/muos/global/settings/power/idle_display

Idle Sleep

printf 1234 >/run/muos/global/settings/power/idle_sleep

Swap out 1234 to however many seconds you would like. You were almost close with how you wanted to modify! Check out how the internal system works by checking out this FAQ page, Internal Variable Initialisation

4 Likes

Thanks for the info! I’ll definitely look into this

3 Likes