feat(control_plane): apply light standby hardware policy

This commit is contained in:
chenjintao
2026-08-21 13:55:32 +08:00
parent 6a11aca835
commit baad9dcfa0
15 changed files with 405 additions and 41 deletions
+31 -1
View File
@@ -342,9 +342,39 @@ menu "Example Configuration"
Time without key, local-wake, or voice interaction before
entering light standby. The production default is 5 minutes.
config TQ_LIGHT_STANDBY_DIM_BACKLIGHT
bool "Dim LCD backlight in light standby"
default y
depends on TQ_LIGHT_STANDBY_ENABLE && TQ_SCREEN_ENABLE
config TQ_LIGHT_STANDBY_BACKLIGHT_PERCENT
int "Light-standby backlight brightness (percent)"
default 10
range 1 100
depends on TQ_LIGHT_STANDBY_DIM_BACKLIGHT
help
Backlight brightness while the LCD render loop continues.
The minimum remains visible so the base expression persists.
config TQ_LIGHT_STANDBY_DISABLE_SPEAKER_OUTPUT
bool "Disable speaker output in light standby"
default y
depends on TQ_LIGHT_STANDBY_ENABLE
help
Mute codec output and disable the speaker power amplifier
while preserving microphone capture for local wake words.
config TQ_LIGHT_STANDBY_RELEASE_MOTOR_HOLD
bool "Release stepper holding current in light standby"
default y
depends on TQ_LIGHT_STANDBY_ENABLE
help
De-energize the stepper coils. A later movement automatically
restores motor drive before stepping.
config TQ_LIGHT_STANDBY_TASK_STACK_BYTES
int "Light-standby task stack size (bytes)"
default 3072
default 4096
range 2048 8192
depends on TQ_LIGHT_STANDBY_ENABLE