While it's generally safe, leaving the flashlight on too long can drain your battery and cause your device to overheat.