I get an error all the time randomly

"This accessory is not made to work with iPhone" ERROR- HELP!- how to get rid of this....
I have the option of turning airplane mode off /on ....this message pops up randomly.

I have NOTHING connected - it just appears randomly ...

I even restored my iphone relocked and re unlocked my iphone..but this message this appears...

When this happens my battery starts to go down sooo fast. I have cleaned the bottom of the phone and there is no dust in the bottom.

Some one please help. the battery seriously dies in 30 mins after the message pops up.