Skip to content

armgit / uzu

Public Imported from GitHub
0

A high-performance inference engine for AI models

253 B
Raw Blame
use serde::{Deserialize, Serialize};

use crate::units::Percent;

#[derive(Debug, Default, Clone, Serialize, Deserialize)]
pub struct BatteryMetrics {
    pub present: bool,
    pub percent: Percent,
    pub charging: bool,
    pub on_ac_power: bool,
}