Battery class abstract Sensor Data Source
Battery class
Constructors
- Battery()
Properties
- acquisitionTime → DateTime
-
Acquisition time
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- health → BatteryHealth
-
Get battery health.
no setter
- level → int
-
Get battery level percentage
no setter
- lowBatteryNoticed → bool
-
Check if a low battery warning has been noticed.
no setter
- pluggedType → PluggedType
-
Get plugged type.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → BatteryState
-
Get battery state.
no setter
- temperature → int
-
Get battery temperature.
no setter
- type → DataType
-
Get data type.
no setterinherited
- voltage → int
-
Get battery voltage in millivolts.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited