diff --git a/src/sessiond/device_state.rs b/src/sessiond/device_state.rs index da9b79d..94382ca 100644 --- a/src/sessiond/device_state.rs +++ b/src/sessiond/device_state.rs @@ -1628,6 +1628,16 @@ impl DeviceStateMachine { // `Restore` puts back the brightness the dim captured rather than a // guessed floor — see the comment on that capture. self.blank_requested = false; + // Recorded, because the blank branch below records and this one did + // not: the trail showed `button-gesture … recognised` and then + // silence, so "the press woke it" and "the press did nothing" were + // the same entry. A trail that cannot tell those apart is the one + // question anyone debugging a dark phone is actually asking. + self.record_decision( + "panel-on", + serde_json::json!({ "button": "power", "gesture": "tap" }), + "a tap on a dark panel is a wake", + ); return vec![Action::Unblank, Action::Restore]; } self.request_blank(