# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: battery_state.proto

from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


import header_pb2 as header__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='battery_state.proto',
  package='synapse.msgs',
  syntax='proto3',
  serialized_options=None,
  create_key=_descriptor._internal_create_key,
  serialized_pb=b'\n\x13\x62\x61ttery_state.proto\x12\x0csynapse.msgs\x1a\x0cheader.proto\"\xa5\x07\n\x0c\x42\x61tteryState\x12$\n\x06header\x18\x01 \x01(\x0b\x32\x14.synapse.msgs.Header\x12\x0f\n\x07voltage\x18\x02 \x01(\x01\x12\x13\n\x0btemperature\x18\x03 \x01(\x01\x12\x0f\n\x07\x63urrent\x18\x04 \x01(\x01\x12\x0e\n\x06\x63harge\x18\x05 \x01(\x01\x12\x10\n\x08\x63\x61pacity\x18\x06 \x01(\x01\x12\x17\n\x0f\x64\x65sign_capacity\x18\x07 \x01(\x01\x12\x12\n\npercentage\x18\x08 \x01(\x01\x12I\n\x13power_supply_status\x18\t \x01(\x0e\x32,.synapse.msgs.BatteryState.PowerSupplyStatus\x12I\n\x13power_supply_health\x18\n \x01(\x0e\x32,.synapse.msgs.BatteryState.PowerSupplyHealth\x12Q\n\x17power_supply_technology\x18\x0b \x01(\x0e\x32\x30.synapse.msgs.BatteryState.PowerSupplyTechnology\x12\x0f\n\x07present\x18\x0c \x01(\x08\x12\x14\n\x0c\x63\x65ll_voltage\x18\r \x03(\x01\x12\x18\n\x10\x63\x65ll_temperature\x18\x0e \x03(\x01\x12\x10\n\x08location\x18\x0f \x01(\t\x12\x15\n\rserial_number\x18\x10 \x01(\t\"b\n\x11PowerSupplyStatus\x12\x12\n\x0eUNKNOWN_STATUS\x10\x00\x12\x0c\n\x08\x43HARGING\x10\x01\x12\x0f\n\x0b\x44ISCHARGING\x10\x02\x12\x10\n\x0cNOT_CHARGING\x10\x03\x12\x08\n\x04\x46ULL\x10\x04\"\xac\x01\n\x11PowerSupplyHealth\x12\x12\n\x0eUNKNOWN_HEALTH\x10\x00\x12\x08\n\x04GOOD\x10\x01\x12\x0c\n\x08OVERHEAT\x10\x02\x12\x08\n\x04\x44\x45\x41\x44\x10\x03\x12\x0f\n\x0bOVERVOLTAGE\x10\x04\x12\x12\n\x0eUNSPEC_FAILURE\x10\x05\x12\x08\n\x04\x43OLD\x10\x06\x12\x19\n\x15WATCHDOG_TIMER_EXPIRE\x10\x07\x12\x17\n\x13SAFETY_TIMER_EXPIRE\x10\x08\"\x82\x01\n\x15PowerSupplyTechnology\x12\x16\n\x12UNKNOWN_TECHNOLOGY\x10\x00\x12\x08\n\x04NIMH\x10\x01\x12\x08\n\x04LION\x10\x02\x12\x08\n\x04LIPO\x10\x03\x12\x08\n\x04LIFE\x10\x04\x12\x08\n\x04NICD\x10\x05\x12\x08\n\x04LIMN\x10\x06\x12\x0b\n\x07TERNARY\x10\x07\x12\x08\n\x04VRLA\x10\x08\x62\x06proto3'
  ,
  dependencies=[header__pb2.DESCRIPTOR,])



_BATTERYSTATE_POWERSUPPLYSTATUS = _descriptor.EnumDescriptor(
  name='PowerSupplyStatus',
  full_name='synapse.msgs.BatteryState.PowerSupplyStatus',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='UNKNOWN_STATUS', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='CHARGING', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='DISCHARGING', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='NOT_CHARGING', index=3, number=3,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='FULL', index=4, number=4,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=579,
  serialized_end=677,
)
_sym_db.RegisterEnumDescriptor(_BATTERYSTATE_POWERSUPPLYSTATUS)

_BATTERYSTATE_POWERSUPPLYHEALTH = _descriptor.EnumDescriptor(
  name='PowerSupplyHealth',
  full_name='synapse.msgs.BatteryState.PowerSupplyHealth',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='UNKNOWN_HEALTH', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='GOOD', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='OVERHEAT', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='DEAD', index=3, number=3,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='OVERVOLTAGE', index=4, number=4,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='UNSPEC_FAILURE', index=5, number=5,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='COLD', index=6, number=6,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='WATCHDOG_TIMER_EXPIRE', index=7, number=7,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='SAFETY_TIMER_EXPIRE', index=8, number=8,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=680,
  serialized_end=852,
)
_sym_db.RegisterEnumDescriptor(_BATTERYSTATE_POWERSUPPLYHEALTH)

