robbyrussell/oh-my-zsh — pull request #1593 by tank-bohr (2013-02-09 00:23:39+00:00)
Title: improved grep regex to define battery presence

makes battery functions work even when battery charging or full on Linux