feat(control_plane): add light standby coordinator
This commit is contained in:
@@ -323,6 +323,39 @@ menu "Example Configuration"
|
||||
help
|
||||
Stack size in bytes for the control-plane system event task.
|
||||
|
||||
menu "Light Standby"
|
||||
|
||||
config TQ_LIGHT_STANDBY_ENABLE
|
||||
bool "Enable light-standby state coordinator"
|
||||
default y
|
||||
help
|
||||
Track a single device-wide inactivity deadline and expose
|
||||
ACTIVE, ENTERING, STANDBY, and WAKING states. Hardware power
|
||||
actions are attached to these transitions separately.
|
||||
|
||||
config TQ_LIGHT_STANDBY_IDLE_TIMEOUT_MS
|
||||
int "Light-standby inactivity timeout (ms)"
|
||||
default 300000
|
||||
range 1000 3600000
|
||||
depends on TQ_LIGHT_STANDBY_ENABLE
|
||||
help
|
||||
Time without key, local-wake, or voice interaction before
|
||||
entering light standby. The production default is 5 minutes.
|
||||
|
||||
config TQ_LIGHT_STANDBY_TASK_STACK_BYTES
|
||||
int "Light-standby task stack size (bytes)"
|
||||
default 3072
|
||||
range 2048 8192
|
||||
depends on TQ_LIGHT_STANDBY_ENABLE
|
||||
|
||||
config TQ_LIGHT_STANDBY_TASK_PRIORITY
|
||||
int "Light-standby task priority"
|
||||
default 3
|
||||
range 1 10
|
||||
depends on TQ_LIGHT_STANDBY_ENABLE
|
||||
|
||||
endmenu
|
||||
|
||||
menu "Remote Logging"
|
||||
|
||||
config TQ_REMOTE_LOG_ENABLE
|
||||
|
||||
Reference in New Issue
Block a user