feat(bluetooth): add battery indicator to devices with battery status

This commit is contained in:
Luca Biendl 2024-08-15 10:17:37 +02:00 committed by GitHub
parent e51ca81f7d
commit 8973374a80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 30 additions and 2 deletions

View file

@ -3,10 +3,12 @@
use std::{collections::HashMap, fmt::Debug, hash::Hash, mem, sync::Arc, time::Duration};
pub use bluer::DeviceProperty;
use bluer::{
agent::{Agent, AgentHandle},
Adapter, Address, DeviceProperty, Session, Uuid,
Adapter, Address, Session, Uuid,
};
use cosmic::iced::{
self,
futures::{SinkExt, StreamExt},