Skip to content

Add extra decimal place to BMS average voltage display #575

@bracyw

Description

@bracyw

Description

The average voltage stat in the BMS segments overview currently displays one decimal place (e.g. "3.7 V"). Add one more decimal place so it reads "3.70 V" for better precision when monitoring cell balance.

This applies to both the pack-level "BMS At A Glance" panel and the per-segment "Segment At A Glance" panel.

Acceptance Criteria

  • Average Voltage in BMS At A Glance shows 2 decimal places
  • Average Voltage in Segment At A Glance shows 2 decimal places
  • No other stat displays are affected

Proposed Solution

Both components already support a precision property (defaults to 1). Just pass 2:

  • bms-at-a-glance.component.ts — add precision: 2 to the pack-voltage config object in statDisplayConfigs
  • segment-at-a-glance.component.html — add [precision]="2" to the Average Voltage info-value-display element

No tests needed beyond visual verification.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions