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
Adnan Hodzic
ffc0bf0ca3
Use LZO algorithm compression for Snap package
2021-09-19 17:18:00 +02:00
explosion-mental
80af500858
Code refactor (improved readability) of auto-cpufreq-installer ( #238 )
2021-09-19 16:50:32 +02:00
Adnan Hodzic
6e6a099c37
Added clarification regarding auto-cpufreq and TLP
2021-09-13 17:10:07 +02:00
explosion-mental
5ca58e7885
Artix runnit support ( #237 )
...
* artix install
* ! -> !=
2021-08-28 07:46:02 +02:00
Adnan Hodzic
33b5c4ddfb
Merge branch 'jpnt-master'
2021-08-21 22:17:55 +02:00
jpnt
5a4d8f7bf3
Added Void Linux support (runit)
2021-08-20 00:01:12 +00:00
Adnan Hodzic
3807d6d4a2
Add troubleshooting section
...
describing how to change intel_pstate driver to acpi-cpufreq
2021-08-14 11:35:50 +02:00
adam4nj
c0f2022727
Added EndeavourOS support to auto-cpufreq-installer ( #211 )
...
Co-authored-by: adam4nj <adamjamesnelissery@gmail.com>
2021-07-02 19:59:05 +02:00
Joaquin Manuel Crespo
92e9940034
Update for ArchLinux's pacman ( #205 )
...
Adding "--needed" option to not reinstall installed packages. Replaced "gcc" with metapackage "base-devel" for complete delopment environment.
2021-06-01 12:19:03 +02:00
Infosec Gurung
433c48b93d
Fixed typo for "auto-cpufeq" ( #198 )
...
The word has been corrected to "auto-cpufreq"
2021-05-31 18:47:23 +02:00
Adnan Hodzic
e1409aa158
1.6.4 release (snap)
2021-03-14 19:36:39 +01:00
Marco Vermeulen
e87a32f6c9
Fix service unit file on Arch Linux ( #190 )
...
* Fix service unit file on arch.
* Remove duplication in installer script.
* Improve formatting of installer script bash code.
2021-03-14 19:23:06 +01:00
Adnan Hodzic
f870049d91
1.6.3 release (snap)
2021-03-11 19:31:20 +01:00
Marco Vermeulen
3b83706748
Fix location of auto-cpufreq in service descriptor. ( #187 )
2021-03-11 19:13:22 +01:00
frankiexyz
ee88fcde68
- Run black to change the coding style in core.py ( #188 )
...
- Fix some PEP8 issue in core.py
- Change the default behaviour of set_performance to OFF
Co-authored-by: Frankie H <f@peering.sh>
2021-03-11 18:29:20 +01:00
Adnan Hodzic
cb5be014e8
1.6.2 (snap) release
2021-02-21 10:38:57 +01: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
984cf657a6
1.6.1 release
2021-02-07 19:35:42 +01:00
Marco Vermeulen
50b1e48115
Only query pacman when on arch and not a snap install. ( #173 )
2021-02-07 19:26:34 +01:00
Mark Wagie
efd03a1d16
Remove pacman wildcard ( #172 )
...
```
❯ pacman -Qs auto-cpufreq
local/auto-cpufreq-git 1.6.0.r0.g0ce8311-1
Automatic CPU speed & power optimizer
```
With wildcard:
```
auto-cpufreq version:
error: package 'auto-cpufreq*' was not found
```
```
❯ pacman -Qi auto-cpufreq* | grep Version
zsh: no matches found: auto-cpufreq*
```
Without wildcard:
```
auto-cpufreq version:
Version : 1.6.0.r0.g0ce8311-1
```
```
❯ pacman -Qi auto-cpufreq | grep Version
Version : 1.6.0.r0.g0ce8311-1
```
It turns out it only works with the wildcard in my `pkgbuilds` directory where `auto-cpufreq-git` lives. Weird.
2021-02-07 19:25:08 +01:00
Adnan Hodzic
0ce83115cb
Snap 1.6.0 release
2021-02-06 21:56:11 +01:00
Shrinivas Kumbhar
aae112d7d9
Use `psutil` in conjuction with `dmidecode` to determine `ac_state` ( #168 )
...
* use psutil to determine ac_state
2021-02-06 21:39:56 +01:00
Adnan Hodzic
82b41f4ce2
Improved auto-cpufreq version detection for aur package
2021-02-06 21:29:44 +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
d062ca940f
Add execution timestamp for to `--stats`
2021-02-04 20:25:17 +01:00
Adnan Hodzic
c79ab10821
1.5.6 Snap release
2021-02-04 16:59:15 +01:00
Adnan Hodzic
8a62c02c08
Turn `computer_type` into a list
2021-02-04 16:40:19 +01:00
Adnan Hodzic
3985d3ef5a
Hot-fix for laptops reporting wrong charing status ( Close : #164 )
2021-02-04 08:56:22 +01:00
Adnan Hodzic
a4812ea920
1.5.4 snap release
2021-02-03 16:39:06 +01:00
Shrinivas Kumbhar
5d26803204
use dmidecode and dependancies update ( #163 )
2021-02-03 09:18:03 +01:00
Adnan Hodzic
bb63f7148a
Improved missing `log` message
2021-02-02 22:10:42 +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
ThePoorPilot
fc56e2a1cb
Adjust CPU frequency scaling on desktop to run in "performance" governor #162
...
If it detects the device is a laptop, it should default to the regular method of determining ac_state
If the device returns any other output, it should default to ac_state=true
continued work originally started in #158
2021-02-02 21:21:51 +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
Adnan Hodzic
3e6d1314b3
snap release 1.5.3
2021-01-24 13:58:31 +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
7169561054
Remove source folder ( #154 )
...
* rename source > auto_cpufreq
* remove leftover folder
2021-01-21 10:54:08 +01:00
Mark Wagie
a91d4ba36e
Improved Python file structure (rename source > auto_cpufreq) #153
2021-01-21 07:55:23 +01:00
Marco Vermeulen
11872ac9a0
Add Arch-based Linux to auto-cpufreq-installer script. ( #152 )
2021-01-20 21:32:12 +01:00
Vadym Stupakov
81e208f5a1
Fix Ryzen 4750U temperature output with zenpower ( close #145 )
...
* fixes #145
* Update core.py
2021-01-20 21:20:49 +01:00
Marco Vermeulen
6f7eec3b05
Deliver custom parallel version of cpufreqctl. ( #150 )
...
This will provide a new parallel version of `cpufreqctl` named
`cpufreqctl.auto-cpufreq` that is to be used by `auto-cpufreq`. This
prevents the system-wide version of this file from being clobbered,
which affects the integrity of what the package manager originally
installed. Applications depending on `cpufreqctl` will still get the
version that they expect.
2021-01-20 19:19:54 +01:00
Adnan Hodzic
c5e02551e1
snap 1.5.2 release
2021-01-17 10:24:44 +01:00
Gianmarco Rengucci
19886a4d04
Disable setting EPP if HWP is active and governor is set to "performance" ( #138 ) ( #147 )
...
This fixes #138 . Thanks to @likeadoc for pointing out the reason for this behavior.
https://github.com/AdnanHodzic/auto-cpufreq/issues/138#issuecomment-753672590
2021-01-17 10:16:31 +01:00
Alex Speranza
070103dc0d
Improves opensuse detection ( #135 )
...
* Adds OpenSUSE Tumbleweed to detected distributions
* Adds OpenSUSE Leap detection
* Fixes OpenSUSE Tumbleweed package installation
* Fixes openSUSE section comment
2020-12-07 20:27:34 +01:00
Adnan Hodzic
a5cc64d6b2
Merge branch 'master' of github.com:AdnanHodzic/auto-cpufreq
2020-12-07 00:48:20 +01:00
Adnan Hodzic
c8c8fab5cb
Re-calibrated performance/powersave triggers (fixed turbo always on on powersave)
2020-12-07 00:46:55 +01:00
Alex Speranza
40f349b7f0
Adds OpenSUSE Tumbleweed to detected distributions ( #134 )
2020-12-06 23:59:39 +01:00
Adnan Hodzic
b2ae741a56
Updated README with CPU temperature reference
2020-12-06 19:35:06 +01:00