Files
linux-voice-assistant/linux_voice_assistant
imonlinux 4b6b6dd380 Update button_controller.py
Summary

Optimize GPIO button polling interval

Problem

Aggressive polling at 100 Hz (10ms interval) unnecessarily high for human button presses, causing elevated CPU usage with no benefit to responsiveness.

Changes

Changed default poll_interval_seconds from 0.01 to 0.05 (100 Hz → 20 Hz)
Updated ButtonRuntimeConfig dataclass default
Updated fallback default in constructor
2026-01-10 13:26:19 -08:00
..
2025-08-26 09:30:58 -05:00
2026-01-06 13:37:00 -08:00
2025-11-18 15:15:46 -08:00
2026-01-10 13:23:33 -08:00
2026-01-06 13:35:52 -08:00
2025-11-17 17:42:40 -08:00
2026-01-06 13:46:32 -08:00
2026-01-06 13:36:28 -08:00
2025-12-11 18:47:01 -08:00
2025-11-17 21:50:53 -08:00
2026-01-01 15:16:13 -08:00
2025-11-29 14:38:13 -08:00
2026-01-05 21:52:41 -08:00
2026-01-01 15:17:41 -08:00
2025-11-29 23:43:08 -08:00
2025-11-21 17:17:56 -08:00
2025-11-19 18:46:05 -08:00