Class BatteryInfo
Information about the device's battery.
Implements
Namespace: Google.Maps.FleetEngine.V1
Assembly: Google.Maps.FleetEngine.V1.dll
Syntax
public sealed class BatteryInfo : IMessage<BatteryInfo>, IEquatable<BatteryInfo>, IDeepCloneable<BatteryInfo>, IBufferMessage, IMessage
Constructors
BatteryInfo()
Declaration
public BatteryInfo()
BatteryInfo(BatteryInfo)
Declaration
public BatteryInfo(BatteryInfo other)
Parameters
Type | Name | Description |
---|---|---|
BatteryInfo | other |
Properties
BatteryPercentage
Current battery percentage [0-100].
Declaration
public float BatteryPercentage { get; set; }
Property Value
Type | Description |
---|---|
float |
BatteryStatus
Status of the battery, whether full or charging etc.
Declaration
public BatteryStatus BatteryStatus { get; set; }
Property Value
Type | Description |
---|---|
BatteryStatus |
PowerSource
Status of battery power source.
Declaration
public PowerSource PowerSource { get; set; }
Property Value
Type | Description |
---|---|
PowerSource |