Have you ever had a derailleur or shifter battery die just before/during a ride?

A dead derailleur or shifter battery can be a ride killer. We want to know if it's ever happened to you.
A close-up view of a small electronic component on a wooden surface, surrounded by wires and tools. The component features a black casing with a QR code and several small pins. Nearby, there is a red plastic cover and a piece of sandpaper, along with a pair of scissors and other wires.

Wireless electronic shifting systems promise easier setup and maintenance compared to cable-actuated drivetrains, but that convenience comes with a new dependency: battery life. And we certainly don’t have to tell you that a dead derailleur or shifter has the potential to end a ride if you forget to charge the battery.

Have you ever had a derailleur or shifter battery die just before/during a mountain bike ride?

If you answered yes, tell us how you dealt with the dead battery: did you swap in a spare battery, make do with a single gear, or just walk it out?