348 Commits

Author SHA1 Message Date
Adnan Hodzic
d04438ee81 auto-cpufreq 1.9.7 release v1.9.7 2022-12-05 06:42:23 +01:00
abvee
9a1c0ad44a
Improve auto-cpufreq installer ()
* Fixed seperator so that it prints to the lenght of the terminal and uses box lines instead of hyphens

* Replaced multiple echo calls with either a single echo call or a here
doc.
Here docs are more efficient as they only call once, and formatting
doesn't need to be done with escape characters, thus making code more
readable

* Moved header to the center

* Fixed _EOF_ error

* Fixed Indentation problem.
Moved $COLOUMN into seperator function, so if the terminal is resized
while the script is running, a new seperator should be resized as well.

* Added a header function as the "auto-cpufreq installer" heading comes up
multiple times.

Made local variables to allow for neat drawing when resizing the
terminal.

* Fixed spacing issue

* Replaced "=" with seperators and added blank lines

* Added a check for wrapper script. This allows uninstallation without the daemon needing to be installed
2022-12-05 06:32:51 +01:00
abvee
13edca0a61
Fix for auto-cpufreq-installer regression in ()
* Added an error message when the file isn't found

* $srv_install and $srv_remove are now at new locations
Created _old variables to keep track of old locations

* Added exit statement and specified daemon not removed

* Fixed some errors
2022-11-30 07:28:49 +01:00
abvee
70c58fba3a
Documentation update/revamp ()
* Fixed some grammar and punctuation

* Made more Grammar changes

* Added Post installation section

* Removed warning to not use `auto-cpufreq --install` as the issues
mentioned are already resolved, and auto-cpufreq --install works as
expected

* Added documentation for starting and enabling the daemon using just
systemd, and fixed some grammar.

* Added documentation for disabling with systemd

* Modified "How to run auto-cpufreq section" to include help options

* Fixed some formatting issues.
corrected location of power_helper.py script

* Made recommended changes

* Added index
Fixed a link

* Removed systemctl command, and added warning to use inbuilt commands

* Added instruction to clone the repo
2022-11-27 16:56:55 +01:00
Gimbles
122dd0f96c
Use usr/local/bin instead of usr/bin for Silverblue and other immutable OSs ()
* usr/local/bin instead of usr/bin/

* fix shebang
2022-11-24 17:44:57 +01:00
Adnan Hodzic
d77c1de6d6 Removed battery percentage 2022-11-18 06:29:15 +01:00
Adnan Hodzic
d26ec98837 Add missing display system load average info 2022-11-13 19:17:35 +01:00
Ben
d60642720a
Fixed bug where turbo boost will always be on in performance mode ()
* Fixed bug where Turbo Boost is always on in performance mode

* Removed debugging prints

* Added new line at EOF
2022-11-12 06:23:45 +01:00
Adnan Hodzic
2ae8ed4be2 Round battery cha/discharging percentage display 2022-11-12 06:20:52 +01:00
Adnan Hodzic
6e74a95f10 Add functionality to display system load average 2022-11-12 06:02:26 +01:00
John Seekins
3e28e79e28
add wheel to dependencies (speed up install) ()
Signed-off-by: John Seekins <john@civiceagle.com>

Signed-off-by: John Seekins <john@civiceagle.com>
2022-11-11 06:12:59 +01:00
Tobias
ff72e1e0f3
fixed battery_percentage () 2022-10-11 06:29:05 +02:00
Adnan Hodzic
e813301aa8 Fix typo in issue template 2022-10-03 20:40:54 +02:00
BowDown097
43b33be51c
battery_percentage fix () 2022-09-25 18:50:53 +02:00
Adnan Hodzic
00a6ab2d27 1.9.6 version bump (release) v1.9.6 2022-09-11 15:03:00 +02:00
xd003
ac0a4b5e72
Adding both Binary & Git AUR package along with Note for unmaintained git package () 2022-09-10 18:36:46 +02:00
Tobias
98569ad71a
SunkenHero Code optimization & addition of battery percentage ()
* Added fan speed display

* optimizations in temperatures

* Simplified charging function and added percentage display

* change print battery status

* Fixed charging not returning boolean

* battery_percentage returns now rounded value insead of 10 decimals

* changed charging function back

* changed charging back and some display changes

* little fix at display battery percentage

* battery percentage not showing %
2022-09-10 14:02:17 +02:00
hingen
620433d78d
Replaced obsolete "egrep" calls with "grep -E" () 2022-09-10 08:37:19 +02:00
SunkenHero
1a35c3ca01
Added fan speed display () 2022-09-08 07:46:34 +02:00
Martin Andersson
7573df7bb2
Omit the --all flag from calling nproc to get actual number of cores instead of threads. () 2022-08-22 16:42:09 +02:00
Anas
8fbb5ea624
add s6 script for auto-cpufreq install ()
* add s6 script.

* fixing s6 init system with reload and call s6-svscan

