all of the above. Take an educated guess. How old is the battery. How much voltage does it put out before the computer is on. Maybe its just that when your headlights are on you have to much draw from the battery so your power doesn't have enough to keep going therefore the computer dies
- im not a power expert mind you.