Class: Google::Maps::FleetEngine::V1::BatteryInfo
- Inherits:
-
Object
- Object
- Google::Maps::FleetEngine::V1::BatteryInfo
- 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
-
#battery_percentage ⇒ ::Float
Current battery percentage [0-100].
-
#battery_status ⇒ ::Google::Maps::FleetEngine::V1::BatteryStatus
Status of the battery, whether full or charging etc.
-
#power_source ⇒ ::Google::Maps::FleetEngine::V1::PowerSource
Status of battery power source.
Instance Attribute Details
#battery_percentage ⇒ ::Float
Returns 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.
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.
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 |