Просмотр исходного кода

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 6 лет назад
Родитель
Сommit
3ac985eb03
1 измененных файлов с 1 добавлено и 0 удалено
  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];