summaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorSimon Elsbrock <simon@iodev.org>2012-10-16 22:45:19 +0200
committerMichael Stapelberg <michael@stapelberg.de>2012-10-16 22:49:22 +0200
commit35f3bcb348cdbc43060a23c2116259bb74c981a1 (patch)
treef9c71f55ff02d6e6c95a62035166f2ab9e1ca8b3 /README
parent450424f97a9d02e5392ce331902c95d0fa0e82ec (diff)
bugfix: colorize output even without discharge rate (thanks f8l)
On some systems, the discharge rate may be missing, although the battery is still working. This leads to an edge case on Linux systems in which the output may not be colorized although a threshold was defined. This commit fixes the behavior by colorizing output if threshold_type is set to "percentage". Since we cannot calculate remaining time without discharge rate, output is still uncolorized in case of threshold_type set to "time".
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions