It depends on the reason the battery light is on. If the battery is failing, it could quit at any moment. Find a safe place to pull over and troubleshoot the issue where there is no danger.