feat(control_plane): reduce light standby runtime power
This commit is contained in:
@@ -372,6 +372,48 @@ menu "Example Configuration"
|
||||
De-energize the stepper coils. A later movement automatically
|
||||
restores motor drive before stepping.
|
||||
|
||||
config TQ_LIGHT_STANDBY_WIFI_POWER_SAVE
|
||||
bool "Enable Wi-Fi modem power save in light standby"
|
||||
default y
|
||||
depends on TQ_LIGHT_STANDBY_ENABLE
|
||||
help
|
||||
Keep the STA and WebSocket connected while enabling minimum
|
||||
modem sleep. Active mode restores the configured Wi-Fi policy.
|
||||
|
||||
config TQ_LIGHT_STANDBY_PAUSE_REMOTE_LOG_UPLOAD
|
||||
bool "Pause remote log uploads in light standby"
|
||||
default y
|
||||
depends on TQ_LIGHT_STANDBY_ENABLE && TQ_REMOTE_LOG_ENABLE
|
||||
help
|
||||
Continue capturing and persisting logs, but defer HTTP
|
||||
uploads until activity wakes the device.
|
||||
|
||||
config TQ_LIGHT_STANDBY_REMOTE_LOG_POLL_MS
|
||||
int "Remote log standby poll interval (ms)"
|
||||
default 5000
|
||||
range 1000 60000
|
||||
depends on TQ_LIGHT_STANDBY_PAUSE_REMOTE_LOG_UPLOAD
|
||||
|
||||
config TQ_LIGHT_STANDBY_BATTERY_INTERVAL_SEC
|
||||
int "Battery standby sample interval (seconds)"
|
||||
default 300
|
||||
range 30 3600
|
||||
depends on TQ_LIGHT_STANDBY_ENABLE && TQ_BATTERY_ENABLE
|
||||
help
|
||||
Charge-state GPIO edges still request an immediate sample.
|
||||
|
||||
config TQ_LIGHT_STANDBY_MEMORY_SAMPLE_INTERVAL_MS
|
||||
int "Memory monitor standby sample interval (ms)"
|
||||
default 10000
|
||||
range 1000 600000
|
||||
depends on TQ_LIGHT_STANDBY_ENABLE && TQ_MEMORY_MONITOR_ENABLE
|
||||
|
||||
config TQ_LIGHT_STANDBY_MEMORY_REPORT_INTERVAL_MS
|
||||
int "Memory monitor standby report interval (ms)"
|
||||
default 300000
|
||||
range 10000 3600000
|
||||
depends on TQ_LIGHT_STANDBY_ENABLE && TQ_MEMORY_MONITOR_ENABLE
|
||||
|
||||
config TQ_LIGHT_STANDBY_TASK_STACK_BYTES
|
||||
int "Light-standby task stack size (bytes)"
|
||||
default 4096
|
||||
|
||||
Reference in New Issue
Block a user