pub trait PowerProfileMonitorExt: 'static {
    // Required methods
    fn is_power_saver_enabled(&self) -> bool;
    fn connect_power_saver_enabled_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId;
}
Available on crate feature v2_70 only.

Required Methods§

Implementors§