Skip to content

Commit

Permalink
v0.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
gorouflex authored Feb 3, 2024
1 parent e857241 commit 3a66590
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions RielUXTU/RielUXTU.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,9 @@
from configparser import ConfigParser

PRESETS = {
"Eco (force)": "--tctl-temp=95 --apu-skin-temp=45 --stapm-limit=6000 --fast-limit=8000 --stapm-time=64 --slow-limit=6000 --slow-time=128 --vrm-current=180000 --vrmmax-current=180000 --vrmsoc-current=180000 --vrmsocmax-current=180000 --vrmgfx-current=180000",
"Balance": "--power-saving",
"Balance (force)": "--tctl-temp=95 --apu-skin-temp=45 --stapm-limit=22000 --fast-limit=24000 --stapm-time=64 --slow-limit=22000 --slow-time=128 --vrm-current=180000 --vrmmax-current=180000 --vrmsoc-current=180000 --vrmsocmax-current=180000 --vrmgfx-current=180000",
"Performance (force)": "--tctl-temp=95 --apu-skin-temp=95 --stapm-limit=20000 --fast-limit=24000 --stapm-time=64 --slow-limit=22000 --slow-time=128 --vrm-current=180000 --vrmmax-current=180000 --vrmsoc-current=180000 --vrmsocmax-current=180000 --vrmgfx-current=180000",
"Extreme (force)": "--tctl-temp=95 --apu-skin-temp=95 --stapm-limit=30000 --fast-limit=34000 --stapm-time=64 --slow-limit=32000 --slow-time=128 --vrm-current=180000 --vrmmax-current=180000 --vrmsoc-current=180000 --vrmsocmax-current=180000 --vrmgfx-current=180000",
"Extreme": "--max-performance"
"Performance": "--tctl-temp=95 --apu-skin-temp=95 --stapm-limit=30000 --fast-limit=34000 --stapm-time=64 --slow-limit=32000 --slow-time=128 --vrm-current=180000 --vrmmax-current=180000 --vrmsoc-current=180000 --vrmsocmax-current=180000 --vrmgfx-current=180000",
"Extreme": "--max-performance",
"Auto": "--power-saving"
}

CONFIG_PATH = 'config.ini'
Expand Down Expand Up @@ -66,8 +63,7 @@ def create_config() -> None:
print(f"{i}. {mode}")

print()
print("(force): Force your CPU to apply the current profile, whether it is plugged in with AC or not")
print("Others not labeled as 'force' means it's behavior depends on CPU generation, plugged in with AC or not, device, and manufacturer")
print("I recommend to use Auto preset for normal task, and Extreme preset for unlocking full potenial performance")
choice = input("Choose your preset power plan by pressing number: ")
password = getpass.getpass("Enter your login password: ")
skip_welcome = input("Do you want to skip the welcome menu? (y/n): ").lower()
Expand Down

0 comments on commit 3a66590

Please sign in to comment.