fixing ac adapter status