Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,15 @@ desktop. The **Bazaar** app store and the **Armada Installer**

### Power button and sleep

Pressing the power button does a "fake suspend" (inspired by ROCKNIX) rather than
real S3 sleep: it blanks the screen and freezes the session, and the same press
wakes it. Because the device does not truly sleep, idle battery drain is higher
than it would be with real suspend.
What the power button does depends on the device.

On the **AYN Odin 3** and **AYANEO Pocket EVO** it is a real suspend to RAM: the
device genuinely powers down and the same press wakes it. Standby drain is much
lower — measured at roughly a fifth of fake suspend on the Pocket EVO.

Everywhere else it is a "fake suspend" (inspired by ROCKNIX): the screen blanks
and the session freezes, but the device stays powered, so idle battery drain is
higher than it would be with real suspend.

## Updating

Expand Down
4 changes: 4 additions & 0 deletions system_files/usr/lib/armada/devices/ayaneo-pocket-evo.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ ARMADA_PANEL_NATIVE_HEIGHT=1920
ARMADA_PANEL_REFRESH_RATES=60,120
ARMADA_GAMESCOPE_USE_ROTATION_SHADER=1
ARMADA_GAMEPAD_QUIRK=ayaneo-xbox
# Requires the SM8550 suspend patches and the fan tacho DTS override from
# armada-packages. Without them this device wakes itself within seconds and
# hard-hangs on resume with a Steam session running.
ARMADA_SUSPEND_MODE=mem
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[Sleep]
# Only try suspend-to-RAM. systemd's default is "mem standby freeze", so a
# failed deep suspend falls through to s2idle -- which has been observed to
# wedge SM8550 devices hard enough to need a power-button reset. A failed deep
# should no-op instead. Matches what ROCKNIX pins for the same SoC.
SuspendState=mem