code: def check_xups_bat_capacity(the_session, the_helper, the_snmp_value):
      
  
      the_helper.add_metric(
          label=the_helper.options.type,
          value=a_snmp_value,
          uom='%')
  
      the_helper.set_summary("Remaining Battery Capacity {} %".format(the_snmp_value))
docs: OID .1.3.6.1.4.1.534.1.2.4.0
      MIB Excerpt
      Battery percent charge.