summaryrefslogtreecommitdiffstats
path: root/src/app/data_harvester/batteries.rs
blob: 8c0e4a929413ff5d460212979887ab40f1721bf2 (plain)
1
2
3
4
5
6
7
8
9
10
//! Data collection for batteries.
//!
//! For Linux, macOS, Windows, FreeBSD, Dragonfly, and iOS, this is handled by the battery crate.

cfg_if::cfg_if! {
    if #[cfg(any(target_os = "windows", target_os = "macos", target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "ios"))] {
        pub mod battery;
        pub use self::battery::*;
    }
}