Does iPad have to be on to charge?