548 Commits

Author SHA1 Message Date
Eduardo Portilho
562278377f
fix: use scaling_max_freq for accurate max CPU clock detection (#866) 2025-07-20 09:56:13 +02:00
Pranaov S
bb1abd9342
docs: remove --completions flag README documentation (#862)
Removed in: f9b9fe42c90e176ec4104adcd3eb5e3b4d1823b6
2025-07-14 07:48:44 +02:00
JuanR4140
36aca759c4
Allow for overriding the CPU turbo setting via CLI and GUI. (#859)
* Allow for overriding the CPU turbo setting via CLI and GUI.

* Add Turbo mode override info to README

---------

Co-authored-by: JuanR4140 <N/A>
2025-06-30 06:54:55 +02:00
PhoenixCausesOof
fabeee6ed7
Fix auto-cpufreq --monitor reporting the "CPU frequency scaling" section wrong. (#855)
It used to always read the config file's "battery" section and report that, even if connected to a charger. I used a hacky solution (simply check the state of the battery, i.e., charging or not charging) and read the correct part of the config file based on that.
2025-06-29 08:39:48 +02:00
Sven Ziegler
ffa54fab6d
fix requests + update flake (#858) 2025-06-23 11:50:21 -05:00
dependabot[bot]
0e399a5485
Bump urllib3 from 2.3.0 to 2.5.0 (#854)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.3.0 to 2.5.0.
- [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.3.0...2.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-19 11:09:29 +02:00
shadeyg56
f8b5b5d458 nix: manually update requests 2025-06-11 20:50:53 -05:00
dependabot[bot]
75f1b147bc
Bump requests from 2.32.3 to 2.32.4 (#850)
Bumps [requests](https://github.com/psf/requests) from 2.32.3 to 2.32.4.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.32.3...v2.32.4)

---
updated-dependencies:
- dependency-name: requests
  dependency-version: 2.32.4
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-11 07:28:17 +02:00
Universel
becd5b8996
Fix the error linked to the path of the battery and generalize the solution (improve battery path detection) (#849) 2025-05-27 20:59:06 +02:00
Universel
a9a76de6ea
Fix the error linked to the path of the battery and generalize the solution (improve battery path detection) (#847) 2025-05-27 18:32:55 +02:00
Hannes
eaf8dd1bab
Replace magic-nix-cache-action (#843) 2025-05-09 07:49:38 +02:00
Integral
3ffbee11df
fix: rectify window icon under Wayland (#841)
Set the correct desktop filename to fix window icon under Wayland.
2025-05-03 12:34:14 +02:00
Adnan Hodzic
ad6e313dab v2.6.0 release v2.6.0 2025-04-23 12:10:23 +02:00
Genius-19
7862a3f4e5
Update battery threshold limit on Ideapad based on manufacturer settings (#838)
* idapad_fixed_threshold_manufacturer

* Update README.md

This is a specific config concerning model laptops with battery threshold limit value set by the manufacturer.

---------

Co-authored-by: autofreq <email@autofreq>
2025-04-23 11:36:09 +02:00
Adnan Hodzic
b6493edc70 Remove needs_confirmation & Readme update 2025-04-13 23:01:00 +02:00
Adnan Hodzic
f9b9fe42c9
Implement dedicated functionality to turn Bluetooth on/off at boot (#836)
* Add flag to turn off bluetooth on boot

* Add bluetooth on flag & completions

* Remove completions flag & add missing footer

* Explain bluetooth_boot_on/off options in Readme

* Remove message to cd into auto-cpufreq dir for Snap

* Add message how to enable bluetooth on boot during daemon install

* Add flag message for those using Snap package
2025-04-13 17:07:21 +02:00
Adnan Hodzic
6789cb6ce4 Update logic to determine and set PyGObject version in pyproject.toml based on libgirepository apt package version 2025-04-10 19:02:00 +02:00
Adnan Hodzic
8870b62b17 Revamp logic to install libgirepository-2.0-dev or 1.0-dev 2025-04-10 07:46:32 +02:00
scientiac
3898246f4b
fix: fix eval on NixOS (#830)
error: do not use python3Packages when building Python packages, specify
each used package as a separate argument
2025-04-04 11:52:59 +02:00
Aman Rawat
00be2a5d91
A Fix for GUI not launching in some cases and dependency management (#826)
* proposing addition of libgirepository-2.0-dev and PyGObject for GUI not launching on Linux mint and similar distros

* Update auto-cpufreq-installer

* here are the proposed changes, please make changes necessary

* rev of prescribed changes

* rev

* formatting
2025-03-30 11:09:03 +02:00
Adnan Hodzic
c6ba839f93
Update README.md
Update regarding needing user feedback for Battery charging thresholds testing & improvement.
2025-03-27 05:57:54 +01:00
Aidan Jimenez
dc385dd6a2
nix: fixed typo (#823) 2025-03-27 05:47:42 +01:00
shadeyg56
1d3593d162 nix: add pyasyncore dep 2025-03-25 09:32:15 -05:00
Devin McAnelly
af5fb382e1
Added pyasyncore to pyproject, fixing issue #601 (#822)
Changed python version requirement to >=3.9 to fix error:
pygobject requires Python <4.0,>=3.9, so it will not be satisfied for
Python >=3.8,<3.9
Changes to be committed:
	modified:   poetry.lock
	modified:   pyproject.toml
2025-03-25 07:29:35 +01:00
Grimmauld
8f026ac649
deps: allow psutil 7.x (#821)
This allows building with both psutil 6.x and 7.x. Closes #817.

Upstream [1] released psutil 7.0.0 recently, which caused a build failure on nixpkgs ci [2].
Checking release notes [3], `memory_info_ex` was removed (unused in auto-cpufreq),
and minimum python version requirements were increased to what this project uses already anyways.

[1] https://pypi.org/project/psutil/#history
[2] https://hydra.nixos.org/build/292453144/log
[3] https://github.com/giampaolo/psutil/blob/master/HISTORY.rst#700

Tested with:
```patch
diff --git a/flake.nix b/flake.nix
index ab3449b..89a11db 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,6 +1,6 @@
 {
   inputs = {
-    nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
+    nixpkgs.url = "github:NixOS/nixpkgs/staging-next";
   };

   outputs = {nixpkgs, ...} @ inputs: let
```
2025-03-22 13:01:15 +01:00
shadeyg56
f2c4a2d763 Pin PyGObject version
Fixes #813
2025-03-10 22:51:26 -05:00
shadeyg56
6be1547243 Fix CPU temp sensors 2025-03-01 01:19:15 -06:00
shadeyg56
beafca250f Add .direnv to .gitignore 2025-03-01 01:18:31 -06:00
shadeyg56
ffb56de246 nix: add urwid dependency 2025-03-01 01:17:47 -06:00
LAITH343
081dbda79c
Enhance CLI System Monitoring with a TUI (#810)
* create a cli for better visual monitor, live and stats

- created a system info module
- created system monitor module
- fixed avg_all_core_temp not defined

* fixed snap package error and added missing implementations
2025-03-01 06:43:55 +01:00
shadeyg56
e6bbd2c833
nix: fail evaluation if power-profiles-daemon is enabled (#809)
Fixes systemd service being killed on boot
2025-02-09 11:56:26 +01:00
shadeyg56
4cee388c1b Nix: Bump version to 2.5.0
Fixes popup in GUI
2025-01-21 16:07:33 -06:00
Adnan Hodzic
cef9bfec79 Remove old issue template 2025-01-17 06:58:47 +01:00
Adnan Hodzic
436022b69e Disable blank issues in issue template 2025-01-17 06:55:33 +01:00
Adnan Hodzic
9ead67d44f
Update issue templates to use new template workflow 2025-01-17 06:51:14 +01:00
Adnan Hodzic
d1892ba727
Update issue_template auto-cpufreq genAI agent formatting 2025-01-17 06:43:58 +01:00
Adnan Hodzic
f08f9c66ac Add "auto-cpufreq genAI chatbot" to Readme & Issue template 2025-01-17 06:30:41 +01:00
dependabot[bot]
d9cde7a6f2
Bump virtualenv from 20.24.5 to 20.26.6 (#806)
Bumps [virtualenv](https://github.com/pypa/virtualenv) from 20.24.5 to 20.26.6.
- [Release notes](https://github.com/pypa/virtualenv/releases)
- [Changelog](https://github.com/pypa/virtualenv/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pypa/virtualenv/compare/20.24.5...20.26.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-16 20:42:15 +01:00
Saumya
db54ea39e6
Update auto-cpufreq-installer (#808)
Changed python38 to python3 to solve an install error and also python3-setuptools were causing a conflict using python311-setuptools ended up solving that install.
2025-01-15 12:01:27 +01:00
Adnan Hodzic
c0d9ec565a auto-cpufreq v2.5.0 release v2.5.0 2025-01-10 08:07:08 +01:00
Adnan Hodzic
96fcf631ee
Add Battery charging thresholds feature deprecation notice
Update
2025-01-09 07:04:42 +01:00
Adnan Hodzic
3e4d8947d9
Update README.md
Add Battery charging thresholds feature deprecation notice
2025-01-09 06:58:56 +01:00
shadeyg56
4dae1d4b59 nix: fix patch 2024-12-02 15:42:30 -06:00
Uyonoh
19e57bde02
Add exec permission for --install, --remove, and cpufreqctl (#762) 2024-12-01 10:08:56 +01:00
Giovanni Geraci
18a3a93f62
refactor: remove unnecessary code lines for clarity and maintainability (#789) 2024-11-04 17:27:11 +01:00
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