robbyrussell/oh-my-zsh — pull request #1455 by NeuralSandwich (2012-12-02 19:41:06+00:00)
Title: Battery plugin: Added support for Apple Macs

Hi,

I modified the plugin to be able to detect the estimated time remaining and percentage capacity left in the battery.

I kept all the function names the same so it should not cause any problems when used on linux platforms. It should detect the kernel type and use the correct function set.

Regards,
Sean.