Electricity was a form of energy used by Muggles to power most of their technology.
Magic was known to interfere with the functionality of Muggle technologies powered by electricity. Most Muggle technologies – including computers, radar, and bugging devices – would not work in a magical environment. However, there were some exceptions to this rule, as Colin Creevey's camera still worked at Hogwarts School of Witchcraft and Wizardry, since it was able to "[run] off the magical atmosphere" instead of its batteries.
Muggle usage of electricity in their technology was part of the curriculum of the Muggle Studies class at Hogwarts School of Witchcraft and Wizardry. Chizpurfles will sometimes attack Muggle electrical items in the absence of magical items to consume. In 1993, Harry Potter and Ron Weasley spotted Hermione working on an essay titled "Explain Why Muggles Need Electricity."
Wizardkind in general apparently have little to no in-depth knowledge of electricity, as Arthur Weasley would go as far as to mispronounce the word itself, even when weather-based phenomenon such as lightning occurs in the wizarding world. Arthur is highly fascinated by electricity and keeps a collection of batteries and plugs.
Behind the scenes
- In LEGO Harry Potter: Years 5-7 during the Fiendfyre Frenzy scene two red mini-sized electricity pylons are used to create an electricity connection between them and wake up a skeleton.
- The Weasleys' Wizard Wheezes have a product known as Electric Shock Shake.
- Wizards can produce a defensive charge to shock away attackers.
- Harry Potter and the Philosopher's Stone (film)
- Harry Potter and the Prisoner of Azkaban (film)
- Harry Potter and the Goblet of Fire
- Harry Potter and the Order of the Phoenix (film)
- Harry Potter and the Deathly Hallows: Part 1
- LEGO Harry Potter: Years 5-7