Class: Google::Maps::FleetEngine::V1::BatteryInfo

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/maps/fleetengine/v1/vehicles.rb

Overview

Information about the device's battery.

Instance Attribute Summary collapse

Instance Attribute Details

#battery_percentage::Float

Returns Current battery percentage [0-100].

Returns:

  • (::Float)

    Current battery percentage [0-100].



179
180
181
182
# File 'proto_docs/google/maps/fleetengine/v1/vehicles.rb', line 179

class BatteryInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#battery_status::Google::Maps::FleetEngine::V1::BatteryStatus

Returns Status of the battery, whether full or charging etc.

Returns:



179
180
181
182
# File 'proto_docs/google/maps/fleetengine/v1/vehicles.rb', line 179

class BatteryInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#power_source::Google::Maps::FleetEngine::V1::PowerSource

Returns Status of battery power source.

Returns:



179
180
181
182
# File 'proto_docs/google/maps/fleetengine/v1/vehicles.rb', line 179

class BatteryInfo
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end