Commit Graph

449 Commits

Author SHA1 Message Date
Donghee Na 2df634b09c
gh-667: Modify message when using amd-pstate-epp (#674)
* gh-667: Modify message when using amd-pstate-epp

* Address code review

* Address code review

* nit

* Update

* fix typo

---------

Co-authored-by: shadeyg56 <shadeyg56@gmail.com>
2024-04-09 14:28:56 -05:00
shadeyg56 215026ad43 battery: add shell=True to lsmod call
systemd needs shell=True otherwise it returns "FileNotFoundError: [Errno 2] No such file or directory: 'lsmod'"
2024-03-18 18:37:47 -05:00
PurpleWazard 971f40f0ca
Add conservation mode to lenovo laptops (#652)
* adding support for lenovo ideapad_laptop devices

* testing lenovo_laptop

* renamed functions

* fix code bugs

* updated readme with lenovo laptop conservation mode.
2024-03-11 07:09:26 +01:00
Parmjot de12f9f708
README: update maintainer list for AUR package (#662)
Added myself and liljaylj, alongside MusicalArtist12, who was already there.

Also bumped the package version listed here.
2024-03-10 11:21:35 +01:00
shadeyg56 0354775b72
README: update badge links 2024-03-03 16:18:00 -06:00
shadeyg56 ab32952737
README: update badges to correct repo 2024-03-03 16:17:15 -06:00
shadeyg56 166cd065a2
Create workflows for Linux builds and Nix flake builds (#659)
* Create build-linux.yml

* Update build-linux.yml

* build-linux: run as sudo

* Create nix-build.yaml

* Rename nix-build.yaml to build-nix.yaml

* build-nix: rename workflow to 'Nix Flake'

* README: add workflow status badges
2024-03-03 12:25:43 +01:00
monarkjain 0354ff6cc4
Updated error handling to provide specific message for rate limit exceeded condition (#657) 2024-02-25 19:40:04 -06:00
meator b4c5276feb
Fix SyntaxWarning in objects.py (#651)
\( and \) are invalid escape sequences in Python. This can generate warnings.
2024-02-23 17:06:40 -06:00
dependabot[bot] 13e9009d5c
Bump cryptography from 42.0.2 to 42.0.4 (#653)
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.2 to 42.0.4.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.2...42.0.4)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-22 19:39:20 +01:00
Adnan Hodzic 6ff1b89e22
Update README.md with battery thresholds config 2024-02-17 16:07:33 +01:00
dependabot[bot] ba5b5fb032
Bump cryptography from 42.0.0 to 42.0.2 (#648)
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.0 to 42.0.2.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.0...42.0.2)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-17 13:00:21 +01:00
Adnan Hodzic 7afd192ff9 v2.2.0 release 2024-02-14 17:47:37 +01:00
shadeyg56 9b8e873145
Update README with new battery thresholds feature (#644)
* README: add battery threshold sections

* README: link to version
2024-02-14 17:43:52 +01:00
PurpleWazard 1d7f12e846
added battery functions to --live (#646) 2024-02-14 06:20:45 +01:00
PurpleWazard 539914a545
Rebuilt battery scripts (#645)
* rebuilt thinkpad and ideapad

* updated conf example
2024-02-13 19:34:11 +01:00
PurpleWazard 005b4aa178
enable_tresholds config file improvements (Closes: #641) 2024-02-10 18:02:25 +01:00
dependabot[bot] 3e8ee20117
Bump cryptography from 41.0.6 to 42.0.0 (#638)
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.6 to 42.0.0.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.6...42.0.0)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-07 06:31:49 +01:00
PurpleWazard 1abad4da7b
Add battery charge thresholds limit (#637)
* 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
2024-02-07 06:27:56 +01:00
PhoenixCausesOof 68dec52bce
Fix dynamic boosting being incorrectly diagnosed (#631)
* Fix dynamic boosting being incorrectly diagnosed

* Fix indentation

* Fix bool literal
2024-01-24 05:33:24 +01:00
Adnan Hodzic e71edd8c30 Add ability to build snap for both amd64 & arm64 architecture 2024-01-21 15:24:57 +01:00
Lab Rat 27ca776029
Update README: add instruction for failing buildings in case of missing .git directory (#630) 2024-01-21 15:22:46 +01:00
hingen d2cb5a3761
Change check_for_update to not exit process on server connection error (#629)
Co-authored-by: hingen <1627313-hingen@users.noreply.gitlab.com>
2024-01-21 13:08:31 +01:00
Murray Gervais fe29620646
Add support for configuring/overriding "Energy Performance Preference (EPP)" (#619)
* 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
2023-12-29 08:11:27 +01:00
Hugh O'Brien 8938cc92d7
Update nix flake instructions (#617) 2023-12-17 15:44:48 -06:00
natewu 242cb0cb58
fix typo in dialog box (#618) 2023-12-17 06:33:09 +01:00
avatar1024 c523f51fd1
Update README.md (#611)
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).
2023-12-10 07:57:14 +01:00
dependabot[bot] cad325f265
Bump cryptography from 41.0.4 to 41.0.6 (#610)
Bumps [cryptography](https://github.com/pyca/cryptography) from 41.0.4 to 41.0.6.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/41.0.4...41.0.6)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-12-10 07:36:22 +01:00
shadeyg56 4dbad5539a
nix: bump version to 2.1.0 and update lock file (#609)
* Update flake.lock

* nix: bump version to 2.1.0
2023-11-25 00:27:58 -06:00
Adnan Hodzic 0d1178cba0 Update snapcraft.yaml to pick up version from pyproject.toml 2023-11-22 06:40:28 +01:00
Julia 8b4ff4b443
Update README to match changes to the AUR package (#606) 2023-11-22 06:22:13 +01:00
Julia 35a08192da
v2.1.0 tag update (#605) 2023-11-22 06:06:27 +01:00
Konstantin 15c17fc52c
fix dubious ownership error in auto-cpufreq-installer (#597)
When trying to install auto-cpufreq in Fedora 39, I got the following error: "Detected Git repository, but failed because of dubious ownership"
Adding the line at the top of the install function according to https://sam.hooke.me/note/2023/08/poetry-fixing-dubious-ownership-error/ solved the error for me.
2023-11-12 08:59:29 +01:00
blackpill0w 4ddff1f702
Add Syntax Highlighting to the Configuration File Example (#591) 2023-11-03 07:42:54 +01:00
Fredin 2e47f47b21
Add zenpower for AMD CPU temps (#590) 2023-11-03 07:40:37 +01:00
David C. Drake 929fdf6020
Fix img link and adjust text (#584)
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.
2023-10-28 08:22:02 +02:00
shadeyg56 34f3d23aa0
Feature: Allow GUI to detect available update and install it (#587)
* rename verify_update and give return value

* change verify_update call

* GUI: add update feature
2023-10-27 11:38:42 +02:00
shadeyg56 d3760eaf37
skip temp sensor that report as 0 2023-10-23 21:19:45 -05:00
shadeyg56 98cd5dd31f
README: update expired discord link 2023-10-19 14:06:51 -05:00
shadeyg56 6dde7441ee
Merge pull request #585 from AdnanHodzic/dependabot/pip/urllib3-2.0.7
Bump urllib3 from 2.0.6 to 2.0.7
2023-10-17 18:19:27 -05:00
dependabot[bot] 3414f4878a
Bump urllib3 from 2.0.6 to 2.0.7
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.6 to 2.0.7.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.0.6...2.0.7)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-17 21:12:32 +00:00
Lab Rat 5bf295d86a
Add support for shell completion (#580)
* feat: added supported for shell completions

* docs: completions flag instructions
2023-10-14 17:46:00 +02:00
Lab Rat 5d4ba17d69
auto-cpufreq-installer: removed dependence on record files for removal (#581)
* 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
2023-10-14 08:38:45 +02:00
shadeyg56 964f2f5efe
Merge pull request #582 from isabelroses/master
refactor(flake): improve usage
2023-10-13 16:59:07 -05:00
shadeyg56 78a86a1126 Nix: inherit system in module 2023-10-13 16:47:47 -05:00
shadeyg56 a79b3be822 Nix: remove darwin and fix icon 2023-10-13 16:47:16 -05:00
isabel 4165f9483b
revert: changes to module 2023-10-13 15:39:10 +01:00
isabel d710518c61
refactor(nix): reorganise files 2023-10-13 15:31:59 +01:00
Lab Rat 37e12a4266
Support for pyproject.toml (#576)
* feat: support for pyproject.toml

* Nix: Fix package to work with pyproject.toml

---------

Co-authored-by: shadeyg56 <shadeyg56@gmail.com>
2023-10-13 08:04:49 +02:00
shadeyg56 c3e2f83d7b
Merge pull request #578 from shadeyg56/wrapper-fix
wrapper: switch sh to bash (Void fix)
2023-10-11 17:19:43 -05:00