It could be your alternator... When I worked on heavy equipement and so fourth we use to run into the same thing. Your battery has enough juice to run the ignition and gauges and so fourth but when your turned on your head lights, it killed the remaining power.. If your alternator is out, it...