Skip to content

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

Closed
pybricks/pybricks-micropython
#483

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.

Activity

  1. added theissue type on Jul 14, 2026
  2. added
    hub: primehub/inventorhub
    software: pybricks-micropython
    topic: battery
    platform: essentialhub
    on Jul 14, 2026
  3. added a commit that references this issue on Jul 14, 2026
    7216855
  4. laurensvalk commented on Jul 14, 2026

    @laurensvalk
    Member
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

hub: primehub/inventorhubplatform: essentialhubsoftware: pybricks-micropythontopic: battery

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions