code: def build_info(self):
          
          if self.is_bootloader:
              self.log.error('Device is in fastboot mode, could not get build '
                             'info.')
              return
          info = {}
          info['build_id'] = self.adb.getprop('ro.build.id')
          info['build_type'] = self.adb.getprop('ro.build.type')
          return info
docs: Get the build info of this Android device, including build id and
          build type.
  
          This is not available if the device is in bootloader mode.
  
          Returns:
              A dict with the build info of this Android device, or None if the
              device is in bootloader mode.