If truck has been sitting and the battery is weak, then I would say more than likely its the battery. If the battery is good and holds a charge, and you drove it a bit today, I would bet problem goes away.