Relabel gpu power saving to enhanced power saving.
This commit is contained in:
parent
1bf81188cb
commit
58098cc889
4 changed files with 9 additions and 9 deletions
|
@ -87,7 +87,6 @@ global.retroachievements.verbose=0
|
|||
global.retroarch.menu_driver=ozone
|
||||
global.runahead=0
|
||||
global.secondinstance=0
|
||||
gpu.powersave=0
|
||||
intellivision.integerscale=0
|
||||
intellivision.ratio=4/3
|
||||
ipv6.enabled=0
|
||||
|
@ -182,6 +181,7 @@ system.hostname=@DEVICENAME@
|
|||
system.language=en_US
|
||||
system.overclock=off
|
||||
system.cpugovernor=schedutil
|
||||
system.powersave=0
|
||||
system.timezone=America/New_York
|
||||
system.automount=1
|
||||
system.autohotkeys=1
|
||||
|
|
|
@ -98,12 +98,12 @@ then
|
|||
cp -f /usr/config/smb.conf /storage/.config
|
||||
fi
|
||||
|
||||
# Set GPU power saving by default
|
||||
GPUPOWER=$(get_setting gpu.powersave)
|
||||
if [ -z "${GPUPOWER}" ]
|
||||
# Set enhanced power saving off by default
|
||||
ENHPOWER=$(get_setting system.powersave)
|
||||
if [ -z "${ENHPOWER}" ]
|
||||
then
|
||||
echo "Set up GPU power saving..." >>${LOG}
|
||||
set_setting gpu.powersave 0
|
||||
echo "Set up enhanced power saving..." >>${LOG}
|
||||
set_setting system.powersave 0
|
||||
fi
|
||||
|
||||
# Set automatic hotkey management by default.
|
||||
|
|
|
@ -95,7 +95,7 @@ do
|
|||
case ${STATUS} in
|
||||
Disch*)
|
||||
/usr/bin/logger -t user.notice "Switching to battery mode."
|
||||
if [ "$(get_setting gpu.powersave)" = 1 ]
|
||||
if [ "$(get_setting system.powersave)" = 1 ]
|
||||
then
|
||||
audio_powersave 1
|
||||
perftune battery
|
||||
|
@ -107,7 +107,7 @@ do
|
|||
;;
|
||||
*)
|
||||
/usr/bin/logger -t user.notice "Switching to performance mode."
|
||||
if [ "$(get_setting gpu.powersave)" = 1 ]
|
||||
if [ "$(get_setting system.powersave)" = 1 ]
|
||||
then
|
||||
audio_powersave 0
|
||||
perftune performance
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Copyright (C) 2020-present Fewtarius
|
||||
|
||||
PKG_NAME="emulationstation"
|
||||
PKG_VERSION="0c7b51f"
|
||||
PKG_VERSION="5753a20"
|
||||
PKG_GIT_CLONE_BRANCH="main"
|
||||
PKG_REV="1"
|
||||
PKG_ARCH="any"
|
||||
|
|
Loading…
Reference in a new issue