Quellcode durchsuchen

Full battery indicator

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.
Cem Keylan vor 6 Jahren
Ursprung
Commit
3ac985eb03
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      components/battery.c

+ 1 - 0
components/battery.c

@@ -52,6 +52,7 @@
 		} map[] = {
 			{ "Charging",    "+" },
 			{ "Discharging", "-" },
+			{ "Full",        "o" },
 		};
 		size_t i;
 		char path[PATH_MAX], state[12];