tmux-battery icon indicating copy to clipboard operation
tmux-battery copied to clipboard

Two Battery Laptop (Lenovo Thinkpad T70s)

Open suzibrix opened this issue 4 years ago • 1 comments

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?

suzibrix avatar Nov 19 '20 20:11 suzibrix

Use this:

#(echo $(for i in `cat /sys/class/power_supply/*/capacity` ; do echo $i% ; done))

incebellipipo avatar Jul 11 '21 18:07 incebellipipo