diff --git a/dashboard/src/battery.rs b/dashboard/src/battery.rs index 5c7892f..6bfcd79 100644 --- a/dashboard/src/battery.rs +++ b/dashboard/src/battery.rs @@ -5,22 +5,22 @@ use tokio::{sync::mpsc::UnboundedSender, time::sleep}; use crate::{error::AppError, messages::EventMessage}; -#[derive(Copy, Clone, Debug)] -pub struct BatteryData { - state_of_health: Ratio, - state_of_charge: Ratio, - energy: Energy, - energy_full: Energy, - energy_full_design: Energy, - energy_rate: Power, - state: State, - voltage: ElectricPotential, - temperature: Option, - technology: Technology, - cycle_count: Option, - time_to_full: Option