it depends on the mode you are driving the inverter. there are different modes available. The most common is to charge the battery when the power output is higher than your consumption but for rare cases this is not applicable.
So if you want to know more you need to share more details of yur setup and what you aiming for with your project.