# this is a comment
#
# you need: 1 [General] section, 
#           1 or more [Profile] sections
#	          1 or more [Rule] sections
#
# a section ends at the first blank line
#
# [Rule] sample:
#           [Rule]
#           name=sample_rule
#           ac=on                    # (on/off)
#           battery_interval=0-10
#           cpu_interval=30-60
#           programs=xine,mplayer
#           profile=sample_profile
#
# [Profile] sample:
#           [Profile]
#           name=sample_profile
#           minfreq=1400000
#           maxfreq=800000
#           policy=performance
#
# see CPUFREQD.CONF(5) manpage for a complete reference

[General]
pidfile=/var/run/cpufreqd.pid
poll_interval=2
pm_type=pmu #(acpi, apm or pmu)
# Uncomment the following line to enable ACPI workaround (see cpufreqd.conf(5))
# acpi_workaround=1
verbosity=4 #(if you want a minimal logging set to 5)

[Profile]
name=hi_boost
minfreq=600000
maxfreq=800000
policy=performance

[Profile]
name=medium_boost
minfreq=500000
maxfreq=600000
policy=performance

[Profile]
name=medium_power
minfreq=500000
maxfreq=600000
policy=powersave

[Profile]
name=lo_boost
minfreq=400000
maxfreq=500000
policy=powersave

[Profile]
name=lo_power
minfreq=400000
maxfreq=500000
policy=powersave

# conservative mode when not AC
[Rule]
name=conservative
ac=off                   # (on/off)
battery_interval=0-100   
cpu_interval=0-30
profile=lo_power

# need some power
[Rule]
name=lo_cpu_boost
ac=off                   # (on/off)
battery_interval=0-100
cpu_interval=30-70
profile=medium_power

# need big power (not if battery very low)
[Rule]
name=hi_cpu_boost
ac=off                   # (on/off)
battery_interval=50-100
cpu_interval=70-100
profile=medium_boost


# conservative mode when not AC
[Rule]
name=conservative_ac
ac=on                   # (on/off)
battery_interval=0-100   
cpu_interval=0-30
profile=lo_power

# need some power
[Rule]
name=lo_cpu_boost_ac
ac=on                   # (on/off)
battery_interval=0-100
cpu_interval=30-70
profile=medium_boost

# need big power (not if battery very low)
[Rule]
name=hi_cpu_boost_ac
ac=on                   # (on/off)
battery_interval=0-100
cpu_interval=70-100
profile=hi_boost


# full power when watching DVDs and not AC:
# this is the last rule and takes less
# precedence with respect to the others
[Rule]
name=dvd_watching
#ac=off                   # (on/off)
#battery_interval=0-100
programs=xine,mplayer,avidemux
#cpu_interval=0-100
profile=hi_boost
