library / com.github.pwittchen.rxbattery.library / BatteryState

BatteryState

data class BatteryState

Constructors

<init>

BatteryState(statusCode: Int, pluggedCode: Int, healthCode: Int, level: Int, temperature: Int, voltage: Int)

Properties

healthCode

val healthCode: Int

level

val level: Int

pluggedCode

val pluggedCode: Int

statusCode

val statusCode: Int

temperature

val temperature: Int

voltage

val voltage: Int

Functions

health

fun health(): Health

plugged

fun plugged(): Plugged

status

fun status(): Status