Use s2idle for sleep until deep is working.
This commit is contained in:
parent
a103b5bf90
commit
1ee126a698
2 changed files with 14 additions and 0 deletions
14
packages/hardware/quirks/devices/Gameforce Ace/030-suspend_mode
Executable file
14
packages/hardware/quirks/devices/Gameforce Ace/030-suspend_mode
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
# Copyright (C) 2023 JELOS (https://github.com/JustEnoughLinuxOS)
|
||||
|
||||
. /etc/profile.d/001-functions
|
||||
|
||||
MYSLEEPMODE=$(get_setting system.suspendmode)
|
||||
if [ -z "${MYSLEEPMODE}" ]
|
||||
then
|
||||
/usr/bin/suspendmode mem
|
||||
fi
|
||||
|
||||
echo s2idle >/sys/power/mem_sleep
|
||||
|
0
packages/hardware/quirks/devices/Gameforce Ace/050-modifiers
Normal file → Executable file
0
packages/hardware/quirks/devices/Gameforce Ace/050-modifiers
Normal file → Executable file
Loading…
Reference in a new issue