robbyrussell/oh-my-zsh — pull request #2539 by chriswiggins (2014-02-17 00:32:57+00:00)
Title: Update battery plugin to show calculating - OSX

Instantly after removing the charger, I have found that the "AvgTimeToEmpty" value can swing to rediculous values. Apple's current claim is that the max battery life is 12 hours, so any value larger than this is considered a "time is being calculated" value.