Batteries are naturally spawning crafting components.
They can be used to charge a vehicle by a small amount (hold "F" on the vehicle and choose "charge battery").
Also, it can be used to recharge Night-Vision Googles.