Skip to content

General: Record the interrupted-session device verification - #20

Merged
d4rken merged 1 commit into
mainfrom
docs/interruption-ledger
Jul 25, 2026
Merged

General: Record the interrupted-session device verification#20
d4rken merged 1 commit into
mainfrom
docs/interruption-ledger

Conversation

@d4rken

@d4rken d4rken commented Jul 25, 2026

Copy link
Copy Markdown
Member

What changed

No user-facing behavior change — documentation only. The qualification ledger now records that interrupted-session detection was verified on real hardware, and a stale known-gap entry is removed.

Technical Context

  • Ledger — the Pixel row's coverage gains "interrupted-session detection (7a)". The 2026-07-25 run on the Pixel 7a (lynx, A16/API36, WSS-granted) exercised the whole path: a force-stop mid-session left charge_optimization_mode=0 while the app was dead, the next open restored it to 1 and surfaced the card (USER_STOPPED / RESTORED_LATE), Dismiss cleared both card and stored keys, a force-stop without a session recorded nothing, and a real reboot restored via boot recovery with no card — the boot-count guard doing its job. dumpsys activity exit-info confirmed the classifier matched the owning PID's exit (reason 10, subreason FORCE_STOP).
  • Known gaps — the "recovery notification lingers until swiped" entry is gone because it is fixed: the notification is now cancelled on a later successful restore, on recovery convergence, and on an explicit policy write.
  • Protocol — step 4 now names both interruption expectations, plus the practical detail that cost time on the device: a phone holding at its limit reports NOT_CHARGING, which ends a session the moment it starts, so the lifecycle has to be driven with dumpsys battery set status/level and reset afterwards.

The Pixel 7a run on 2026-07-25 exercised interrupted-session detection end to end: a force-stop mid-session left the limit off, the next open restored it and showed the interruption card, dismissal cleared it, a force-stop without a session recorded nothing, and a real reboot restored via boot recovery without showing a card.

Also drops the recovery-notification known gap, which is closed — the notification is now cancelled on a later successful restore, convergence, or explicit policy write. The session-validation protocol gains the two interruption expectations plus the battery-simulation trick needed to run them on a device sitting at its limit.
@d4rken d4rken added documentation Improvements or additions to documentation ROM: Pixel Google Pixel labels Jul 25, 2026
@d4rken
d4rken merged commit ae4bd4e into main Jul 25, 2026
12 checks passed
@d4rken
d4rken deleted the docs/interruption-ledger branch July 25, 2026 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation ROM: Pixel Google Pixel

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant