I had the same problem in my RV and it turned out to be the house batteries. When I first turned them on they were OK but after a few minutes they would get really dim and flicker.