adjustor 3.4.2__tar.gz → 3.4.4__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. {adjustor-3.4.2/src/adjustor.egg-info → adjustor-3.4.4}/PKG-INFO +1 -1
  2. {adjustor-3.4.2 → adjustor-3.4.4}/pyproject.toml +1 -1
  3. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/drivers/amd/settings.yml +1 -1
  4. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/drivers/asus/__init__.py +2 -2
  5. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/drivers/asus/settings.yml +1 -0
  6. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/drivers/smu/__init__.py +5 -0
  7. {adjustor-3.4.2 → adjustor-3.4.4/src/adjustor.egg-info}/PKG-INFO +1 -1
  8. {adjustor-3.4.2 → adjustor-3.4.4}/LICENSE +0 -0
  9. {adjustor-3.4.2 → adjustor-3.4.4}/MANIFEST.in +0 -0
  10. {adjustor-3.4.2 → adjustor-3.4.4}/readme.md +0 -0
  11. {adjustor-3.4.2 → adjustor-3.4.4}/setup.cfg +0 -0
  12. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/__init__.py +0 -0
  13. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/__main__.py +0 -0
  14. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/core/__init__.py +0 -0
  15. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/core/acpi.py +0 -0
  16. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/core/alib.py +0 -0
  17. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/core/const.py +0 -0
  18. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/core/lenovo.py +0 -0
  19. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/core/platform.py +0 -0
  20. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/drivers/__init__.py +0 -0
  21. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/drivers/amd/__init__.py +0 -0
  22. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/drivers/amd/power-profiles-daemon.dbus.xml.in +0 -0
  23. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/drivers/amd/ppd.py +0 -0
  24. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/drivers/general/__init__.py +0 -0
  25. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/drivers/general/settings.yml +0 -0
  26. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/drivers/lenovo/__init__.py +0 -0
  27. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/drivers/lenovo/settings.yml +0 -0
  28. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/drivers/smu/qam.yml +0 -0
  29. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/drivers/smu/smu.yml +0 -0
  30. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/events.py +0 -0
  31. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/fuse/__init__.py +0 -0
  32. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/fuse/driver.py +0 -0
  33. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/fuse/gpu.py +0 -0
  34. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/fuse/utils.py +0 -0
  35. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/hhd.py +0 -0
  36. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/i18n.py +0 -0
  37. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor/settings.yml +0 -0
  38. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor.egg-info/SOURCES.txt +0 -0
  39. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor.egg-info/dependency_links.txt +0 -0
  40. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor.egg-info/entry_points.txt +0 -0
  41. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor.egg-info/requires.txt +0 -0
  42. {adjustor-3.4.2 → adjustor-3.4.4}/src/adjustor.egg-info/top_level.txt +0 -0
  43. {adjustor-3.4.2 → adjustor-3.4.4}/usr/share/dbus-1/system.d/hhd-net.hadess.PowerProfiles.conf +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: adjustor
3
- Version: 3.4.2
3
+ Version: 3.4.4
4
4
  Summary: Adjustor, a userspace program for managing the TDP of handheld devices.
5
5
  Author-email: Kapenekakis Antheas <pypi@antheas.dev>
6
6
  Project-URL: Homepage, https://github.com/hhd-dev/adjustor
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "adjustor"
3
- version = "3.4.2"
3
+ version = "3.4.4"
4
4
  authors = [
5
5
  { name="Kapenekakis Antheas", email="pypi@antheas.dev" },
6
6
  ]
@@ -26,7 +26,7 @@ enabled:
26
26
  children:
27
27
  cpu_pref:
28
28
  type: multiple
29
- title: CPU Power
29
+ title: CPU Power (EPP)
30
30
  tags: [ordinal]
31
31
  hint: >-
32
32
  Sets the energy performance preference for the CPU.
@@ -161,13 +161,13 @@ class AsusDriverPlugin(HHDPlugin):
161
161
  out["tdp"]["asus"]["children"]["tdp_v2"]["modes"]["balanced"]["unit"] = "17W"
162
162
  out["tdp"]["asus"]["children"]["tdp_v2"]["modes"]["performance"][
163
163
  "unit"
164
- ] = "25W"
164
+ ] = "25/30W"
165
165
  else:
166
166
  out["tdp"]["asus"]["children"]["tdp_v2"]["modes"]["quiet"]["unit"] = "10W"
167
167
  out["tdp"]["asus"]["children"]["tdp_v2"]["modes"]["balanced"]["unit"] = "15W"
168
168
  out["tdp"]["asus"]["children"]["tdp_v2"]["modes"]["performance"][
169
169
  "unit"
170
- ] = "20W"
170
+ ] = "25/30W"
171
171
 
172
172
  if not self.enforce_limits:
173
173
  out["tdp"]["asus"]["children"]["tdp_v2"]["modes"]["custom"]["children"]["tdp"][
@@ -53,6 +53,7 @@ children:
53
53
  cycle_tdp:
54
54
  type: bool
55
55
  title: Change TDP with View+Y
56
+ tags: [ non-essential ]
56
57
  hint: >-
57
58
  Allows you to cycle through TDP modes with the View+Y key combination.
58
59
  Recommended to use with ROG Swap, as the View button will be muted to games.
@@ -13,6 +13,7 @@ logger = logging.getLogger(__name__)
13
13
 
14
14
  PP_DELAY = 0.2
15
15
  APPLY_DELAY = 1
16
+ SLEEP_DELAY = 4
16
17
 
17
18
 
18
19
  class SmuQamPlugin(HHDPlugin):
@@ -206,6 +207,10 @@ class SmuQamPlugin(HHDPlugin):
206
207
  self.new_tdp = 15
207
208
  case "performance":
208
209
  self.new_tdp = 25
210
+
211
+ if ev['type'] == 'special' and ev.get('event', None) == "wakeup":
212
+ logger.info(f"Waking up from sleep, resetting TDP after {SLEEP_DELAY} seconds.")
213
+ self.queued = time.time() + SLEEP_DELAY
209
214
 
210
215
  def close(self):
211
216
  pass
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: adjustor
3
- Version: 3.4.2
3
+ Version: 3.4.4
4
4
  Summary: Adjustor, a userspace program for managing the TDP of handheld devices.
5
5
  Author-email: Kapenekakis Antheas <pypi@antheas.dev>
6
6
  Project-URL: Homepage, https://github.com/hhd-dev/adjustor
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes