Headlight with built-in battery