Software guy here, with limited practical electrical engineering skills (barely used a soldering iron since the university). :)
My daughter has a LED night light using inductive charging. After dropping it on the floor, it is no longer possible to turn it off. I'm struggling a bit both with understanding the basic function as well as how to fix it.
The normal function of the light is like this: when you put it on the charging base, it turns off the main LED and a small charging LED turns on instead. When taking it off the charging base, it turns on the main LED automatically. There is also a power a switch underneath which can turn on/off the main LED.
Thing is, that after the accident charging works, and when taking it off the charging base it turns on as it should, but it is not possible to turn it off using the power switch.
Naturally I tore it open, unsurprisingly finding a coil, a rechargable Li-ion battery, a power switch and a circuit board. One of the cables to the power switch was severed. To be honest I'm not even completely sure where it's supposed to be connected, but it looks like it's been connected just next to the other end, through holes in the board and soldered on the above side. Before starting any soldering I've tried to just manually hold the cable to the connector where I assume it should go, but with no luck - the LED still turns on but cannot be turned off using the switch.
So, first of all, how does this work? How can a closed switch turn OFF a LED, and an open switch (or severed cable :)) keep it ON? I know way too little about LED's, obviously.
Second, is it possible for someone with more knowledge to tell me how I should fix this, from the attached photos?