data class BatteryState
BatteryState(statusCode: Int, pluggedCode: Int, healthCode: Int, level: Int, temperature: Int, voltage: Int) |
val healthCode: Int |
|
val level: Int |
|
val pluggedCode: Int |
|
val statusCode: Int |
|
val temperature: Int |
|
val voltage: Int |
fun health(): Health |
|
fun plugged(): Plugged |
|
fun status(): Status |