Boosts close when the last 20% of a battle's clock starts. A 24 hour battle closes Boosts at 19 hours 12 minutes. A 1 hour battle closes them at 48 minutes. After that you can no longer add a Boost to either side.
Each wallet can also Boost only twice per battle, both sides together. Free votes are separate from Boosts.