1 unstable release
0.1.0 | Jan 22, 2024 |
---|
#1686 in Hardware support
11KB
196 lines
Airinfo
A library to read battery and status info from Airpods and Beats
Example
use airinfo::find_pods;
#[tokio::main(flavor = "current_thread")]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let pods = find_pods().await?;
for pod in pods {
println!("POD: {:#?}", pod);
}
Ok(())
}
Dependencies
~5–34MB
~503K SLoC