* 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
* 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