you can leave it there all the time, if it has a little led light and you are worried that it would drain your battery, don't worry, they use very little power
When looking into the same issue I came across this video on YouTube ( it has English subtitles ). Seems like a reasonable way to solve the problem: https://youtu.be/vgE-5sXXbAs?si=V-XY6EhGOBGKyQLT