You don;t say whether the 30km is one way or 30km each way?
However, the most reliable advise that I have found says that
1) a battery should be charged when it gets low on charge - but not too low.
Ideally it should be charged just before you ride - but that is often inconvenient and not practical. I tend to charge it overnight if I intend to use it the next day and rely on the battery management system to stop it over charging
2) It is a very bad idea to charge it when it is cold - room temperature is best - so you need one where you can either have the bike inside for charging - or remove the battery and take it inside
3) If you intend to leave the battery unused for a long (ish) time then you are supposed to store it between 50 and 75% of charge.
Based on your 30km commute - which is about 18 miles - my experience shows that most ebikes will have enough range for at least 2 full trips assuming you use a relatively low assist level and the terrain is not too hilly.
If either of those in untrue then the range will suffer.
However, I would suggest that you would only need to charge the battery every 2 trips - i.e.36 miles - 60 km. You might even make 3 trips but that would be something you can find out when you start using it
Also - remember that most batteries are thought to be good for 500-1000 charges - a charge being a full charge so if it has a range of 50 miles and you recharge from 25 miles - then that is a half charge
Bear in mind that this is based on my bike which has a Bosch system - so I expect (hope, pray??) that it is well made and designed and will last well. Cheap systems may not work as well and the battery protection may not be as comprehensive as well as the cells being of lower quality.
Sorry about the length - and details - hope at least some of it helps
Other may have different opinions based on different advise and experiences with different systems. Take it all (including mine) on board and make you own mind up!
Good luck and welcome to teh dark side
