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.
@@ -52,6 +52,7 @@
} map[] = {
{ "Charging", "+" },
{ "Discharging", "-" },
+ { "Full", "o" },
};
size_t i;
char path[PATH_MAX], state[12];