toggle menu
KAHelpers
androidJvm
switch theme
search in API
common
/
dev.funkymuse.common
/
BatteryStatusModel
Battery
Status
Model
data
class
BatteryStatusModel
(
val
isCharging
:
Boolean
,
val
isUsbCharging
:
Boolean
,
val
wirelessCharge
:
Boolean
,
val
isACCharging
:
Boolean
,
val
batteryCapacity
:
Float
,
val
batteryScale
:
Float
)
Members
Constructors
Battery
Status
Model
Link copied to clipboard
constructor
(
isCharging
:
Boolean
,
isUsbCharging
:
Boolean
,
wirelessCharge
:
Boolean
,
isACCharging
:
Boolean
,
batteryCapacity
:
Float
,
batteryScale
:
Float
)
Properties
battery
Capacity
Link copied to clipboard
val
batteryCapacity
:
Float
battery
Percentage
Link copied to clipboard
val
batteryPercentage
:
Int
battery
Scale
Link copied to clipboard
val
batteryScale
:
Float
charging
Type
Link copied to clipboard
val
chargingType
:
Int
AC Charge = 1 USB Charge = 2 Wireless charge = 3 Invalid type = -1
is
ACCharging
Link copied to clipboard
val
isACCharging
:
Boolean
is
Charging
Link copied to clipboard
val
isCharging
:
Boolean
is
Usb
Charging
Link copied to clipboard
val
isUsbCharging
:
Boolean
wireless
Charge
Link copied to clipboard
val
wirelessCharge
:
Boolean