Skip to content

[Feature] Battery charge light needs hysteresis on full level check #2764

Description

@dlech

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.

Metadata

Metadata

Assignees

Labels

hub: primehub/inventorhubIssues related to the LEGO SPIKE Prime hub and LEGO MINDSTORMS Robot Invetor hubplatform: essentialhubIssues related to the LEGO SPIKE Essential hubsoftware: pybricks-micropythonIssues with Pybricks MicroPython firmware (or EV3 runtime)topic: batteryIssues involving batteries

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions