Reference documentation and code samples for the Google Maps FleetEngine V1 Client class BatteryInfo.
Information about the device's battery.
Generated from protobuf message maps.fleetengine.v1.BatteryInfo
Namespace
Google \ Maps \ FleetEngine \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ battery_status
int
Status of the battery, whether full or charging etc.
↳ power_source
int
Status of battery power source.
↳ battery_percentage
float
Current battery percentage [0-100].
getBatteryStatus
Status of the battery, whether full or charging etc.
int
setBatteryStatus
Status of the battery, whether full or charging etc.
var
int
$this
getPowerSource
Status of battery power source.
int
setPowerSource
Status of battery power source.
var
int
$this
getBatteryPercentage
Current battery percentage [0-100].
float
setBatteryPercentage
Current battery percentage [0-100].
var
float
$this