It can't tell when the headlights are on, per se, but it can tell when its dark outside. It just assumes that if its dark out, the headlights are on........

Peterk