It's difficult to give you a specific answer, because we're not sure physically what you mean.
My first thought is that your inverter may not be able to produce 40 watts, the information on the name-plate should tell you that.
Your set-up has 220VAC, an inverter, a light bulb, and a battery, ...