getAwakesDuration

fun getAwakesDuration(units: TimeUnit = TimeUnit.MINUTES): Long

Returns total duration of awakes for the day in specified time units. Default units: TimeUnit.MINUTES.

Return

total duration of awakes for the day in specified time units

Parameters

units

what units of time to return total duration of awakes