i3status/src
Michael Nolan e19539e5f6
Add support for batteries outputting Time to empty on linux (#378)
* Add support for batteries outputting Time to empty on linux

The battery in the pinebook pro does not output the remaining charge
in Wh or mAh, so i3 cannot calculate the time remaining. However, it
does directly output the number of minutes remaining on in
POWER_SUPPLY_TIME_TO_EMPTY. This adds support for reading this field
and converting it to seconds_remaining.

* Add testcase for POWER_SUPPLY_TIME_TO_EMTY_NOW
2020-06-15 09:09:06 +02:00
..
auto_detect_format.c Switch to autotools (#316) 2019-01-23 08:56:40 +01:00
first_network_device.c Switch to autotools (#316) 2019-01-23 08:56:40 +01:00
format_placeholders.c use format_placeholder for battery 2020-02-10 21:05:18 +01:00
general.c print_file_contents: Resolve tilde 2020-05-01 12:20:34 +02:00
output.c use format_placeholder for battery 2020-02-10 21:05:18 +01:00
print_battery_info.c Add support for batteries outputting Time to empty on linux (#378) 2020-06-15 09:09:06 +02:00
print_cpu_temperature.c use format_placeholder for cpu_temperature 2020-02-18 17:51:12 +01:00
print_cpu_usage.c avoid out-of-bounds read after invalid %cpu conversion 2020-03-28 21:02:02 -05:00
print_ddate.c Fix various memory leaks 2020-05-01 13:55:19 +02:00
print_disk_info.c Fix fall-through warnings 2020-05-01 19:09:35 +02:00
print_eth_info.c use format_placeholder for eth.info 2020-03-03 21:31:56 +01:00
print_file_contents.c print_file_contents: Resolve tilde 2020-05-01 12:20:34 +02:00
print_ip_addr.c Switch to autotools (#316) 2019-01-23 08:56:40 +01:00
print_ipv6_addr.c use format_placeholder for ipv6_addr 2020-03-31 15:03:18 +02:00
print_load.c travis: update dist, add custom matrix 2020-05-01 11:19:41 +02:00
print_mem.c Fix fall-through warnings 2020-05-01 19:09:35 +02:00
print_path_exists.c Fix various warnings 2020-05-01 01:06:38 +02:00
print_run_watch.c Fix various memory leaks 2020-05-01 13:55:19 +02:00
print_time.c Fix various memory leaks 2020-05-01 13:55:19 +02:00
print_volume.c [volume] fix memory leak 2020-04-26 23:00:41 +02:00
print_wireless_info.c travis: update dist, add custom matrix 2020-05-01 11:19:41 +02:00
process_runs.c Switch to autotools (#316) 2019-01-23 08:56:40 +01:00
pulse.c Use the PulseAudio port name rather than the sink name (#419) 2020-06-15 09:07:27 +02:00