Use tmux-battery.