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.
* 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>
* 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
* 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
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
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
```
* 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
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.