Skip to content

pi/hitl/phone: sleep the device display at teardown (Android + iOS) - #191

Merged
fughilli merged 1 commit into
mainfrom
claude/phone-screen-off-teardown
Sep 25, 2026
Merged

fughilli merged 1 commit into
mainfrom
claude/phone-screen-off-teardown

Conversation

@fughilli

Copy link
Copy Markdown
Owner

The real bench phones idled with their screens on between runs, burning OLED/panel lifetime. Turn the display off in the target close():

  • AndroidDeviceTarget: adb shell input keyevent KEYCODE_SLEEP.
  • IosDeviceTarget: idevicediagnostics sleep (over usbmux — no Xcode/Developer Mode needed).

🤖 Generated with Claude Code

The real bench phones idled with their screens ON between runs, burning
OLED/panel lifetime. Turn the display off in the target's close():
  * AndroidDeviceTarget: `adb shell input keyevent KEYCODE_SLEEP` (always sleeps,
    unlike KEYCODE_POWER which would toggle an already-off screen back on).
  * IosDeviceTarget: `idevicediagnostics sleep` (over usbmux — no Xcode / Developer
    Mode needed).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@github-actions

github-actions Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-09-25 03:29 UTC

@fughilli
fughilli merged commit 14caf8a into main Sep 25, 2026
11 checks passed

This branch was successfully deployed

1 active deployment
HITL — 843d7c9f Deployed Sep 24, 2026 by fughilli via hitl_tests #545
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