pub fn init(cfg: &Cfg) -> Result<()>
Initialise the PM subsystem.
Returns Error::InvalidParam if cfg values are invalid.
Error::InvalidParam
cfg