Commit Graph

22 Commits

Author SHA1 Message Date
Vadym Stupakov e02f7a6881 implemented --debug option (#70)
* implemented --debug option
- Added --debug option that shows sys info
- Added inxi as dependency
- Implemented get_sys_info() that returns inxi output
  with injected governnor information
- Fixed bug: delete_file was called but this was deleted in prev PR
- Updated issue template
2020-08-05 23:49:23 +02:00
Vadym Stupakov c56c656193 switching to psutil in order to monitor charger state (#68)
* switching to psutil in order to monitor charger state
2020-08-05 21:31:10 +02:00
Vadym Stupakov c66721c0b5 Refactroring and amd support (#67)
* refactored and fixed amd coretemp

- added get_avail_powersave() (and performance).
  This function returns the most energy efficient governor.
  This should fix AMD issue when powersave is not available
  but "ondemand" or "schedutil" are present

- Cleaned up and refactoring.
  Added more convinient util fuctions.
  Also made it more pythonic, reduced subprocess calls.

- fixed get_curr_gov()

* fixed gov_check()
2020-08-05 21:12:59 +02:00
Vadym Stupakov d0243806e9 Refactoring and fix for #14 (AMD issue) (#62)
* refactored and fixed amd coretemp
2020-08-04 18:22:38 +02:00
Mert Can Demir 95489e28d0 Fix the EPP error for older CPUs (#48) 2020-03-24 20:53:10 +01:00
Mert Can Demir 9a6b9cf387 Add the feature that makes EPP changeable (#45)
* Add the feature that makes EPP changeable

* Remove .vscode folder

* Fix little statement thing

* implemented mechanism to backup/restore original cpufreqctl file

Co-authored-by: Adnan Hodzic <adnan@hodzic.org>
2020-03-21 16:11:18 +01:00
Mert Can Demir 2075940b19 Change some parameters for better use (#41)
@validatedev these changes look good and work as equally good. 

Thank you for your contribution, and looking forward to seeing any of your new MR's in future :)
2020-02-17 08:48:13 +01:00
Adnan Hodzic d48587ce9e new location for daemon logs on snap 2020-02-12 15:22:43 +01:00
Adnan Hodzic cda094fb89 code improvements for snap to work in strict confinement 2020-02-10 18:18:02 +01:00
Adnan Hodzic 467ff37f1b snapcraft file refinement 2020-02-09 12:23:22 +01:00
Adnan Hodzic ebaec15593 display correct (host) distro information on snap 2020-02-09 09:16:48 +01:00
Adnan Hodzic 29b85b8095 code refactor 2020-02-08 21:18:47 +01:00
Adnan Hodzic 16bc315da2 extended disable running multiple instances functionality to snap 2020-02-08 20:35:39 +01:00
Adnan Hodzic 33837c97a3 disable running multiple instances (needs improvements on snap) 2020-02-08 17:08:04 +01:00
Adnan Hodzic 71a8b92e04 daemon disabled on snap install, working install/remove 2020-02-08 14:32:58 +01:00
Adnan Hodzic 6b5fba3ac3 working remove/install of snap service 2020-02-06 22:48:34 +01:00
Adnan Hodzic 8a06de40cd minor code improvements/clean-up 2020-01-26 17:45:11 +01:00
Adnan Hodzic e3b207795b improved daemon install/remove after setup.py install 2020-01-26 10:13:16 +01:00
Adnan Hodzic 683141616f fixed daemon install/removal with setup.py 2020-01-25 17:39:17 +01:00
Adnan Hodzic efabcab056 working daemon as part of snap (dirty) 2020-01-24 15:53:25 +01:00
Adnan Hodzic 5aca2c5558 added option to detect if running on snap 2020-01-22 22:26:27 +01:00
Adnan Hodzic 1cc0099d22 added necessary files for snap + first working snap version 2020-01-21 23:44:42 +01:00