Commit Graph

79 Commits

Author SHA1 Message Date
Adnan Hodzic 83796c458c snapcraft file refinement 2020-02-09 12:23:22 +01:00
Adnan Hodzic 93e7da4e4a display correct (host) distro information on snap 2020-02-09 09:16:48 +01:00
Adnan Hodzic 87752c1de6 code refactor 2020-02-08 21:18:47 +01:00
Adnan Hodzic cf7f553b2c extended disable running multiple instances functionality to snap 2020-02-08 20:35:39 +01:00
Adnan Hodzic 0627859711 disable running multiple instances (needs improvements on snap) 2020-02-08 17:08:04 +01:00
Adnan Hodzic 5ab8757696 daemon disabled on snap install, working install/remove 2020-02-08 14:32:58 +01:00
Adnan Hodzic 207c176ecb working remove/install of snap service 2020-02-06 22:48:34 +01:00
Adnan Hodzic ea2c868a9d enable snap service by default + name change 2020-02-06 19:58:03 +01:00
Adnan Hodzic 97d3754ad7 start snap systemd service if DAEMON env var set to ENABLED 2020-02-05 21:03:29 +01:00
Adnan Hodzic f30ae780ac minor code improvements/clean-up 2020-01-26 17:45:11 +01:00
Adnan Hodzic 19b8f9a083 improved daemon install/remove after setup.py install 2020-01-26 10:13:16 +01:00
Adnan Hodzic d6c0abe072 fixed daemon install/removal with setup.py 2020-01-25 17:39:17 +01:00
Adnan Hodzic d1f4dcd33b working daemon as part of snap (dirty) 2020-01-24 15:53:25 +01:00
Adnan Hodzic 577e00b74d fix display of help dialog in snap 2020-01-23 07:12:04 +01:00
Adnan Hodzic c78ea8dd59 added option to detect if running on snap 2020-01-22 22:26:27 +01:00
Adnan Hodzic ee813abfdd added deploy-cpufreqctl 2020-01-22 20:46:02 +01:00
Adnan Hodzic 144c7b5aeb added necessary files for snap + first working snap version 2020-01-21 23:44:42 +01:00
Adnan Hodzic 239a8a307c split auto-cpufreq into bin and source (core) 2020-01-21 22:20:54 +01:00
e4BdSBmUzHowFico5Ktn 0fa7d42cb1 set_powersave performance enhancement (#28)
now set_powersave only turns on turbo boost when all 1m load avg is higher than all available cores instead of 4 cores, this should work better for a broader range of cpus.
2020-01-12 08:04:24 +01:00
Mert Demir 4357c800b4 add power package for better power source control (#25)
* temp fix for https://github.com/giampaolo/psutil/issues/1658

* fix for missing set_performance()

* add power package for better power source status detecting

* remove redundant spaces

Co-authored-by: Adnan Hodzic <adnan@hodzic.org>
2020-01-12 07:07:22 +01:00
Adnan Hodzic 39f0e527c9
updated requirements for debian/redhat 2020-01-11 16:36:59 +01:00
Adnan Hodzic ff2f87ce6b set turbo boost off in performance if load/cpu usage is low 2020-01-08 19:40:11 +01:00
Adnan Hodzic 61f1115d63 switch to use platform.machine for displaying architecture (issue: 20) 2020-01-07 20:09:40 +01:00
John Athanaselis d907d9f300 Update cpufreqctl.sh (#19) 2020-01-07 20:03:20 +01:00
Adnan Hodzic 3b54f949b0 deploy unified (across distirbutions) systemd unit file (issue: #12) 2020-01-07 18:47:52 +01:00
Adnan Hodzic d7f7225407
Update README.md 2020-01-07 17:29:20 +01:00
Adnan Hodzic f103d534d8
Update README.md 2020-01-07 08:56:47 +01:00
aroundthfur 463fafbbff fix systemd unit file removal path (#13) 2020-01-05 20:52:06 +01:00
Adnan Hodzic a9466bc8b4 remove removal of daemon install marker 2020-01-05 17:40:39 +01:00
aroundthfur f8a61bc9d7 fix systemd unit file install path: some distros do nott have the `lib -> usr/lib` symlink (#8) 2020-01-05 17:34:18 +01:00
Mert Demir 95e380fa63 Fix typo (#11)
* Fix typo
2020-01-05 17:30:19 +01:00
Alexandre Viau e6bdb42cae typo: bettery -> battery (#5) 2020-01-05 11:33:35 +01:00
Adnan Hodzic 5f60df1621
Update README.md 2020-01-05 00:02:24 +01:00
aroundthfur b2a40774da Running check (#3)
* Check if the daemon is running by querying the PIDs on the system instead of a marker file

* code folded for better visibility

* code folded for better visibility

* adjust to naming conventions

* remove unused code

* make the `daemon running` warning more simple

Co-authored-by: Velimir <vivel@users.noreply.github.com>
2020-01-04 23:26:05 +01:00
Adnan Hodzic f5848e9cf2 added tool description 2020-01-04 20:38:39 +01:00
Adnan Hodzic 0c27f6a1b5
Merge pull request #1 from aroundthfur/master
Create logfile before starting the deamon
2020-01-04 20:36:11 +01:00
Velimir Iveljic 9bfcc9f97a Create logfile before starting the deamon
- on SELinux enabled systems, the daemon fails to start unless
  the logfile is already present, because the systemd unit file
  redirects the STDOUT to a file.
2020-01-04 19:36:20 +01:00
Adnan Hodzic f824dcf0e1 lowered refresh rate to 5s + updated README 2020-01-04 08:55:00 +01:00
Adnan Hodzic a56c4204af
Update README.md 2020-01-03 23:23:04 +01:00
Adnan Hodzic a7ffed3e93 fixed driver information display 2020-01-03 22:13:28 +01:00
Adnan Hodzic 5f56693683 set countdown to 10s 2020-01-03 21:26:01 +01:00
Adnan Hodzic 2d595f2203
added Youtube video to readme 2020-01-03 21:14:12 +01:00
Adnan Hodzic e5956183ff
Update README.md 2020-01-03 19:05:33 +01:00
Adnan Hodzic 0a8111e0a7
Update README.md 2020-01-03 16:48:03 +01:00
Adnan Hodzic 260ae8ce58
Update README.md 2020-01-03 16:39:35 +01:00
Adnan Hodzic 5cfac0de91 major code refactor and improvements 2020-01-03 16:27:41 +01:00
Adnan Hodzic 9cfdae49c5 systemd working with proper logging functionality 2020-01-03 14:09:07 +01:00
Adnan Hodzic 45071a1493 code refinement (working systemd) without logs 2020-01-02 23:30:55 +01:00
Adnan Hodzic 324b59a8da
First update to README 2020-01-02 19:12:34 +01:00
Adnan Hodzic b32f4952ce fixed a typo 2020-01-02 18:55:25 +01:00