index
:
i3status
master
Fork of https://github.com/i3/i3status, with support for arbitrary shell commands
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
src
/
print_battery_info.c
Age
Commit message (
Expand
)
Author
Files
Lines
2015-10-08
Properly detect the battery charging status under FreeBSD.
John Baldwin
1
-2
/
+3
2015-10-04
Added support for lemonbar
Brendan Van Hook
1
-9
/
+9
2015-05-20
Clamp the percentage at 100% when last_full_capacity is enabled.
Michael Stapelberg
1
-0
/
+8
2015-05-05
Changed battery info output to HH:MM for consistency accross all platforms
Nicholas Helke
1
-2
/
+2
2015-03-16
clang-format-3.5 -i **/*.[ch], update modeline
Michael Stapelberg
1
-540
/
+524
2014-12-22
Avoid use of uninitialized variable in print_battery_info
Alexander Monakov
1
-1
/
+1
2014-10-07
Created three individual Strings for each battery status (charging, dicharchi...
Cyril Andreatta
1
-4
/
+5
2014-08-25
Fix battery indicator on systems without POWER_SUPPLY_VOLTAGE_NOW.
Klemen Košir
1
-2
/
+5
2014-05-31
Use the absolute values for (dis)charging rates
Michael Stapelberg
1
-3
/
+3
2014-04-30
Implement battery functionality for NetBSD users
Alexander Vasarab
1
-0
/
+266
2014-03-12
Unify use of string comparisons
Mats
1
-12
/
+12
2014-03-12
For the %percentage display of batteries, drop the leading '0' for values < 10.
Jasper Lievisse Adriaanse
1
-1
/
+2
2014-02-08
Add hide_seconds option
Iakov Davydov
1
-5
/
+13
2013-05-04
fix #1017: i3status uses generic battery instance
Jonas Cleve
1
-3
/
+3
2013-03-19
Enable colored output for battery on FreeBSD
Baptiste Daroussin
1
-0
/
+9
2013-03-09
Added format_down option for battery if no battery is available.
Christoph Göttschkes
1
-7
/
+7
2013-02-23
battery: initialize colorful_output to false
Michael Stapelberg
1
-1
/
+1
2013-02-14
Added option to show battery capacity without decimals
Julien Lequertier
1
-2
/
+6
2012-11-15
DragonFlyBSD support added
Scott Tincman
1
-2
/
+2
2012-10-16
bugfix: colorize output even without discharge rate (thanks f8l)
Simon Elsbrock
1
-3
/
+16
2012-10-10
Various fixes for the OpenBSD section of the battery backend.
Jasper Lievisse Adriaanse
1
-8
/
+23
2012-09-05
print_battery.c: do END_COLOR only if START_COLOR was used
Simon Elsbrock
1
-1
/
+5
2012-08-31
Eat unnecessary space from the battery format str.
Piotr Domagalski
1
-0
/
+14
2012-08-28
add additional battery threshold type "percentage"
Simon Elsbrock
1
-5
/
+12
2012-08-13
use correct units for battery calculation
Philipp Schaefer
1
-8
/
+23
2012-07-12
Bugfix: Properly skip "consumption", not "consumptionbuf" (Thanks mloskot)
Michael Stapelberg
1
-1
/
+1
2012-07-11
small style fix in src/print_battery_info.c (move comment)
Michael Stapelberg
1
-1
/
+2
2012-07-11
Calculate the consumption if POWER_SUPPLY_POWER_NOW does not exist in uevent
Marcel Hellwig
1
-2
/
+9
2012-07-09
Added consumption to battery info
Marcel Hellwig
1
-0
/
+8
2012-07-09
Added condition, for red color, when battery-time is low, namely battery is d...
Marcel Hellwig
1
-1
/
+1
2012-06-11
Moved translation of wireless status code to text from multiple places into s...
Mateusz Loskot
1
-10
/
+6
2012-05-25
colorize battery output if remaining time below threshold
Simon Elsbrock
1
-1
/
+6
2012-05-15
battery info: output errors in JSON in every case
Michael Stapelberg
1
-4
/
+6
2012-04-30
Implement displaying battery status on OpenBSD.
Jasper Lievisse Adriaanse
1
-0
/
+58
2012-04-08
add yajl compat code
Michael Stapelberg
1
-0
/
+1
2012-03-25
Properly output JSON with libyajl
Michael Stapelberg
1
-11
/
+11
2012-02-16
Implement the i3bar JSON protocol
Michael Stapelberg
1
-0
/
+6
2011-11-26
battery: implement "path" option for batteries with non-standard paths
Michael Stapelberg
1
-2
/
+2
2010-11-03
battery: use POWER_NOW if CURRENT_NOW is not available
Michael Stapelberg
1
-0
/
+2
2009-12-20
Remove trailing whitespace
Michael Stapelberg
1
-1
/
+1
2009-12-20
Implemented showing the time when battery is empty
André-Patrick Bubel
1
-4
/
+20
2009-10-16
battery: split up %remaining into %percentage and %remaining (Thanks shatter)
Michael Stapelberg
1
-9
/
+13
2009-10-16
Actually use the format string for the battery (Thanks shatter)
Michael Stapelberg
1
-14
/
+33
2009-10-16
Implement option to use the last full capacity instead of the design capacity
Michael Stapelberg
1
-5
/
+3
2009-10-11
Breaks configfiles! Major refactoring of i3status, see below
Michael Stapelberg
1
-0
/
+149