I am trying to show upper- and lower-bounds on
$$\frac{1}{2^n}\sum_{i=0}^n\binom{n}{i}\min(i, n-i)$$
(where $n\geq 1$) in order to show that it basically grows as $\Theta(n)$.
The upper-bound is easy to get since $\min(i, n-i)\leq i$ for $i\in\{0, \dots n\}$ so that
$$\frac{1}{2^n}\sum_{i=0}^n\binom{n}{i}\min(i, n-i)\leq \frac{1}{2^n}\sum_{i=0}^n\binom{n}{i}i = \frac{n}{2}.$$
Thanks to Desmos, I managed to find a lower bound, but I am struggling to actually prove it. Indeed, I can see that the function $f(n)=\frac{n-1}{3}$ does provide a lower-bound. One can in fact rewrite
$$\frac{n-1}{3}=\frac{1}{2^n}\sum_{i=0}^n\binom{n}{i}\frac{2i-1}{3}.$$
I was thus hoping to show that for each term we have $\frac{2i-1}{3}\leq \min(i, n-i)$, but this is only true if $i\leq \frac{3n+1}{5}$ and not generally for $i\leq n$. I imagine there is a clever trick to use at some point but for some reason I am stuck here.
Any help would be appreciated, thank you!
EDIT: Thank you everyone for all the great and diverse answers! I flagged River Li's answer as the "accepted" one because of its simplicity due to the use of Cauchy-Schwartz inequality, which does not require a further use of Stirling's approximation. Note that the other answers which involve such an approximation are much tighter though, but proving $\Theta(n)$ growth was sufficient here.