qtile/qtile — pull request #173 by TimNN (2012-10-25 17:50:16+00:00)
Title: Improved the battery widget's handeling of a power value of zero.

Instead of setting the whole text to "Inf", both, hour and min, will be set to -1.
This way the widget still displays some useful information but it is also obvious that something is wrong.