You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature] Battery charge light needs hysteresis on full level check #2764
I had a hub (SPIKE Prime) sitting next to me charging all day. I just got full and I noticed because the battery status light blinked red then green a few times before staying solid on green. This is because we are just comparing the battery voltage to a fixed value. The battery level fluctuates a lot, so it doesn't increase monotonically when charging. Ideally, we would have some hysteresis on the check to avoid this.
Activity
sys/battery: add hysteresis to battery full level check
laurensvalk commentedon Jul 14, 2026
Merged in pybricks/pybricks-micropython#483