From 1a9f585012b9cf5179b6ed99d375a187a487b99e Mon Sep 17 00:00:00 2001 From: "M.J. Wydra" Date: Sat, 5 Dec 2020 11:06:29 -0600 Subject: [PATCH] add time remaining calculation --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index e55aed4..65a4a56 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,7 @@ services: | `INTERVAL` | `60` | How often (in seconds) battery2mqtt polls for battery info. | | `MONITORED_CONDITIONS` | (See below) | Battery properties to send to MQTT (must be a comma-separated string.) | | `BATTERY_HEALTH` | 1 | Set to 1 to enable battery health percentage calculation or 0 to disable. | +| `TIME_REMAINING` | 1 | Set to 1 to enable time remaining estimate (in hours) or 0 to disable. | # Monitored conditions You can specify only those conditions that you'd like to track. The default is to track `alarm, capacity, capacity_level, present, status, and voltage_now`. You can add more conditions (found at `/sys/class/power_supply/$NAME`) or choose only those you want to track. The variable in your `docker-compose.yaml` must follow this format: