mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-12 17:32:21 -04:00
Add gpu power profile(s) properties.
Add profiles property to give back available profiles on this device. Add profile property to get and set current gpu power profile. Filter possible properties when on deck. Get current profile based on position of * character. Get card0 path based on which cardX has vendor 0x1002 Add some basic tests. TODO: Possibly cache available properties instead of fetching repeatedly.
This commit is contained in:
parent
8c1baa152b
commit
0759ff7077
6 changed files with 261 additions and 4 deletions
|
@ -31,7 +31,7 @@ pub mod wifi;
|
|||
#[cfg(test)]
|
||||
mod testing;
|
||||
|
||||
const API_VERSION: u32 = 8;
|
||||
const API_VERSION: u32 = 9;
|
||||
|
||||
pub trait Service
|
||||
where
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue