do you have the reay harness? It draws a constant 12 volts off the battery. HIDs are also very powern specific, batteries are not a steady voltage all the time, hid's don't like this. My suggestion would be to buy the relay if you don't have it. If you have it it could possibly be a bad ballast or ground like I said before.
Hope this helps a little!
Eric