Repository navigation
omamobile-shell 0.2.129: auto-sleep on by default where the device says suspend is verified - #737
Merged
Merged
Conversation
…ys suspend is verified omamobile-sleepd (s2idle 30 s after the screen goes off behind a secure lock) shipped off on every phone. On the Pixel 7 Pro it is now verified: a night asleep with about 22 h of standby, power off, and double tap waking the phone from sleep (SUSPEND-PLAN, 2026-11-13). Turn the toggle on once, at login, on a phone whose device package installs /usr/share/omamobile/auto-sleep-default; every other phone keeps it off, and a user who turns it off keeps it off. With the modem up the phone still doesn't sleep (its inhibitor stays until linux-omarchy-mobile#232). 0.2.128 is claimed by #555 and #727. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
derekross
added a commit
that referenced
this pull request
Nov 13, 2026
Ship /usr/share/omamobile/auto-sleep-default, which omamobile-shell 0.2.129's user setup reads (#737): suspend on this phone is verified (SUSPEND-PLAN, 2026-11-13), and with this package's touch-wake rule a double tap wakes it from sleep, so auto-sleep no longer costs double tap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…to-sleep step The package test refused any code that turns the omamobile-sleep toggle on. #737 adds exactly one such step, gated on the device package's auto-sleep-default. The test now allows that one line and checks that the gate sits right above it; anything else that turns the toggle on still fails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
derekross
added a commit
that referenced
this pull request
Nov 14, 2026
…m sleep, auto-sleep by default, the charging boot, power off at a critical battery (#730) * omamobile-device-cheetah 0.1.56: double tap wakes the phone from sleep With auto-sleep on, the phone really sleeps (suspend-to-idle) 30 s after the screen goes off, and then only the power key woke it: the touch driver turned its interrupt off for the whole sleep. linux-omarchy-mobile#248 makes the touchscreen wakeup capable, off by default; this udev rule turns it on for the 7 Pro's Synaptics S3908. On a kernel without #248 there is no power/wakeup attribute and the rule does nothing. Tested on the reference phone on 2026-11-13 with the rule's effect set by hand (echo enabled > power/wakeup) on a kernel with #248: asleep through omamobile-sleepd, a double tap woke it on the touchscreen's interrupt and lit the lock screen. 0.1.54 and 0.1.55 are claimed by open pull requests (#556, #554). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * omamobile-device-cheetah: auto-sleep on by default on the Pixel 7 Pro Ship /usr/share/omamobile/auto-sleep-default, which omamobile-shell 0.2.129's user setup reads (#737): suspend on this phone is verified (SUSPEND-PLAN, 2026-11-13), and with this package's touch-wake rule a double tap wakes it from sleep, so auto-sleep no longer costs double tap. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * device-cheetah 0.1.55: off-mode charging instead of starting the phone on its cable A 7 Pro powered off on its cable is started by the bootloader with androidboot.mode = "charger", where stock runs only a charging screen. We started the whole phone (2026-11-09: both boots after a power off on the cable read "charger"). omamobile-charger-mode-generator makes omamobile-charger.target the default of such a boot (early folder; /etc/omamobile/charger-mode-disable turns it off). The target starts no session, modem, Wi-Fi or AoC, and keeps SSH over USB as on a normal boot (usb-rescue, usb-mac, ufw). omamobile-charger-mode turns the panel off, restarts into the phone on Power held for a second, and powers off five seconds after the cable is out. Needs linux-omarchy-mobile#233: without it, power off restarts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * NOTES: power off restarted the 7 Pro (the PMIC's WTSR), and the charger boot On a second 7 Pro, not the reference phone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * omamobile-device-cheetah 0.1.55: power off at a critical battery upower's default critical action is a suspend; suspended at 2 % the phone runs flat asleep within about 20 minutes, a brown-out with the root file system mounted. Power off now works (linux-omarchy-mobile#233, in kernel-2026.11.13, on the development channel), and an off phone on a charger starts the dark charging boot (#554's charger target, carried in this pull request). So the drop-in of SUSPEND-PLAN 6.6: PowerOff at 3 %. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Hiroyuki Ikegami <ikegam@mixallow.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Auto-sleep (
omamobile-sleepd) shipped off everywhere. This turns its toggle on once, at login, on a phone whose device package installs/usr/share/omamobile/auto-sleep-default. Every other phone is unchanged, and a user who turns it off keeps it off.The Pixel 7 Pro's device package gets the flag in #730, together with the rule that lets a double tap wake the phone from sleep (both need
kernel-2026.11.13).bin/omamobile-setup-user: the step.test/setup-user.sh: no flag, off; flag, on; turned off by the user, stays off.Tested:
test/setup-user.sh(all ok). On the phone, the same toggle has been on by hand since 2026-11-13 (SUSPEND-PLAN).🤖 Generated with Claude Code