Skip to content

Aging improvements#1169

Merged
gmarull merged 3 commits intocoredevices:mainfrom
teslabs:aging-improvements
Apr 27, 2026
Merged

Aging improvements#1169
gmarull merged 3 commits intocoredevices:mainfrom
teslabs:aging-improvements

Conversation

@gmarull
Copy link
Copy Markdown
Member

@gmarull gmarull commented Apr 27, 2026

No description provided.

@gmarull gmarull requested a review from jplexer April 27, 2026 14:03
gmarull and others added 3 commits April 27, 2026 18:14
Restructure the aging test to better stress the system and validate
battery health:

  1. Charge while cycling components for 4 hours, charge must complete
     within 90 min. Always display the live charge status.
  2. Wait for operator to unplug, fully charged.
  3. Idle for 10 hours; fail if battery drops more than 6%.
  4. Discharge to a safe shipping level (65%) using the backlight.

The previous drop-during-cycling check is replaced by a charge-complete
check (must reach 100% within 90 min and stay there). Charging is no
longer disabled at 100% so the battery remains topped off until the
operator unplugs at the end of the combined phase.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Wire the aging test up to the manufacturing test result registry and
expose its outcome in the finished tests QR.

The aging test is launched from the top-level mfg menu instead of from
the per-mode test menu, so it isn't registered in the menu's
availability table. The QR rendering bypasses that check for aging and
suppresses the entry entirely when the test wasn't run, so the
semi-finished QR (where aging never runs) doesn't pick up a misleading
AGE:N. The aging app forces the result into the FINISHED bucket so it
doesn't matter what mode was active last.

The reported value is the idle-phase battery drop in percent (0 if the
idle phase was never reached), giving a useful battery-health
datapoint alongside the pass/fail flag. QR field is "AGE:<P|F>,<drop>".

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
Add the current battery percentage to the QR header, immediately after
the firmware version, so the line can capture battery state at the
moment of test completion.

New header format: "<serial>;<mac>;<version>;<battery%>".

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
@gmarull gmarull force-pushed the aging-improvements branch from 09d851c to 03d6c93 Compare April 27, 2026 16:14
@gmarull gmarull merged commit c75f4af into coredevices:main Apr 27, 2026
42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants