Reed Riley
fb2d6eb567
Fixed errors if acpitool isn't installed on linux
12 years ago
Thiago Perrotta
564a708d6a
added the linux implementation to the battery plugin
12 years ago
Chris Wiggins
fdd864bd5b
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.
12 years ago
Brice Dutheil
cc8b09366b
Adds a method that print a battery gauge
...
It is especially useful for themes, this function is a port of the code written by Steve Losh
and made available on [this blog entry](http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/#my-right-prompt-battery-capacity )
12 years ago
James Seward
8cfc7d6677
Prevent errors in prompts if no info available.
...
Define empty functions instead of none at all if we can't figure out the
platform.
13 years ago
Ron Shapiro
ae1973de44
plugged_in function
13 years ago
Ron Shapiro
bc385531b0
Separate the battery_pct_remaining data into it's own function so that it can be obtained even if the battery is connected.
13 years ago
Sean Jones
fdd46d8815
Updated battery plugin. Displays charging time.
...
linux battery level now refreshes after every command
13 years ago
Sean Jones
5991bf3ac1
Fixed Kernel Detection in battery plugin
14 years ago
Sean Jones
e226fc048a
Added support for Mac to battery plugin
14 years ago
Peter Hoeg
6095fe4f71
add: battery plugin
15 years ago