auto-cpufreq2/auto_cpufreq
Ákos Várady 1aa1983ccf
Add min/max allowed frequencies option (#309) (#324)
* Add min/max allowed frequencies option (#309)

Setting the minimum/maximum allowed CPU frequencies is now possible
via 'scaling_min_freq' and 'scaling_max_freq' options in config
for both modes (charger and battery).
Values should be given in kHZ.

Example:
scaling_min_freq = 1800000
scaling_max_freq = 2000000

I also did autoformatting via 'black', using --line-length 100.
Code is now a bit tidier than before.

* Fixes for min/max allowed frequencies option

* Further modify min/max frequency option

* Fix temporary modification in min/max allowed frequency option

Co-authored-by: Akos Varady <akos.varady@ericsson.com>
2021-12-26 11:01:32 +01:00
..
__init__.py Improved Python file structure (rename source > auto_cpufreq) #153 2021-01-21 07:55:23 +01:00
core.py Add min/max allowed frequencies option (#309) (#324) 2021-12-26 11:01:32 +01:00
power_helper.py Reformatted codebase (#325) 2021-12-22 08:28:08 +01:00
tlp_stat_parser.py Reformatted codebase (#325) 2021-12-22 08:28:08 +01:00