isPowerSaveMode

fun Context.isPowerSaveMode(): Boolean

Return

true if the device supports the PowerManager API and is set to power save mode. False otherwise.