They may not be related. How old is your battery. Have the battery tested, load toast not just checking the volts. It may be time for a new battery.
Were there any other lights on ? Did the starter solenoid try to engage ? And Welcome to Motoring Alliance !!