29 Commits

Author SHA1 Message Date
Vadym Stupakov
48333670e5
fixed imports (#80)
* fixed imports
2020-08-06 21:58:01 +02:00
Vadym Stupakov
0e3f5c600b
Added sensor to --debug (#79)
* added inxi into snap.

* remove errors for inxi that occurs in snap env

* added sensors into debug output

- partially solves #74
- refactored

* Update core.py

fixed false renaming

* added warnings suppression

* added space after injection
2020-08-06 21:14:12 +02:00
Vadym Stupakov
a620951a3f
added inxi into snap. (#78)
* added inxi into snap.

* remove errors for inxi that occurs in snap env
2020-08-06 19:51:48 +02:00
Vadym Stupakov
7e02becb0b
Fix for amd (#76)
* added hot fix for snap for pop os
2020-08-06 17:30:47 +02:00
Vadym Stupakov
deefc1754a
added hot fix for snap for pop os (#75)
* added hot fix for snap for pop os
2020-08-06 17:24:06 +02:00
Vadym Stupakov
cfbcf651c7
K10temp (#73)
* fixed temperature for AMD

* fixes #72

* wrapped into try...except block
2020-08-06 12:35:12 +02:00
Adnan Hodzic
629ba521ff snap version bump + minor visual edit 2020-08-06 08:42:33 +02:00
Vadym Stupakov
4dc31892f6
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
ec6be50dde
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
3dfa06ea97
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
820b97cc93
Refactoring and fix for #14 (AMD issue) (#62)
* refactored and fixed amd coretemp
2020-08-04 18:22:38 +02:00
Mert Can Demir
18c5eb331f
Fix the EPP error for older CPUs (#48) 2020-03-24 20:53:10 +01:00
Mert Can Demir
abe463cfb7
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
08788a5bb7
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
3aebbd9a33 new location for daemon logs on snap 2020-02-12 15:22:43 +01:00
Adnan Hodzic
232450f936 code improvements for snap to work in strict confinement 2020-02-10 18:18:02 +01:00
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
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
c78ea8dd59 added option to detect if running on snap 2020-01-22 22:26:27 +01:00
Adnan Hodzic
144c7b5aeb added necessary files for snap + first working snap version 2020-01-21 23:44:42 +01:00