* Fix my typo.

forgot to add slash to this dir.

* repalce reload init in bottom

* replace the samethings like install section

Co-authored-by: Anas <AnasR7@protonmail>
2022-08-15 12:40:39 +02:00
Martin Andersson
dad1c819fd
Don't overwrite /usr/bin/cpufreqctl.auto-cpufreq excessively. ()
Looks like the behavior of constantly overwriting it was not intended,
but introduced inadvertently in a91d4ba36e5f42d025b3978ee1178441b52a372f
2022-08-15 12:32:54 +02:00
Martin Andersson
f67e909b59
Catch exception in call to psutil .cmdline() ()
There's a race condition where processes might disappear while filtering. The uncaught exception causes a crash.
v1.9.5
2022-08-10 14:23:58 +02:00
Adnan Hodzic
7b81b4aa30 Merge branch '1.9.5' 2022-08-09 20:26:19 +02:00
Adnan Hodzic
559350f3ef Add --install_performance option to help menu 2022-08-02 09:27:57 +02:00
Ishaan Bhimwal
29d5d87ded
fix multiple typos as reported by typos () 2022-07-31 08:14:27 +02:00
tacheometry
812e97d8d9
Fix daemon typo () 2022-07-28 09:35:52 +02:00
Musa Ahmed
a1c93a4d4d
Running "auto-cpufreq" itself returns an error ()
Running "auto-cpufreq" itself returns an error so I added the "--help" flag so the user know how to see the available options.
2022-07-19 16:53:38 +02:00
Adnan Hodzic
e1637fa85e Update to core22 & v1.9.5 bump 2022-06-17 07:04:17 +02:00
Adnan Hodzic
cde4cbeb45
Updated Readme how to use performance mode 2022-06-11 18:45:25 +02:00
Adnan Hodzic
fa5d86669f Updated issue template & README 2022-06-10 07:45:32 +02:00
Adnan Hodzic
d9295f4cf2 Revamped how log file is emptied v1.9.4 2022-06-05 20:10:33 +02:00
Adnan Hodzic
c8f9095067 Real time auto-cpufreq refresh 2022-06-05 17:44:33 +02:00
Adnan Hodzic
06b188438b version 1.9.4 2022-05-23 14:59:18 +02:00
Jeroenvb
fbd4863213
Fixed where average all core temp is displayed with too many decimals. ()
* Fixed where average all core temp is displayed with too many decimals.

* Made both total system load, and avg temp 2 decimals in cleaner .format form.
2022-05-23 05:37:49 +02:00
Adnan Hodzic
ae1f53c737 Update Git issue template 2022-03-11 07:46:53 +01:00
Adnan Hodzic
58167e8cd8 1.9.3 release v1.9.3 2022-03-10 07:04:42 +01:00
Adnan Hodzic
a84b7a2900 Improve detection if Snap is installed 2022-03-10 07:04:42 +01:00
Adnan Hodzic
b7fba8e444
Add looking for co-maintainers/developers 2022-03-08 07:14:16 +01:00
Adnan Hodzic
f65dba3625 Improved power_helper snap package detection v1.9.2 2022-02-20 07:59:59 +01:00
Adnan Hodzic
a15e594fba Add check for performance governor in available governors 2022-02-19 15:22:43 +01:00
Adnan Hodzic
8ff85e9371 Revamped performance mode install on non Snap env 2022-02-19 14:49:34 +01:00
Adnan Hodzic
c92d907d6e auto-cpufreq v1.9.2 release 2022-02-09 17:15:53 +01:00
Adnan Hodzic
ad7f350c89 Update README with Configuring auto-cpufreq section 2022-02-07 21:31:14 +01:00
Adnan Hodzic
c892ac0cf0 Refactorng in case power profile daemon already disabled 2022-02-07 20:30:35 +01:00
Adnan Hodzic
f909f11361 Add default gnome_power_svc_disable func 2022-02-07 18:40:14 +01:00
Adnan Hodzic
9875178435 Improvements regarding GNOME power profiles 2022-02-06 22:46:22 +01:00
Adnan Hodzic
0558c7cf37 Extend gnome_power_profiles to use profiles 2022-02-06 16:54:56 +01:00
Adnan Hodzic
8fb5469ace v1.9.1 release & Github issue template update v1.9.1 2022-01-09 14:03:35 +01:00
Ismael Arias
5e503f89c2
Fixed the --version command when installed from source ()
* Fixed the --version command when installed from source ()

The command only worked when running it inside the git repository.

Now, it works from everywhere, and the version is constructed using
the latest git tag and the SHA of the latest commit, which may help
with further debugging in future issues.

* Improving version output.

Renaming version_config to setuptools_git_versioning to be compliant with new plugin version.

Formatted the version when a git hash is present for a better readability.

The version is set in the setup.py file. This will be used for the tar.gz releases.
Snap version is also retrieved from setup.py too, so we avoid code repetition.
2022-01-09 13:49:41 +01:00