Martin Andersson
6cb2c00786
Add config file for preferred governor and turbo boost behaviour. ( #250 )
...
* 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
2021-10-10 08:11:45 +02:00
Marco Vermeulen
ae86bbb86a
Add --version flag to CLI ( #177 )
...
* Add --version flag to determine current app version.
* Alphabetise cli flags.
2021-02-14 10:49:07 +01:00
Adnan Hodzic
9fcc99d5cd
Add note/instruction on how quit live/monitor/stats
2021-02-06 20:35:40 +01:00
Adnan Hodzic
6bffee4535
Output auto-cpufreq version for snap/aur/auto-cpufreq-installer
2021-02-05 07:43:34 +01:00
Adnan Hodzic
3985d3ef5a
Hot-fix for laptops reporting wrong charing status ( Close : #164 )
2021-02-04 08:56:22 +01:00
Marco Vermeulen
02d58f9f20
Improve domain language around logging and stats ( #160 )
...
* 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.
2021-02-02 21:40:55 +01:00
Adnan Hodzic
5e38ada748
Fix "Unable to remove via --remove option for Snap package" ( Close #161 )
2021-02-02 20:56:56 +01:00
Technical27
f3f652d69e
Improve logging ( #148 )
...
Now auto-cpufreq will write directly to the log file or stdout.
The file will automatically be cleared when on each refresh and on
startup.
2021-01-24 13:14:11 +01:00
Mark Wagie
a91d4ba36e
Improved Python file structure (rename source > auto_cpufreq) #153
2021-01-21 07:55:23 +01:00
Adnan Hodzic
eb9ccfe32f
Snap v1.5 release & module import fix (PYTHONPATH); updated README
2020-12-05 22:27:52 +01:00
Adnan Hodzic
ec4716f721
Extended mechanism to set turbo based temperature & CPU utilization/load
...
to mon_performance/powersave functions & other output improvements
2020-12-05 21:17:29 +01:00
Adnan Hodzic
70c646f9cb
re-enable app_version func + add missing footer to daemon log
2020-09-16 21:06:14 +02:00
Adnan Hodzic
b44110cacd
temporarily disabled execution of app_verison func ( #111 )
2020-09-13 11:52:22 +02:00
Adnan Hodzic
6f729ed6d4
updated about dialog
2020-09-11 22:04:02 +02:00
Adnan Hodzic
fb88158235
refactor + additon of new functionality i,e (app_res_use)
2020-09-11 21:15:59 +02:00
Adnan Hodzic
04a9c00b12
refactor of get_current_gov func and its use
2020-09-11 09:02:19 +02:00
Adnan Hodzic
878733a20f
refactoring (addedd display_load + get_turbo func)
2020-09-11 08:32:16 +02:00
Adnan Hodzic
d3a767626a
added app_version to non snap env
2020-09-11 00:19:04 +02:00
Adnan Hodzic
7f0ad729c9
revamped info is shown by splitting sysinfo func
2020-09-10 23:01:30 +02:00
Adnan Hodzic
39a9c04f33
removed get_sys_info func + implemented env + python info to debug
2020-09-10 17:44:19 +02:00
Adnan Hodzic
dde9cd2133
func refactor/add distro info, kernel, driver, snap to debug
2020-09-09 21:00:58 +02:00
Vadym Stupakov
6b8be7afe7
fixed imports ( #80 )
...
* fixed imports
2020-08-06 21:58:01 +02:00
Vadym Stupakov
e02f7a6881
implemented --debug option ( #70 )
...
* implemented --debug option
- Added --debug option that shows sys info
- Added inxi as dependency
- Implemented get_sys_info() that returns inxi output
with injected governnor information
- Fixed bug: delete_file was called but this was deleted in prev PR
- Updated issue template
2020-08-05 23:49:23 +02:00
Vadym Stupakov
c66721c0b5
Refactroring and amd support ( #67 )
...
* refactored and fixed amd coretemp
- added get_avail_powersave() (and performance).
This function returns the most energy efficient governor.
This should fix AMD issue when powersave is not available
but "ondemand" or "schedutil" are present
- Cleaned up and refactoring.
Added more convinient util fuctions.
Also made it more pythonic, reduced subprocess calls.
- fixed get_curr_gov()
* fixed gov_check()
2020-08-05 21:12:59 +02:00
Vadym Stupakov
d0243806e9
Refactoring and fix for #14 (AMD issue) ( #62 )
...
* refactored and fixed amd coretemp
2020-08-04 18:22:38 +02:00
Adnan Hodzic
29b85b8095
code refactor
2020-02-08 21:18:47 +01:00
Adnan Hodzic
16bc315da2
extended disable running multiple instances functionality to snap
2020-02-08 20:35:39 +01:00
Adnan Hodzic
33837c97a3
disable running multiple instances (needs improvements on snap)
2020-02-08 17:08:04 +01:00
Adnan Hodzic
71a8b92e04
daemon disabled on snap install, working install/remove
2020-02-08 14:32:58 +01:00
Adnan Hodzic
6b5fba3ac3
working remove/install of snap service
2020-02-06 22:48:34 +01:00
Adnan Hodzic
a8068ab0bf
enable snap service by default + name change
2020-02-06 19:58:03 +01:00
Adnan Hodzic
ea687deb20
start snap systemd service if DAEMON env var set to ENABLED
2020-02-05 21:03:29 +01:00
Adnan Hodzic
8a06de40cd
minor code improvements/clean-up
2020-01-26 17:45:11 +01:00
Adnan Hodzic
683141616f
fixed daemon install/removal with setup.py
2020-01-25 17:39:17 +01:00
Adnan Hodzic
efabcab056
working daemon as part of snap (dirty)
2020-01-24 15:53:25 +01:00
Adnan Hodzic
9f1bbc1778
fix display of help dialog in snap
2020-01-23 07:12:04 +01:00
Adnan Hodzic
5aca2c5558
added option to detect if running on snap
2020-01-22 22:26:27 +01:00
Adnan Hodzic
d8e56e0e58
added deploy-cpufreqctl
2020-01-22 20:46:02 +01:00
Adnan Hodzic
1cc0099d22
added necessary files for snap + first working snap version
2020-01-21 23:44:42 +01:00
Adnan Hodzic
787560c056
split auto-cpufreq into bin and source (core)
2020-01-21 22:20:54 +01:00