It is unknown when Mimi caught or received Sparky. Sparky is only used when Mimi needs him. Sparky along with the rest of Mimi's Pokemon will be a target to Team Skull in Gabe's Alola Pokemon Adventures.
Sparky is a curious and fun-loving Pokemon. He is just a baby Pokemon, so he wants to explore his new world. He has an fondness for apples.