do they flicker at all before shutting off?
you should have a relay wired in and connected to the battery incase it needs extra power. for ex. HID ballasts require a little more power to ignite the bulbs first, then they drop to 35W. so that might be a problem..