* 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>
* Add config file for setting preferred governor and turbo boost settings.
* Add an example config file.
* Display notice when using settings from config file when starting
* Add section about configuring to README.md
* Add --config parameter to set path for configuration file to use
* Ignore Pycharm descriptors from VCS.
* Rename all occurances of `log` to `stats`.
* Rename log file to stats and move to /var/run
* Bring back --log switch with deprecation message.
Install, *then* use. Not the other way around. Now it's clearer for folks using the AUR package they can just start using it. The AUR package install file notifies the user there is a service. Keep It Simple.
* temp fix for https://github.com/giampaolo/psutil/issues/1658
* fix for missing set_performance()
* add power package for better power source status detecting
* remove redundant spaces
Co-authored-by: Adnan Hodzic <adnan@hodzic.org>