From acc993ebd5099d53fa4e267f1c2e719c64890fc4 Mon Sep 17 00:00:00 2001 From: Joshua Pirihi Date: Mon, 6 Dec 2021 14:44:27 +1300 Subject: [PATCH] Add on_battery_shutdown_after_secs preference --- radioconfig.proto | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/radioconfig.proto b/radioconfig.proto index 566e32d..d95ac13 100644 --- a/radioconfig.proto +++ b/radioconfig.proto @@ -569,6 +569,12 @@ message RadioConfig { * Potentially useful for devices without user buttons. */ uint32 auto_screen_carousel_secs = 152; + + /* + * If non-zero, the device will fully power off this many seconds after external power is removed. + * + */ + uint32 on_battery_shutdown_after_secs = 153; } UserPreferences preferences = 1;