Chosen Solution

Macbook air loads to desktop then after a very short while cuts to black screen and needs to be switched on again. Unfortunately it doesn’t reload again. Loading screen when unplugged takes forever sometimes makes it to desktop sometimes not. When plugged into wall fine works a treat. Is it battery or logic board or both. Have reset everything and it still keeps doing the same problem over and over again, until plugged into charger.

Download coconut battery and see what it says about the battery sounds like bad battery.