Commit Graph

503 Commits

Author SHA1 Message Date
Giovanni Geraci d45a31853c
Improve tuned detection (#788) 2024-11-04 06:53:59 +01:00
расходный материал 41081a5bdf
nix: fix prevent-install-and-copy.patch (#787) 2024-11-03 17:21:17 +01:00
Giovanni Geraci 6a13948458
Add support for Fedora 41 (TuneD) | #786 2024-11-02 17:30:51 +01:00
Anton 7b03630a5e
Added notes to the documentation about the default `energy_perf_bias` settings (#774)
* added additional clarification for the default `energy_perf_bias` settings

* fixed typo in the `epb` verbose message for cpufreqctl
2024-09-12 19:32:30 +02:00
Vincent Johansson 3e52842022
Fixed wrong sensor being monitored (AMD) (#772)
Instead of only looking for 'CPU' temp.label, I added that it should
look for 'Tctl', as that is the sensor for average temp on my 7800X3D
cpu.
2024-09-09 17:50:01 +02:00
Anton 08d95b6bec
Add EPB (Energy Performance Bias) settings support (#771)
* Added `energy_perf_bias` support for intel_pstate driver

* Refactored epb part, added doc for energy_perf_bias settings
2024-09-09 17:46:38 +02:00
Adnan Hodzic a42e8fb51e v2.4.0 release 2024-09-05 07:35:37 +02:00
Adnan Hodzic 163a1f9399 Add reference to post install configuration 2024-09-05 07:33:06 +02:00
dependabot[bot] 927ff7281a
Bump cryptography from 42.0.4 to 43.0.1 (#768)
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.4 to 43.0.1.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.4...43.0.1)

---
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-09-04 18:25:55 +02:00
Adnan Hodzic 1c11ca3139 Fix auto-cpufreq --daemon not persisting across reboot 2024-08-31 21:45:56 +02:00
Adnan Hodzic 429bf7672f Fix Snap package daemon check 2024-08-24 13:56:30 +02:00
Adnan Hodzic 64af2b4ec6 Make certain dialogs clearer & fix superfluous snap message 2024-08-24 12:15:18 +02:00
Geffo029 7925c21023
Fix check_conservation_mode() function in ideapad_laptop.py (#766) 2024-08-23 14:52:29 +02:00
Adnan Hodzic e2d605085c More elaborate warning message about GNOME profiles daemon 2024-08-18 15:44:09 +02:00
Michal Vu 1122c907a8
Adding Gentoo Install section (#764)
* Adding Gentoo Install section

* Adding the relevant links to check ebuild source code, contact maintainers and file bug reports
2024-08-18 15:00:41 +02:00
PurpleWazard 484742a683
Ignoring power supplies FIX #753 (#760)
* added the abilty to ignore certain power supplies

* changed config file for ignoring power supplies

* updated exapmle config file for ignoring power supplies

* updated docs with ignoring power supplies

* Update README.md

Update image URL's

* Add support for setting "Platform Profile" (#752)

* Add support for setting "Platform Profile"

* Add reference for Platform Profile

* Fix unsafe access to PATH (#756)

* Fix unsafe access to PATH

* Fix leading separator if PATH is empty

* Unpin psutil and requests (#759)

* Remove network-online.target as a systemd-service dependency (improve boot time). Closes: #739

* minor grammer correction.

* removed wonky file

---------

Co-authored-by: Adnan Hodzic <adnan@hodzic.org>
Co-authored-by: Harsh Panchal <BOOTMGR@users.noreply.github.com>
Co-authored-by: BowDown097 <42720004+BowDown097@users.noreply.github.com>
Co-authored-by: shadeyg56 <31134255+shadeyg56@users.noreply.github.com>
2024-08-05 09:18:10 -05:00
Adnan Hodzic 27f0690564 Remove network-online.target as a systemd-service dependency (improve boot time). Closes: #739 2024-08-04 18:31:00 +02:00
shadeyg56 c6a4580e85
Unpin psutil and requests (#759) 2024-08-04 10:34:19 +02:00
BowDown097 a1ac308be7
Fix unsafe access to PATH (#756)
* Fix unsafe access to PATH

* Fix leading separator if PATH is empty
2024-08-04 10:20:49 +02:00
Harsh Panchal 7ac55199f2
Add support for setting "Platform Profile" (#752)
* Add support for setting "Platform Profile"

* Add reference for Platform Profile
2024-08-04 10:15:46 +02:00
Adnan Hodzic 42a1239068
Update README.md
Update image URL's
2024-08-04 08:46:02 +02:00
shadeyg56 a14d06ce94
add shell=True to lsmod commnad
Fixes #740

Using shell=True is fine here because the shell command doesn't take in any user input
2024-07-29 15:01:00 -05:00
Svenum c7bab0e36f
update flake + remove patch from newer pyinotify version in nixpkgs (#747) 2024-07-23 13:36:50 -05:00
Angel 4ef561eccf
Show error message if threshold file doesn't exist (#742)
* Show error message if threshold file doesn't exist

* Repare stop threshold message

* Repare check_output error
2024-07-18 20:02:59 +02:00
Arvin Verain 910aef9072
Fix AVAILABLE_GOVERNORS (#744) 2024-07-18 19:56:42 +02:00
Angel 6f7e469e66
Code refactoring, more readable and easier to modify (#736)
* Add global variables

* Add global variables

* Code refactoring

* Refactoring
2024-07-16 16:37:04 +02:00
Abhishek Girish 34ebd04df0
Fix issue where epp cannot be set in `powersave` governor (#738)
* Fix issue where epp cannot be set in `powersave` governor

* Fix issue where epp cannot be set in `powersave` governor #2
2024-07-15 19:35:47 +02:00
dependabot[bot] 432883acee
Bump zipp from 3.17.0 to 3.19.1 (#735)
Bumps [zipp](https://github.com/jaraco/zipp) from 3.17.0 to 3.19.1.
- [Release notes](https://github.com/jaraco/zipp/releases)
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst)
- [Commits](https://github.com/jaraco/zipp/compare/v3.17.0...v3.19.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-13 12:15:23 +02:00
dependabot[bot] f300d31e0f
Bump certifi from 2023.7.22 to 2024.7.4 (#732)
Bumps [certifi](https://github.com/certifi/python-certifi) from 2023.7.22 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2023.07.22...2024.07.04)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-06 09:41:36 +02:00
Abhishek Girish d09063f116
Use `performance` EPP in AMD CPUs when using `performance` governor (#725) 2024-06-23 16:23:44 +02:00
Adnan Hodzic 2fdb703b96
Update README.md
Add Github sponsor message as part of Donate part.
2024-06-18 14:04:36 +02:00
dependabot[bot] f1c812cf56
Bump urllib3 from 2.0.7 to 2.2.2 (#723)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.0.7 to 2.2.2.
- [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.7...2.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 08:54:05 +02:00
Angel a7df94d832
Fix #715, #713, #634 issues (#716)
* Remove | in type

* Repare battery read problem

* Compatible with many arguments
2024-06-07 18:47:01 +02:00
shadeyg56 1e44c8031c Nix: fix module 2024-06-04 08:11:33 -05:00
Isabel 7313ec9b8c
nix: add overlay; use best practices (#718)
* feat(nix): add overlay

* refactor(nix): use best practices

* chore: update flake inputs

* refactor(nix): remove unused replace
2024-06-03 16:56:10 -05:00
dementive 3f6d7a3e77
Refactor charging function (#702)
* Removed the `else` from the top level of the charging() function, the logic is the same but slightly easier to read now.

* Use os.path.exists() in the charging() function before opening the file instead of FileNotFoundError exceptions, makes the function a lot easier to read.

* Close the power_supply_type_path after reading the supply_type as it is not used later.

* Remove `else: continue` from the end of the charging() function for loop, this didn't actually do anything.

I tested the charging() function on my laptop plugged in and plugged out and it is still working as expected with these changes.
2024-05-25 17:09:54 +02:00
shadeyg56 487c344da3
Nix: fix duplicated package (#701) 2024-05-25 17:02:57 +02:00
shadeyg56 a5ffa5730b Nix: add 'getent' package
Fixes #704
2024-05-21 22:49:41 -05:00
Svenum e878dd51fe
fix build (#708) 2024-05-21 18:43:05 -05:00
shadeyg56 420648f5f1
Fix runit daemon deployment
Fixes #706
2024-05-21 11:01:25 -05:00
dependabot[bot] 2b09bf7543
Bump requests from 2.31.0 to 2.32.0 #705
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-21 17:13:07 +02:00
shadeyg56 1f911b534c batteries: use actual battery name instead of index 2024-05-14 17:46:51 -05:00
Angel cc6d98d8b1
Minor refactor: code clean-up & make it more readable (#695)
* Clean code

* Back

* Clean code

* Back

* Clean code

* Change arch based detection
2024-05-12 16:16:40 +02:00
yezarniko a79ec81709
critical name error in auto-cpufreq --stats (#696) 2024-05-10 13:19:57 -05:00
parmjotsinghrobot 14e1d2785d
Change username for contributor (#694)
I forgot to update it here.
2024-05-10 08:05:40 +02:00
Angel eb0ba8aa7e
Improve compatible for Arch based distributions (#691)
* Add dinit

* Add dinit

* Change arch based informations

* More compatible for Arch based distributions

* More compatible for Arch based distributions

* Clean code

* Clean code
2024-05-09 23:34:07 +02:00
Julia b8f864e87e
Use Repology badge for automatic AUR version updating (#692)
https://repology.org/project/auto-cpufreq/badges
2024-05-09 21:54:50 +02:00
Angel 281a7adc34
Add dinit init system (#690)
* Add dinit support
2024-05-09 18:26:50 +02:00
Adnan Hodzic 78c3f71438 v2.3.0 release 2024-05-09 10:07:52 +02:00
PurpleWazard 95ba1f42bd
Add warnings for charge thresholds (#679)
* add warning messages to thinkpad

* added warnings to laptop_acpi

* added warnings to ideapad_laptop

* formatted the battery output and added stats to --debug and --status

* formated --stats better with battery info

* removed blank lines in battery info

* fixed typo: --stats battery info
2024-05-09 09:10:15 +02:00