The technique of fixing faulty electronics with a precise smack is known in the trade as an engineer’s knock or percussive maintenance.
In a remote is it most likely that corrosion on the battery terminal is preventing a good connection and the engineer’s knock shifts some of the corrosion so a contact can be made.
Latest Answers