My Tesla Model S has been a dream to drive. Over the last two years that I have had it, I have had a few things that needed repair, (a door handle, etc); but this last issue was really annoying. It was quite simple actually — The fob must have been crushed in a pocket or was dropped.
As the plastic pushed down on the trunk area of the fob, the key would emit the signal to pop the trunk. But since the button was also depressed for longer durations, it would also open the charge port repeatedly. Sometimes I would be able to stop it by pushing it manually and then tucking the key into the glove box.
In any case, I needed a few key fob, which costs $175/each.
This issue taught me that holding the trunk button down will open the charge port. This is pretty handy.