erikw/tmux-powerline — pull request #45 by LuRsT (2012-09-10 12:45:30+00:00)
Title: Little bug in segment/battery.sh

Just changed the flag -f to -d because /sys/class/power_supply/BAT0 is a dir, not a file.