Skip to content

docs(adr): record measured sleep-mode power in ADR 0020 - #715

Merged
brickbots merged 1 commit into
mainfrom
adr-0020-sleep-power
Dec 5, 2026
Merged

brickbots merged 1 commit into
mainfrom
adr-0020-sleep-power

Conversation

@brickbots

Copy link
Copy Markdown
Owner

This change adds a measurement to ADR 0020. It tells how much battery time the sleep feature saves on a rev4 PiFinder.

Why

The battery tests in ADR 0020 always had sleep turned off. They gave a runtime of about 10 hours. They did not tell how much longer the battery lasts when sleep is on. We need this number to decide if sleep should be off by default on rev4.

What was measured

  • One rev4 unit was powered from the DATA port through a USB energy meter. The DATA port powers the unit but does not charge the battery.
  • The camera load was the same as in the battery tests (400 ms exposure, gain 20, screen brightness 255).
  • Awake and solving: 354 mWh in 8 min 30 s = 2.50 W.
  • Asleep: 253 mWh in 7 min = 2.17 W.

Result

Sleep uses only about 13% less power. If sleep is off by default, the unit runs about 20 to 60 minutes less on a full charge. The exact amount depends on how much of the session the unit is asleep.

Time asleep 0% 25% 50% 75% 100%
Runtime 10.0 h 10.3 h 10.7 h 11.1 h 11.5 h

Limits

  • The DATA port is after the battery's power converter, so the converter's loss is not in these numbers. The two loads are close, so the ratio should be about the same on the battery side. This was not checked.
  • The probable reason that sleep saves little: the camera continues to stream while the unit is asleep. This comes from reading the code. It was not measured.

The test setup is on the branch sleep-current-test. Do not merge that branch.

Only the ADR text changes. No code changes.

🤖 Generated with Claude Code

The discharge campaign forced sleep off, so the ~10 h headline said
nothing about what sleep adds. Measured input power at the DATA port on
one rev4 unit with the campaign's pinned load: 2.50 W awake and solving,
2.17 W asleep (brightness 255). Sleep saves about 13%, so a sleep-off
default costs roughly 20-60 min of a ~10 h charge depending on time
spent asleep. Records method, caveats (boost-converter loss not seen at
the DATA port), and the likely reason (the camera keeps streaming).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@brickbots
brickbots merged commit 9c186eb into main Dec 5, 2026
4 checks passed
@brickbots
brickbots deleted the adr-0020-sleep-power branch December 5, 2026 03:01
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.

1 participant