Python module to control the frequency on Linux systems.
- Get current Frenquency and governor by CPU.
- Set frequency by CPU.
- Enable and Disable CPUs.
- Custom CPU power managment enabled on BIOS
- Power Management Driver installed (acpi for example)
- Python3.5 or newer
$ pip3 install cpufreq
# Listing the governors and frequencies of cpus
cpufreq --info
# Setting a governor for specifics CPU
cpufreq setgovernor powersave --cpus 0,1,2
# Resetting cpus and frequencies status
cpufreq --reset
# Help
cpufreq --help
Use the example file script: example.py