Skip to main content

suspended

Function suspended 

Source
pub fn suspended() -> Duration
Expand description

How long this computer has been suspended since it started: what the boot clock has counted beyond the monotonic clock. It grows at each resume. Elsewhere than on Linux it stays zero.