It looks like it’s not detecting any battery, but that doesn’t mean the battery isn’t the problem. Try removing the battery with the guide below. If it still has problems then the battery isn’t the problem, and it’ll most likely be the logic board. Fixing it is another can of worms. Battery guide: MacBook Air 13" Mid 2013 Vervanging van de batterij