mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-13 01:41:59 -04:00
manager: Add stub implementations of min/max properties
This commit is contained in:
parent
406988fbdf
commit
8d92fae7db
1 changed files with 24 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue