mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-12 09:48:50 +01:00
PreparationInAdv fix
This commit is contained in:
parent
d75fcc6f1c
commit
5aa744cb6b
@ -31,6 +31,7 @@ PowerLevel = "balance_saving"
|
||||
|
||||
def PreparationInAdv():
|
||||
global SKIN
|
||||
global PowerLevel
|
||||
|
||||
if SKIN != None:
|
||||
return
|
||||
@ -52,7 +53,7 @@ def PreparationInAdv():
|
||||
|
||||
powerlevel = powerlevel.strip()
|
||||
if powerlevel != "":
|
||||
config.PowerLevel = powerlevel
|
||||
PowerLevel = powerlevel
|
||||
if powerlevel != "supersaving":
|
||||
ArmSystem("sudo iw wlan0 set power_save off >/dev/null")
|
||||
else:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user