As far as I know, one can just plug an ipad into a charger, and the ipad will charge, but that, for some reason doesn't work for my ipad. Yes, I tried it. Instead what I need to do is shut it down (slide to power off), and then the ipad will automatically turn itself back on. Then, I wait for the apple sign to go away, and when it does, I shut the ipad down again. Then it charges. It is an ipad air, and is around 3 years old.
Read more:
Why is my ipad charging weirdly?