* Add dinit
* Add dinit
* Change arch based informations
* More compatible for Arch based distributions
* More compatible for Arch based distributions
* Clean code
* Clean code
* add config.py and config_event_handler.py
also introduces the utils folder
* update config imports and variables
* add 'pyinotify' dependency
* config: check for changes using threading
* config: handle errors and new eventsx
* config: set_path even if file doesn't exist and make new ConfigParser on every update
* fix get_config call
* config: check for changes on moved file
* call notifier.start() manually to prevent hanging
* config: update comments
* battery: fix config imports
* config: fix config deletion detection
* Add load from user config in XDG_CONFIG_HOME if available (#672)
* Add load from user config from in XDG_CONFIG_HOME if available
This update introduces the flexibility to load the configuration file from
multiple locations, prioritizing user preferences and system standards.
Previously, the configuration was strictly read from a hardcoded
system path (`/etc/auto-cpufreq.conf`). Now, the application first checks if the
user has specified a configuration file path via command line arguments. If not,
it looks for a configuration file in the user's config
directory (`$XDG_CONFIG_HOME/auto-cpufreq/auto-cpufreq.conf`). If neither is
found, it defaults to the original system-wide configuration file.
This allows users to add their auto-cpufreq configuration to their dotfiles.
* If --config is set but invalid, exit with error
* Remove redundant empty string check on config file path
* Remove duplicate isfile check for config path
See also: https://github.com/AdnanHodzic/auto-cpufreq/pull/672#discussion_r1548003119
* Update configuration options in README
See also: #672
* config: move find_config_file function and fix finding home directory
* auto_cpufreq: fix hanging on --daemon, --live, and --monitor
* swap pyinotify for patched version
---------
Co-authored-by: Steven Braun <steven.braun.mz@gmail.com>
* 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 another point in troubleshooting regarding turbo not available on some CPUs. This relates to https://github.com/AdnanHodzic/auto-cpufreq/issues/602 (workaround consisting in switching driver tested on AMD Zen 3+ and Zen 4 CPUs).
One of the image links to a YouTube video wasn't properly formatted, so I fixed that and also went through the entire README making recommended adjustments to the text.
* docs: updated instructions for pyproject config
* chore: post pyproject integration cleanup
Changes include
Removed setup.py and requirements.txt file
and removed dependence in record files.txt generated by setup.py
* Updated Readme for issue auto-cpufreq not autostarting
Added solution to issue https://github.com/AdnanHodzic/auto-cpufreq/issues/463
* Fixed minor errors
* Fixed auto-cpufreq.serivce Typo
* Reprashed text as per suggestion
* add the --force option and governor overrides
* update README to reflect --force option
* add --state option
* update README with --state option
* update README to expand on --force functionality
* change name of remove() func and remove pickle upon --remove
* check if daemon is not running when using --force and change --state
* add links to README
* change force section wording
* add quotes to --force help
* add override warning to stats file
* hide --get-state flag
* consolidate error messages and add daemon checks to --get-state and --stats
* add quotes
* Fixed some grammar and punctuation
* Made more Grammar changes
* Added Post installation section
* Removed warning to not use `auto-cpufreq --install` as the issues
mentioned are already resolved, and auto-cpufreq --install works as
expected
* Added documentation for starting and enabling the daemon using just
systemd, and fixed some grammar.
* Added documentation for disabling with systemd
* Modified "How to run auto-cpufreq section" to include help options
* Fixed some formatting issues.
corrected location of power_helper.py script
* Made recommended changes
* Added index
Fixed a link
* Removed systemctl command, and added warning to use inbuilt commands
* Added instruction to clone the repo