1 2 3 4 5 6 7 8
use ioreg::IOReg; fn main() { println!( "{:?}", IOReg::apple_smart_battery().unwrap().power_telemetry_data ); }