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
2018-06-20
Prevent potential crash if glob() fails
Olivier Gayot
1
-1
/
+1
2018-06-20
Fix potential memory leak on Linux
Olivier Gayot
1
-1
/
+4
2018-01-28
Treat zero battery capacity as "not available" (#259)
johcgt
1
-4
/
+4
2017-08-24
Be more cautious about handling invalid battery measurements.
kousu
1
-7
/
+26
2017-08-19
Use local timezone for battery %emptytime (#236)
Emeric Planet
1
-0
/
+1
2017-04-13
Add battery capacity parsing (#216)
Emeric Planet
1
-0
/
+4
2017-02-07
Suppress printing :00 seconds of remaining battery lifetime, as apm(4)'s
Jasper Lievisse Adriaanse
1
-1
/
+1
2016-10-23
Detect batteries using glob (#163)
Stu Zhao
1
-31
/
+30
2016-08-28
Implement aggregates for batteries.
Tommie Gannert
1
-31
/
+184
2016-08-22
Match trailing equal sign in slurp_battery_info.
Tommie Gannert
1
-9
/
+9
2016-08-21
Added missing ampere to watt conversion for last full capacity. (#158)
tnnn
1
-0
/
+2
2016-08-14
Move time and ratio computations out of slurp_battery_info. (#151)
tommie
1
-50
/
+33
2016-08-14
Move full_design and full_last into struct battery_info.
Tommie Gannert
1
-44
/
+34
2016-08-14
Also capture charge rate in NetBSD.
Tommie Gannert
1
-0
/
+3
2016-08-14
Fix warnings about using a char array index on NetBSD.
Tommie Gannert
1
-8
/
+8
2016-08-14
Simplify string comparisons in slurp_battery_info for NetBSD.
Tommie Gannert
1
-47
/
+11
2016-08-14
Remove warnings about unused variables in slurp_battery_info on OpenBSD.
Tommie Gannert
1
-5
/
+9
2016-08-03
Move OS-specific code to slurp_battery_info.
Tommie Gannert
1
-63
/
+72
2016-08-03
Introduce a struct battery_info to carry information from data retrieval to t...
Tommie Gannert
1
-50
/
+59
2016-08-03
Refactor common seconds_remaining code in print_battery_info.
Tommie Gannert
1
-19
/
+16
2016-08-03
Remove an END_COLOR in print_battery_info for OpenBSD.
Tommie Gannert
1
-3
/
+0
2016-08-03
Move START_COLOR to after OS-specific code.
Tommie Gannert
1
-61
/
+10
2016-08-03
Remove consumptionbuf from print_battery_info.
Tommie Gannert
1
-10
/
+3
2016-08-03
Remove emptytimebuf from print_battery_info.
Tommie Gannert
1
-30
/
+11
2016-08-03
Remove remainingbuf from print_battery_info.
Tommie Gannert
1
-53
/
+28
2016-08-01
Remove percentagebuf from print_battery_info.
Tommie Gannert
1
-30
/
+15
2016-08-01
Remove statusbuf from print_battery_info.
Tommie Gannert
1
-14
/
+17
2016-03-21
Added status_unk to battery_info
eoin
1
-2
/
+6
2016-01-25
This removes the 'remaining' time when the battery is full, since the remaini...
Clayton Craft
1
-1
/
+1
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
[next]