We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb85851 commit fa68893Copy full SHA for fa68893
src/main.rs
@@ -22,10 +22,12 @@ fn main() {
22
23
24
fn cmd_status(_: &clap::ArgMatches) -> Result<()> {
25
- let dgpu_power = sys::dgpu::Device::open()?.get_power()?;
+ let opmode = sys::latch::Device::open()?.get_opmode()?;
26
let perf_mode = sys::perf::Device::open()?.get_mode()?;
27
+ let dgpu_power = sys::dgpu::Device::open()?.get_power()?;
28
29
println!("System Status:");
30
+ println!(" Device-Mode: {}", opmode);
31
println!(" Performance-Mode: {}", perf_mode);
32
println!(" dGPU-Power: {}", dgpu_power);
33
0 commit comments