Merge pull request #1743 from anthonycaccese/aokzoe-a1-pro-support

Add sleep mode to AOKZOE A1 Pro
This commit is contained in:
anthonycaccese 2023-07-16 18:05:10 -04:00 committed by GitHub
commit 08a5e91704
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -0,0 +1,12 @@
#!/bin/bash
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2021-present Fewtarius (https://github.com/fewtarius)
. /etc/profile
MYSLEEPMODE=$(get_setting system.suspendmode)
if [ -z "${MYSLEEPMODE}" ]
then
/usr/bin/setsuspendmode mem
fi