@sumudu I'd suggest examining the USB cable. Sometimes one or two of the terminals on the outside of the Lightning cable corrodes. Try turning over the Lightning plug. If that is no help, try another cable. I have a non-Apple cable that charges my iPhone but not the iPad because the iPad demands more current & the cable can't deliver it.