A battery is kind of like a bucket holding energy. You can put energy in by charging it through solar, the car's charging system or plugging into mains power. You can also drain energy out of the battery by running devices or when the system is dormant and small amounts of energy are being used up over time.
Understanding how much energy is going in and out of