Yeah, that would be long enough to charge up a good battery, assuming it wasn't raining, at night, with a mega ICE install turned up to the max ( You have to ask)
If you were adjusting the lights is there a chance you knocked one of the battery terminals?, That could cause an intermittent charge (like you were getting). It's worth checking to see if they're tight before you buy a new battery.