Companion Power Optimizations and UI Support for XIAO NRF52 #1122
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 232 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.326
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1122"
general
weight: 0.35
yarda
This is a collection of small changes that improve the power consumption for companion devices and adds UI (LED & user button) support for the XIAO NRF52 + Wio-SX1262.
The main change is calling RadioLibs
PhysicalLayer::sleep()for all modules in case the system is powered off in the companion UI. This will ensure that the proper commands are sent to the module to put it into the lowest possible sleep mode. This results in very low power-off consumption and extended battery lifetime when powered-off, especially for NRF52-based companions.Changes
Seeed SenseCAP T1000-E
Put radio into sleep mode if companion is powered off. This significantly reduces the power-off consumption and increases battery life.
RAK WisMesh Tag
Put radio into sleep mode if companion is powered off. This significantly reduces the power-off consumption and increases battery life.
Enable DC/DC regulator. This reduces power-on consumption and therefore increases battery life.
Enable blue status LED. This prevents an always-on LED and aligns the LED behavior with other devices like T1000.
Seeed XIAO NRF52 + Wio-SX1262
Enable UI for companions based on this hardware, so user button and status LED can be used.
Enable DC/DC regulator. This reduces power-on consumption by about 25% and therefore increases battery life.
Enable user button including low-power off state with about 15 µA of power consumption from the battery.
Fix status LED behavior for
LED_STATE_ON=0and enable status LEDHeltec T114
Put radio into sleep mode if companion is powered off. This significantly reduces the power-off consumption and increases battery life.
Enable DC/DC regulator. This reduces power-on consumption and therefore increases battery life.
Disable LED and GPS in power off state.
~Currently untested~