_BATTERYSTATE_POWERSUPPLYTECHNOLOGY = _descriptor.EnumDescriptor(
  name='PowerSupplyTechnology',
  full_name='synapse.msgs.BatteryState.PowerSupplyTechnology',
  filename=None,
  file=DESCRIPTOR,
  create_key=_descriptor._internal_create_key,
  values=[
    _descriptor.EnumValueDescriptor(
      name='UNKNOWN_TECHNOLOGY', index=0, number=0,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='NIMH', index=1, number=1,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='LION', index=2, number=2,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='LIPO', index=3, number=3,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='LIFE', index=4, number=4,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='NICD', index=5, number=5,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='LIMN', index=6, number=6,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='TERNARY', index=7, number=7,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
    _descriptor.EnumValueDescriptor(
      name='VRLA', index=8, number=8,
      serialized_options=None,
      type=None,
      create_key=_descriptor._internal_create_key),
  ],
  containing_type=None,
  serialized_options=None,
  serialized_start=855,
  serialized_end=985,
)
_sym_db.RegisterEnumDescriptor(_BATTERYSTATE_POWERSUPPLYTECHNOLOGY)


_BATTERYSTATE = _descriptor.Descriptor(
  name='BatteryState',
  full_name='synapse.msgs.BatteryState',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  create_key=_descriptor._internal_create_key,
  fields=[
    _descriptor.FieldDescriptor(
      name='header', full_name='synapse.msgs.BatteryState.header', index=0,
      number=1, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='voltage', full_name='synapse.msgs.BatteryState.voltage', index=1,
      number=2, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='temperature', full_name='synapse.msgs.BatteryState.temperature', index=2,
      number=3, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='current', full_name='synapse.msgs.BatteryState.current', index=3,
      number=4, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='charge', full_name='synapse.msgs.BatteryState.charge', index=4,
      number=5, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='capacity', full_name='synapse.msgs.BatteryState.capacity', index=5,
      number=6, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='design_capacity', full_name='synapse.msgs.BatteryState.design_capacity', index=6,
      number=7, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='percentage', full_name='synapse.msgs.BatteryState.percentage', index=7,
      number=8, type=1, cpp_type=5, label=1,
      has_default_value=False, default_value=float(0),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='power_supply_status', full_name='synapse.msgs.BatteryState.power_supply_status', index=8,
      number=9, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='power_supply_health', full_name='synapse.msgs.BatteryState.power_supply_health', index=9,
      number=10, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='power_supply_technology', full_name='synapse.msgs.BatteryState.power_supply_technology', index=10,
      number=11, type=14, cpp_type=8, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='present', full_name='synapse.msgs.BatteryState.present', index=11,
      number=12, type=8, cpp_type=7, label=1,
      has_default_value=False, default_value=False,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='cell_voltage', full_name='synapse.msgs.BatteryState.cell_voltage', index=12,
      number=13, type=1, cpp_type=5, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='cell_temperature', full_name='synapse.msgs.BatteryState.cell_temperature', index=13,
      number=14, type=1, cpp_type=5, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='location', full_name='synapse.msgs.BatteryState.location', index=14,
      number=15, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
    _descriptor.FieldDescriptor(
      name='serial_number', full_name='synapse.msgs.BatteryState.serial_number', index=15,
      number=16, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=b"".decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR,  create_key=_descriptor._internal_create_key),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _BATTERYSTATE_POWERSUPPLYSTATUS,
    _BATTERYSTATE_POWERSUPPLYHEALTH,
    _BATTERYSTATE_POWERSUPPLYTECHNOLOGY,
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=52,
  serialized_end=985,
)

_BATTERYSTATE.fields_by_name['header'].message_type = header__pb2._HEADER
_BATTERYSTATE.fields_by_name['power_supply_status'].enum_type = _BATTERYSTATE_POWERSUPPLYSTATUS
_BATTERYSTATE.fields_by_name['power_supply_health'].enum_type = _BATTERYSTATE_POWERSUPPLYHEALTH
_BATTERYSTATE.fields_by_name['power_supply_technology'].enum_type = _BATTERYSTATE_POWERSUPPLYTECHNOLOGY
_BATTERYSTATE_POWERSUPPLYSTATUS.containing_type = _BATTERYSTATE
_BATTERYSTATE_POWERSUPPLYHEALTH.containing_type = _BATTERYSTATE
_BATTERYSTATE_POWERSUPPLYTECHNOLOGY.containing_type = _BATTERYSTATE
DESCRIPTOR.message_types_by_name['BatteryState'] = _BATTERYSTATE
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

BatteryState = _reflection.GeneratedProtocolMessageType('BatteryState', (_message.Message,), {
  'DESCRIPTOR' : _BATTERYSTATE,
  '__module__' : 'battery_state_pb2'
  # @@protoc_insertion_point(class_scope:synapse.msgs.BatteryState)
  })
_sym_db.RegisterMessage(BatteryState)


# @@protoc_insertion_point(module_scope)
