If your lithium-ion battery gets drained too quickly then chances are you do not remove it from the head when it is not in use. Always ensure that it is removed whenever you are done riding.
Also if you have invested in a rechargeable light, make sure to charge it every night after use to ensure in the morning or for the next day you have a fully charged light, that will not die on your mid-ride.