Electrical properties of the middle atmosphere