Crate uconsole_sleep

Crate uconsole_sleep 

Source
Expand description

Console Sleep Service Library Pure Rust implementation with zero external dependencies

Re-exports§

pub use config::Config;
pub use error::Error;
pub use hardware::CpuFreqConfig;
pub use hardware::wifi::WifiConfig;
pub use power_mode::PowerMode;
pub use power_mode::enter_saving_mode;
pub use power_mode::exit_saving_mode;
pub use hardware::*;

Modules§

args
config
Simple config file parsing helpers
error
Error handling - pure Rust implementation No external dependencies
hardware
Hardware detection modules
power_mode
Power mode helper - combines display toggling with CPU frequency changes