I see nothing but a NiCd or NiMh battery pack with an imbeded thermostat. The 5Ω power resistors either provide current-limiting during charging or they are the ballast resistors for the LEDs in the lamp head?.
The thermostat is supposed to terminate charging when then pack heats up after reaching full charge.
What is the external power supply (not shown in your pictures) but is likely the most critical component of the whole system. That would tell us what the resistors are doing.