Today, in desperation, I tried connecting the lamp assembly to a DC power supply and the thing was actually working!
The actual problem seems to be that the battery has entered some protected mode.
When messuring the voltage over the battery it looks like it's fully charged and ready but it...