diff --git a/src/manager.rs b/src/manager.rs index a51240a..2e2a74c 100644 --- a/src/manager.rs +++ b/src/manager.rs @@ -271,10 +271,34 @@ impl SteamOSManager { set_gpu_clocks(clocks).await.is_ok() } + #[zbus(property)] + async fn manual_gpu_clock_min(&self) -> u32 { + // TODO: Can this be queried from somewhere? + 200 + } + + #[zbus(property)] + async fn manual_gpu_clock_max(&self) -> u32 { + // TODO: Can this be queried from somewhere? + 1600 + } + async fn set_tdp_limit(&self, limit: i32) -> bool { set_tdp_limit(limit).await.is_ok() } + #[zbus(property)] + async fn tdp_limit_min(&self) -> u32 { + // TODO: Can this be queried from somewhere? + 3 + } + + #[zbus(property)] + async fn tdp_limit_max(&self) -> u32 { + // TODO: Can this be queried from somewhere? + 15 + } + #[zbus(property)] async fn wifi_debug_mode_state(&self) -> u32 { // Get the wifi debug mode