adjustor 3.1.0__tar.gz → 3.1.2__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. {adjustor-3.1.0/src/adjustor.egg-info → adjustor-3.1.2}/PKG-INFO +1 -1
  2. {adjustor-3.1.0 → adjustor-3.1.2}/pyproject.toml +1 -1
  3. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/drivers/amd/ppd.py +14 -4
  4. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/drivers/amd/settings.yml +1 -1
  5. {adjustor-3.1.0 → adjustor-3.1.2/src/adjustor.egg-info}/PKG-INFO +1 -1
  6. {adjustor-3.1.0 → adjustor-3.1.2}/LICENSE +0 -0
  7. {adjustor-3.1.0 → adjustor-3.1.2}/MANIFEST.in +0 -0
  8. {adjustor-3.1.0 → adjustor-3.1.2}/readme.md +0 -0
  9. {adjustor-3.1.0 → adjustor-3.1.2}/setup.cfg +0 -0
  10. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/__init__.py +0 -0
  11. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/__main__.py +0 -0
  12. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/core/__init__.py +0 -0
  13. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/core/acpi.py +0 -0
  14. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/core/alib.py +0 -0
  15. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/core/const.py +0 -0
  16. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/core/lenovo.py +0 -0
  17. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/core/platform.py +0 -0
  18. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/drivers/__init__.py +0 -0
  19. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/drivers/amd/__init__.py +0 -0
  20. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/drivers/amd/power-profiles-daemon.dbus.xml.in +0 -0
  21. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/drivers/asus/__init__.py +0 -0
  22. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/drivers/asus/settings.yml +0 -0
  23. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/drivers/lenovo/__init__.py +0 -0
  24. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/drivers/lenovo/settings.yml +0 -0
  25. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/drivers/smu/__init__.py +0 -0
  26. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/drivers/smu/qam.yml +0 -0
  27. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/drivers/smu/smu.yml +0 -0
  28. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/events.py +0 -0
  29. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/fuse/__init__.py +0 -0
  30. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/fuse/driver.py +0 -0
  31. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/fuse/gpu.py +0 -0
  32. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/fuse/utils.py +0 -0
  33. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/hhd.py +0 -0
  34. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/i18n.py +0 -0
  35. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor/settings.yml +0 -0
  36. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor.egg-info/SOURCES.txt +0 -0
  37. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor.egg-info/dependency_links.txt +0 -0
  38. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor.egg-info/entry_points.txt +0 -0
  39. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor.egg-info/requires.txt +0 -0
  40. {adjustor-3.1.0 → adjustor-3.1.2}/src/adjustor.egg-info/top_level.txt +0 -0
  41. {adjustor-3.1.0 → adjustor-3.1.2}/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.1.0
3
+ Version: 3.1.2
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.1.0"
3
+ version = "3.1.2"
4
4
  authors = [
5
5
  { name="Kapenekakis Antheas", email="pypi@antheas.dev" },
6
6
  ]
@@ -16,9 +16,9 @@ LEGACY_PATH = "/net/hadess/PowerProfiles"
16
16
  XML_PATH = "power-profiles-daemon.dbus.xml.in"
17
17
 
18
18
  SUPPORTED_PROFILES = {
19
- "performance": "performance",
20
- "balanced": "balanced",
21
19
  "power-saver": "power",
20
+ "balanced": "balanced",
21
+ "performance": "performance",
22
22
  }
23
23
  SUPPORTED_PROFILES_REVERSE = {v: k for k, v in SUPPORTED_PROFILES.items()}
24
24
 
@@ -76,12 +76,22 @@ def create_interface(legacy: bool):
76
76
  def GetAll(self, interface_name, sender=None):
77
77
  if interface_name == iface(legacy):
78
78
  return {
79
- "Actions": dbus.Array(self.actions, signature="s"),
79
+ "Actions": ["trickle_charge"],
80
80
  "ActiveProfile": self.profile,
81
81
  "ActiveProfileHolds": dbus.Array(self.profile_holds, signature="u"),
82
82
  "PerformanceDegraded": "",
83
83
  "PerformanceInhibited": "",
84
- "Profiles": [{"Profile": p} for p in SUPPORTED_PROFILES],
84
+ "Profiles": [
85
+ {
86
+ "Profile": dbus.String(p, variant_level=1),
87
+ "CpuDriver": dbus.String("amd_pstate", variant_level=1),
88
+ "PlatformDriver": dbus.String(
89
+ "platform_profile", variant_level=1
90
+ ),
91
+ "Driver": dbus.String("multiple", variant_level=1),
92
+ }
93
+ for p in SUPPORTED_PROFILES
94
+ ],
85
95
  "Version": "0.21",
86
96
  }
87
97
  else:
@@ -119,6 +119,6 @@ core:
119
119
  amd_energy_ppd:
120
120
  title: Enable PPD Emulation (KDE/Gnome Power)
121
121
  type: bool
122
- default: True
122
+ default: False
123
123
  hint: >-
124
124
  Enable PPD service to manage the power preferences for the system.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: adjustor
3
- Version: 3.1.0
3
+ Version: 3.1.2
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