Fixed a garage remote by breaking it
It's a reservoir capacitor, the lithium button cells used in remote control have a high internal resistance, the capacitor (if intact) has a low internal resistance and can supply surges of current. this the remote to operate transmit stronger signals than without it.

I recommend replacing the broken capacitor with a new capacitor 10uF is probably about right.