Ipad not charging

I tried wiggling the cable, kept plugging in the charger and tried cleaning the charging port in my ipad, but it won't show the lightning next to my battery. It charges when it is off but it charges up to 1-2-3 percent but won't charge when it is on, HELP PLS
Welcome to iMore! Which iPad? What kind of charger and cable? Does it get warm?
Register in so we can better help.

Original thread: https://forums.imore.com/threads/ipad-not-charging.391851/