I'm not sure if there's an actual relationship, but, since January, when I had the original battery (bad) replaced, my headlights turn on when they're supposed to, rather than in bright daylight when they weren't. Could low voltage in a battery cause logic errors in the headlight sensor?