lightning to HDMI adapter not working
I have a Apple lightning to HDMI adapter from the Apple store from earlier this year. And I have a iphone running iOS 10. I plugged it in, and the iphone indicated it was charging, but after mirroring began, the charge indicator was gone when the mirror was set up. the mirror was there for a while, but then it started charging and the mirroring stopped working, and then stopped charging and started mirroring for a few minutes and again and again and again.
Is there a defect on that device or something? help??? It did the same thing with the ipad, I rebooted several times, to no avail.
iPhone 5c, iOS 10.3.3