* added battery files
* finished main battery script
* added battery_script in auto_cpufreq
* fix some errors with batterys
* setup some battery stat printing
* added battery config printing to monitor and live modes
* fix some bugs now works on daemon and monitor mode
* cleaned up battery.py
* started to fix writing issue
* still debuging fixes
* bug fixed thinkpad stop threshold cant do below 65
* updated auto-cpufreq.conf-example with battery thresholds
* Added support for configuring/overriding energy performance preference (EPP)
* Corrected path to print available energy performance preferences in docs
* Added "EPP" wording to config examples
* Added message when EPP is not supported
* 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