The live wire is short-circuited during installation so that the lamp is always lit. The wall switch module is just a wireless switch that is connected to one (or more) Hue lamp(s). When the battery is empty, the switching signal is no longer sent to the bridge. You can of course still control your lamps via the app.