Full battery indicator
authorCem Keylan <cem@ckyln.com>
Wed, 2 Oct 2019 08:31:54 +0000 (11:31 +0300)
committerAaron Marcher <me@drkhsh.at>
Mon, 30 Nov 2020 20:23:26 +0000 (21:23 +0100)
When you reach full charge the symbol would change
to a question mark "?" as "Full" was not defined,
now it changes to an "o" instead.

components/battery.c

index 07b6ac16f28c98cbcbd6267bc198a0eb4aa7dc01..f2b0f147003231befb7a86653c77095f09454555 100644 (file)
@@ -52,6 +52,7 @@
                } map[] = {
                        { "Charging",    "+" },
                        { "Discharging", "-" },
+                       { "Full",        "o" },
                };
                size_t i;
                char path[PATH_MAX], state[12];