tmux-plugins / tmux-battery

Plug and play battery percentage and icon indicator for Tmux.
MIT License
503 stars 98 forks source link

battery_remain interpolation: show it only when the battery state is `discharging` #9

Closed bruno- closed 9 years ago

bruno- commented 9 years ago

The battery_remain interpolation currently shows both the discharging and time to fully charge.

To keep this simple I think only the remaining time (when the laptop is discharging) should be shown. We don't want to have any output when the laptop is plugged in.

We might wanna consider adding another interpolation that will show the time till fully charged.

@asethwright looping you in on this.