mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 09:23:19 +01:00
feature: rework PPT tuning handling more
1. Per profile, per-ac/dc 2. Do not apply unless group is enabled 3. Better reset/disable handling 4. Selecting a profile defaults PPT to off/disabled
This commit is contained in:
@@ -104,4 +104,12 @@ pub trait Platform {
|
||||
fn platform_profile(&self) -> zbus::Result<PlatformProfile>;
|
||||
#[zbus(property)]
|
||||
fn set_platform_profile(&self, platform_profile: PlatformProfile) -> zbus::Result<()>;
|
||||
|
||||
/// Set if the PPT tuning group for the current profile is enabled
|
||||
#[zbus(property)]
|
||||
fn enable_ppt_group(&self) -> zbus::Result<bool>;
|
||||
|
||||
/// Set if the PPT tuning group for the current profile is enabled
|
||||
#[zbus(property)]
|
||||
fn set_enable_ppt_group(&self, enable: bool) -> zbus::Result<()>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user