### INI-style Configuration File Example Source: https://github.com/juaniman/perfmtk/blob/main/README.md An example of a PerfMTK configuration file, demonstrating settings for CPU, GPU, DEVFREQ, UFS, and FPSGO. ```ini [CPU] # One GOVERNOR value applies to all policies; multiple values follow CPU policy order. GOVERNOR="schedutil schedutil" # One value applies to all policies; multiple values follow CPU policy order. DOWN_RATE_LIMIT_US="1000 1000" UP_RATE_LIMIT_US="1000 10000" # Optional individual override by policy index. POLICY_1_GOVERNOR=schedutil POLICY_1_UP_RATE_LIMIT_US=20000 CORE_CONFIG="cpu0:4:4|cpu4:4:0" MAX_FREQS="2000000 1800000" MIN_FREQS="500000 500000" [GPU] GPU_OPP_INDEX=-1 GPU_GOVERNOR="dummy" [DEVFREQ] DVF_GOVERNOR="userspace" [UFS] UFS_GOVERNOR="simple_ondemand" UFS_CLK_ENABLE=1 [FPSGO] FORCE_ONOFF=2 BOOST_TA=0 ``` -------------------------------- ### Customized app_profiles.conf with App-Specific Profiles Source: https://github.com/juaniman/perfmtk/blob/main/README.md Example of a customized app_profiles.conf file demonstrating how to assign specific energy profiles (e.g., 'performance', 'balanced', 'powersave') to individual applications. ```properties # Configuration file for PerfMTK Daemon # Format: package_name=energy_profile # Default global profile when no application from the list is in the foreground DEFAULT_PROFILE=balanced com.tencent.ig=performance com.miHoYo.GenshinImpact=performance com.whatsapp=balanced com.android.chrome=balanced com.netflix.mediaclient=powersave ``` -------------------------------- ### PerfMTK Help Source: https://github.com/juaniman/perfmtk/blob/main/README.md Display the help message for PerfMTK to see all available options. Requires root privileges. ```bash su -c perfmtk --help ``` -------------------------------- ### Run PerfMTK Source: https://github.com/juaniman/perfmtk/blob/main/README.md Execute the main PerfMTK command. Requires root privileges. ```bash su -c perfmtk ``` -------------------------------- ### Set Performance Profiles Source: https://github.com/juaniman/perfmtk/blob/main/README.md Manually set the system's performance profile. Requires root privileges. ```bash # Maximum performance su -c perfmtk performance # Balanced (default) su -c perfmtk balanced # Battery saving su -c perfmtk powersave # Extreme battery saving su -c perfmtk powersave+ ``` -------------------------------- ### Control Thermal Limitations Source: https://github.com/juaniman/perfmtk/blob/main/README.md Enable or disable thermal limitations to manage device temperature. Requires root privileges. ```bash # Enable thermal limitations su -c thermal_limit enable # Disable thermal limitations (be careful with overheating) su -c thermal_limit disable ``` -------------------------------- ### Default app_profiles.conf Configuration Source: https://github.com/juaniman/perfmtk/blob/main/README.md This is the default content of the app_profiles.conf file. It sets a global 'balanced' profile when no specific application is detected. ```properties # Configuration file for PerfMTK Daemon # Format: package_name=energy_profile # Default global profile when no application from the list is in the foreground DEFAULT_PROFILE=balanced ``` -------------------------------- ### PerfMTK Utility Commands Source: https://github.com/juaniman/perfmtk/blob/main/README.md Perform various utility operations with PerfMTK, such as detecting devices, generating configs, listing profiles, and showing status. ```bash perfmtk --detect # Detect device and generate configs perfmtk --generate # Generate default profiles perfmtk --list # List available profiles perfmtk --info # Show device information perfmtk --status # Show current system status perfmtk --edit # Edit profile configuration perfmtk --validate # Validate profile configuration perfmtk --backup # Backup current profiles perfmtk --restore # Restore from backup ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.