summaryrefslogtreecommitdiff
path: root/src/print_battery_info.c
AgeCommit message (Expand)Author
2016-08-01Remove statusbuf from print_battery_info.Tommie Gannert
2016-03-21Added status_unk to battery_infoeoin
2016-01-25This removes the 'remaining' time when the battery is full, since the remaini...Clayton Craft
2015-10-08Properly detect the battery charging status under FreeBSD.John Baldwin
2015-10-04Added support for lemonbarBrendan Van Hook
2015-05-20Clamp the percentage at 100% when last_full_capacity is enabled.Michael Stapelberg
2015-05-05Changed battery info output to HH:MM for consistency accross all platformsNicholas Helke
2015-03-16clang-format-3.5 -i **/*.[ch], update modelineMichael Stapelberg
2014-12-22Avoid use of uninitialized variable in print_battery_infoAlexander Monakov
2014-10-07Created three individual Strings for each battery status (charging, dicharchi...Cyril Andreatta
2014-08-25Fix battery indicator on systems without POWER_SUPPLY_VOLTAGE_NOW.Klemen Košir
2014-05-31Use the absolute values for (dis)charging ratesMichael Stapelberg
2014-04-30Implement battery functionality for NetBSD usersAlexander Vasarab
2014-03-12Unify use of string comparisonsMats
2014-03-12For the %percentage display of batteries, drop the leading '0' for values < 10.Jasper Lievisse Adriaanse
2014-02-08Add hide_seconds optionIakov Davydov
2013-05-04fix #1017: i3status uses generic battery instanceJonas Cleve
2013-03-19Enable colored output for battery on FreeBSDBaptiste Daroussin
2013-03-09Added format_down option for battery if no battery is available.Christoph Göttschkes
2013-02-23battery: initialize colorful_output to falseMichael Stapelberg
2013-02-14Added option to show battery capacity without decimalsJulien Lequertier
2012-11-15DragonFlyBSD support addedScott Tincman
2012-10-16bugfix: colorize output even without discharge rate (thanks f8l)Simon Elsbrock
2012-10-10Various fixes for the OpenBSD section of the battery backend.Jasper Lievisse Adriaanse
2012-09-05print_battery.c: do END_COLOR only if START_COLOR was usedSimon Elsbrock
2012-08-31Eat unnecessary space from the battery format str.Piotr Domagalski
2012-08-28add additional battery threshold type "percentage"Simon Elsbrock
2012-08-13use correct units for battery calculationPhilipp Schaefer
2012-07-12Bugfix: Properly skip "consumption", not "consumptionbuf" (Thanks mloskot)Michael Stapelberg
2012-07-11small style fix in src/print_battery_info.c (move comment)Michael Stapelberg
2012-07-11Calculate the consumption if POWER_SUPPLY_POWER_NOW does not exist in ueventMarcel Hellwig
2012-07-09Added consumption to battery infoMarcel Hellwig
2012-07-09Added condition, for red color, when battery-time is low, namely battery is d...Marcel Hellwig
2012-06-11Moved translation of wireless status code to text from multiple places into s...Mateusz Loskot
2012-05-25colorize battery output if remaining time below thresholdSimon Elsbrock
2012-05-15battery info: output errors in JSON in every caseMichael Stapelberg
2012-04-30Implement displaying battery status on OpenBSD.Jasper Lievisse Adriaanse
2012-04-08add yajl compat codeMichael Stapelberg
2012-03-25Properly output JSON with libyajlMichael Stapelberg
2012-02-16Implement the i3bar JSON protocolMichael Stapelberg
2011-11-26battery: implement "path" option for batteries with non-standard pathsMichael Stapelberg
2010-11-03battery: use POWER_NOW if CURRENT_NOW is not availableMichael Stapelberg
2009-12-20Remove trailing whitespaceMichael Stapelberg
2009-12-20Implemented showing the time when battery is emptyAndré-Patrick Bubel
2009-10-16battery: split up %remaining into %percentage and %remaining (Thanks shatter)Michael Stapelberg
2009-10-16Actually use the format string for the battery (Thanks shatter)Michael Stapelberg
2009-10-16Implement option to use the last full capacity instead of the design capacityMichael Stapelberg
2009-10-11Breaks configfiles! Major refactoring of i3status, see belowMichael Stapelberg