code: def status():
      '''
      Return apcaccess output
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' apcups.status
      '''
      ret = {}
      apcaccess = _check_apcaccess()
      res = __salt__['cmd.run_all'](apcaccess)
      retcode = res['retcode']
      if retcode != 0:
          ret['Error'] = 'Something with wrong executing apcaccess, is apcupsd running?'
          return ret
  
      for line in res['stdout'].splitlines():
          line = line.split(':')
          ret[line[0].strip()] = line[1].strip()
  
      return ref status():
      '''
      Return apcaccess output
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' apcups.status
      '''
      ret = {}
      apcaccess = _check_apcaccess()
      res = __salt__['cmd.run_all'](apcaccess)
      retcode = res['retcode']
      if retcode != 0:
          ret['Error'] = 'Something with wrong executing apcaccess, is apcupsd running?'
          return ret
  
      for line in res['stdout'].splitlines():
          line = line.split(':')
          ret[line[0].strip()] = line[1].strip()
  
      return ret
docs: Return apcaccess output
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' apcups.status