

CPU_SCALING_GOVERNER_ON_AC=performance
CPU_SCALING_GOVERNER_ON_BAT=powersave

CPU_BOOST_ON_AC=1
CPU_BOOTS_ON_BAT=0

CPU_HWP_DYN_BOOST_ON_AC=1
CPU_HWP_DYN_BOOST_ON_BAT=0

ENERGY_PREF_POLICY_ON_AC=balance_performance
ENERGY_PREF_POLICY_ON_BAT=power


# Caps CPU at 40% max when using battery
CPU_MAX_PERF_ON_AC=0
CPU_MAX_PERF_ON_AC=100
CPU_MAX_PERF_ON_BAT=0
CPU_MAX_PERF_ON_BAT=40

# Standard light boost when plugged in but no boost when on battery
CPU_BOOST_HWP_ON_AC=40
CPU_BOOST_HWP_ON_BAT=1

# I'm 90% sure becaues I have an AMD CPU and no GPU it's using radeon drivers, so this is to modify that. I could be totally wrong.
RADEON_DPM_PERF_LEVEL_ON_AC=auto
RADEON_DPM_PERF_LEVEL_ON_BAT=low
RADEON_DPM_STATE_ON_AC=performance
RADEON_DPM_STATE_ON_BAT=battery

# Disables bluetooth if not in use, I had wifi and wwan in therefor both before, but it was causing issues.
DEVICES_TO_DISABLE_ON_BAT_NOT_IN_USE="bluetooth"

# Reduces a power consumption a little bit for a lot of things, very useful overall. CPU power, USB devices, and I think even internal connections like PCIE devices.
ENABLE_LAPTOP_MODE_ON_AC=0
ENABLE_LAPTOP_MODE_ON_=1

# Machine state save interval
MAX_LOST_WORK_SECS_ON_BAT=120
MAX_LOST_WORK_SECS_ON_AC=15

# Dirty memory is basically memory that doesn't have to be in memory any more and can be written back to disk.
VM_WRITEBACK_ON_BAT=1
VM_DIRTY_RATION_ON_BAT=40

SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1
