tmux-battery
tmux-battery copied to clipboard
Two Battery Laptop (Lenovo Thinkpad T70s)
My laptop is an over achiever and has two batteries. BAT0 and BAT1. Only BAT0 shows up in tmux. While helpful, it only shows me accurate status info when BAT0 acted on. Is this something that would need extra lines in the script, or is this something I could accommodate in settings?
Use this:
#(echo $(for i in `cat /sys/class/power_supply/*/capacity` ; do echo $i% ; done))