Battery class abstract Sensor Data Source

Battery data.

Inheritance

Constructors

Battery.new()

Properties

acquisitionTime DateTime
Returns the acquisition time of this data sample in UTC.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
health BatteryHealth
Returns the battery health.
no setter
level int
Returns the battery level percentage.
no setter
lowBatteryNoticed bool
Returns whether a low battery warning has been noticed.
no setter
pluggedType PluggedType
Returns the plugged-in type.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state BatteryState
Returns the battery state.
no setter
temperature int
Returns the battery temperature.
no setter
type DataType
Returns the data type of this sense data.
no setterinherited
voltage int
Returns the 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