aboutsummaryrefslogtreecommitdiff
path: root/src/print_battery_info.c
AgeCommit message (Expand)AuthorFilesLines
2013-02-14Added option to show battery capacity without decimalsJulien Lequertier1-2/+6
2012-11-15DragonFlyBSD support addedScott Tincman1-2/+2
2012-10-16bugfix: colorize output even without discharge rate (thanks f8l)Simon Elsbrock1-3/+16
2012-10-10Various fixes for the OpenBSD section of the battery backend.Jasper Lievisse Adriaanse1-8/+23
2012-09-05print_battery.c: do END_COLOR only if START_COLOR was usedSimon Elsbrock1-1/+5
2012-08-31Eat unnecessary space from the battery format str.Piotr Domagalski1-0/+14
2012-08-28add additional battery threshold type "percentage"Simon Elsbrock1-5/+12
2012-08-13use correct units for battery calculationPhilipp Schaefer1-8/+23
2012-07-12Bugfix: Properly skip "consumption", not "consumptionbuf" (Thanks mloskot)Michael Stapelberg1-1/+1
2012-07-11small style fix in src/print_battery_info.c (move comment)Michael Stapelberg1-1/+2
2012-07-11Calculate the consumption if POWER_SUPPLY_POWER_NOW does not exist in ueventMarcel Hellwig1-2/+9
2012-07-09Added consumption to battery infoMarcel Hellwig1-0/+8
2012-07-09Added condition, for red color, when battery-time is low, namely battery is d...Marcel Hellwig1-1/+1
2012-06-11Moved translation of wireless status code to text from multiple places into s...Mateusz Loskot1-10/+6
2012-05-25colorize battery output if remaining time below thresholdSimon Elsbrock1-1/+6
2012-05-15battery info: output errors in JSON in every caseMichael Stapelberg1-4/+6
2012-04-30Implement displaying battery status on OpenBSD.Jasper Lievisse Adriaanse1-0/+58
2012-04-08add yajl compat codeMichael Stapelberg1-0/+1
2012-03-25Properly output JSON with libyajlMichael Stapelberg1-11/+11
2012-02-16Implement the i3bar JSON protocolMichael Stapelberg1-0/+6
2011-11-26battery: implement "path" option for batteries with non-standard pathsMichael Stapelberg1-2/+2
2010-11-03battery: use POWER_NOW if CURRENT_NOW is not availableMichael Stapelberg1-0/+2
2009-12-20Remove trailing whitespaceMichael Stapelberg1-1/+1
2009-12-20Implemented showing the time when battery is emptyAndré-Patrick Bubel1-4/+20
2009-10-16battery: split up %remaining into %percentage and %remaining (Thanks shatter)Michael Stapelberg1-9/+13
2009-10-16Actually use the format string for the battery (Thanks shatter)Michael Stapelberg1-14/+33
2009-10-16Implement option to use the last full capacity instead of the design capacityMichael Stapelberg1-5/+3
2009-10-11Breaks configfiles! Major refactoring of i3status, see belowMichael Stapelberg1-0/+149