]> git.sur5r.net Git - i3/i3status/commit
add additional battery threshold type "percentage"
authorSimon Elsbrock <simon@iodev.org>
Thu, 23 Aug 2012 14:42:38 +0000 (16:42 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Tue, 28 Aug 2012 16:05:11 +0000 (18:05 +0200)
commit68f438ec9eefbca5d735a1a7897d52e0e8e6f1c7
tree47b3009417de351625131bc3525154acf8c70fcf
parent3baf27bf1d9b51fa8de3203a64993de2464ed356
add additional battery threshold type "percentage"

The battery threshold can now be configured as type "time" or
"percentage", but defaults to "time" to prevent unexpected behavior.
Also, low_threshold was set to a more reasonable default of 30.
i3status.c
include/i3status.h
man/i3status.man
src/print_battery_info.c