Skip to content

feat(eink): show "Powered Off" on e-ink display during shutdown#207

Merged
iwismer merged 2 commits into
masterfrom
iwismer/forwarder-shutdown-screen
Apr 7, 2026
Merged

feat(eink): show "Powered Off" on e-ink display during shutdown#207
iwismer merged 2 commits into
masterfrom
iwismer/forwarder-shutdown-screen

Conversation

@iwismer

@iwismer iwismer commented Apr 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a render_shutdown() function to rt-eink that draws a centered "Powered Off" message on the e-ink display
  • After the forwarder's eink task exits on shutdown, renders this message with a full refresh before putting the display to sleep
  • Since e-ink retains its last image without power, the "Powered Off" text remains visible while the device is off

Test plan

  • cargo test -p rt-eink — all 30 tests pass, including new render_shutdown_does_not_panic test
  • Deploy to SBC and verify "Powered Off" appears on display after SIGTERM/SIGINT

iwismer and others added 2 commits April 7, 2026 09:56
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@iwismer iwismer merged commit ffe776a into master Apr 7, 2026
5 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.

1 participant