Élec while living at the Prism Tower
Prior to the start of the X & Y arc, Élec was an Electrike used by Clemont alongside other Electric-type Pokémon to power the Prism Tower during a blackout. Élec first appeared as an Electrike in Charging After Elektrike, watching X battle against the Lumiose Press editor-in-chief. Upon seeing X defeat the Lumiose Press editor-in-chief, he became impressed with X and began following the group when they left Lumiose City.
In Fast-Thinking Froakie, Electrike appeared in front of the group and stole Y's clothes, forcing X and the others to give chase. Electrike was soon stopped by Croaky and forced to battle him. Due to Croaky's speed and jumping skills, he easily dodged Electrike's moves and managed to take back Y's clothes. Despite losing the battle, Electrike continued to try and take Y's clothes. X deduced that he didn't want her to change out of her flight suit in order to reach something high up, and Electrike agreed enthusiastically. Y began to argue that she would not do it, at which point Electrike suddenly evolved into Manectric, convincing Y to help out. X figured out that he was looking for a Manectite and Clemont agreed to help look for it.
After Clemont put the information into his sensor, the group found the Manectite on top of a tree. However, a Team Flare Grunt also found the stone and attempted to take it, knocking the tree down on Clemont and stealing the stone. X, Trevor, and Manectric gave chase and eventually ended up at the Parfum Palace. Upon arriving, the Grunt's Tyrunt stole Li'l Kanga's Mega Stone as well. X turned to Manectric to reaffirm its desire for the Mega Stone and asked him if he would like to battle together with him, to which the Discharge Pokémon nodded. With the confirmation, X gave him the nickname Élec, jumped onto his back, and charged towards the Team Flare Grunt.
Élec attacked with Wild Charge, but failed to do any real damage due to Tyrunt being a Dragon type. Tyrunt counterattacked with Earthquake, knocking Élec to the ground. Assuming the battle was over, the Grunt begun to leave, only to be bitten by Élec, who survived the attack due to Trevor's Flabébé's Grassy Terrain halving the damage. While being dragged around, Flabébé snuck into the Grunt's pocket and reclaimed the Mega Stones, allowing Élec to Mega Evolve. He then attacked with a powerful Electric attack and scared the Grunt away.
In Burning Fletchinder, Élec is used to defeat the Aegislash that Malva was using to control the Sky Trainers, attacking with a powerful Discharge.
In Pyroar Breathes, Élec was used in X's attempt to break into Team Flare's hideout in Geosenge Town. While sneaking in Élec used Wild Charge to defeat a Grunt's Noibat. Once inside Élec teamed up with Kanga and Garma to fight Lysandre's Mega Gyarados, Pyroar, and Mienfoo. Élec ends up fighting his Gyarados and took heavy damage due to Gyarados's Bite attack dealing more damage with its new Dark type. Élec soon recovered though and retaliated with Wild Charge. Lysandre then questioned why X hadn't Mega Evolved a Pokémon yet, only for a Mega Evolved Li'l Kanga to sneak up on Gyarados and attack, dealing a lot of damage. Lysandre asked X if the sneak attack was worth it, and X revealed that he also chose to not Mega Evolve Élec due to his Lightning Rod Ability being used to drain Lysandre's machine's energy, allowing Xerneas to recover. Despite all this, X and his team ended up defeated.
In Hawlucha Attacks, Élec joined the rest of X's team (except for Salamè) in fighting against Essentia's four Hawlucha. Essentia soon fled on one of the Hawlucha, leaving the rest of the Hawlucha unable to stay in formation and get defeated.
In Xerneas Gives, X had his final battle against Lysandre and his Zygarde. X used the power of five Key Stones to simultaneously Mega Evolve his five capable Pokémon at once. With their combined strength, Élec, Kanga, Li'l Kanga, Salamè, Garma, and Rute fought against Zygarde in order to defeat it. The combined might of X's team successfully forced Zygarde to split apart into its Cells, which led to Lysandre's defeat.