* Added fan speed display
* optimizations in temperatures
* Simplified charging function and added percentage display
* change print battery status
* Fixed charging not returning boolean
* battery_percentage returns now rounded value insead of 10 decimals
* changed charging function back
* changed charging back and some display changes
* little fix at display battery percentage
* battery percentage not showing %
* add s6 script.
* fixing s6 init system with reload and call s6-svscan
* Fix my typo.
forgot to add slash to this dir.
* repalce reload init in bottom
* replace the samethings like install section
Co-authored-by: Anas <AnasR7@protonmail>
* Fixed where average all core temp is displayed with too many decimals.
* Made both total system load, and avg temp 2 decimals in cleaner .format form.
* Fixed the --version command when installed from source (#344)
The command only worked when running it inside the git repository.
Now, it works from everywhere, and the version is constructed using
the latest git tag and the SHA of the latest commit, which may help
with further debugging in future issues.
* Improving version output.
Renaming version_config to setuptools_git_versioning to be compliant with new plugin version.
Formatted the version when a git hash is present for a better readability.
The version is set in the setup.py file. This will be used for the tar.gz releases.
Snap version is also retrieved from setup.py too, so we avoid code repetition.
The command only worked when running it inside the git repository.
Now, it works from everywhere, and the version is constructed using
the latest git tag and the SHA of the latest commit, which may help
with further debugging in future issues.
* Ability to reset scaling frequencies to default
If one of the scaling frequencies option is missing, either because
it's commented out or auto-cpufreq.conf is not being used, the default
frequency limits will be set.
TODO: perform setting only once per battery state change
* Ability to reset scaling frequencies to default 2.
Additional changes to optimize auto-cpufreq speed, by conditionally
performing frequency scaling settings.
* 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>