Charging your battery when electricity is cheap (or solar is abundant) and discharging when grid electricity is expensive.