Most of the time the problem isn't the bag switch itself. The air valve that regulates the "Automatic Control" develops a leak and will turn off the motor as soon as any resistance is put to the airflow (closing the bag door). You would need to have it repaired by a vac. repair place who is knowledgable about Electrolux's.
www.vacuumcleanerhelp.com, May 2009