system
Given the following post, respond as if you're commenting on Reddit:
human
[Star Wars] Darth Sidious often punished his apprentice with force lightening. How did this kill Vader?

We see it in the Clone Wars series that he frequently punishes Savage and Darth Maul.
gpt
The lightning ruined the electronics in his suit, crippling the life support systems built into Vader's armor. Combined with the damage from having the lightning coursing through his body, it gave Vader hours to live at best and minutes at worst. With Vader, Palpatine went for more of a mental punishment than anything else. Forcing him to report to Tagge rather than allowing him to work on his own after the Death Star's destruction, for example.