detect_activity_segments
Segment power captures into active and sleep periods by current threshold, returning each segment's timing, average current, charge, and active duty cycle; filter short glitches with min duration.
Instructions
功耗分段(阈值滞回):按 threshold_ua 分 active/sleep 段。
返回每段起止/均值/电量与 active 占空比——回答"睡眠电流多少、 活动占空比多少"类问题。min_duration_s 过滤毛刺段。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_s | No | ||
| start_s | No | ||
| capture_id | Yes | ||
| threshold_ua | Yes | ||
| min_duration_s | No |