It should put 12v, or thereabouts out of the terminal the light connects to. That’s what turns the light off. When everything is working properly, the bulb has the same voltage to both terminals, so doesn’t illuminate. If there’s a mismatch e.g. low charging voltage, then the light will illuminate.