Reference documentation and code samples for the Google Maps FleetEngine V1 Client class BatteryStatus.
Status of the battery, whether full or charging etc.
Protobuf type maps.fleetengine.v1.BatteryStatus
Namespace
Google \ Maps \ FleetEngine \ V1Methods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
UNKNOWN_BATTERY_STATUS
Value: 0
Battery status unknown.
Generated from protobuf enum UNKNOWN_BATTERY_STATUS = 0;
BATTERY_STATUS_CHARGING
Value: 1
Battery is being charged.
Generated from protobuf enum BATTERY_STATUS_CHARGING = 1;
BATTERY_STATUS_DISCHARGING
Value: 2
Battery is discharging.
Generated from protobuf enum BATTERY_STATUS_DISCHARGING = 2;
BATTERY_STATUS_FULL
Value: 3
Battery is full.
Generated from protobuf enum BATTERY_STATUS_FULL = 3;
BATTERY_STATUS_NOT_CHARGING
Value: 4
Battery is not charging.
Generated from protobuf enum BATTERY_STATUS_NOT_CHARGING = 4;
BATTERY_STATUS_POWER_LOW
Value: 5
Battery is low on power.
Generated from protobuf enum BATTERY_STATUS_POWER_LOW = 5;