Abstract approach to non homogeneous Harnack inequality in doubling quasi metric spaces