Auto mains failure panels are used to control start/stop of diesel generator sets in accordance with the availability of mains power supply. The panels are manufactured for various ratings and different models of diesel generator sets. These panels are incorporated with battery chargers, various protections for diesel engines and alternators.