battery: Tooltips for FreeBSD (fix typo)

This commit is contained in:
o9000 2015-08-07 08:19:48 +02:00
parent 6e77b59ef8
commit 9d2e62f724

View file

@ -83,7 +83,7 @@ char* battery_os_tooltip() {
gchar *state = (battery_state.state == BATTERY_UNKNOWN) ? "Level" : chargestate2str(battery_state.state);
g_string_append_printf(tooltip, "\t%s: %s", state, percentage);
g_string_append_printf(tooltip, "\t%s: %s", state, battery_state.percentage);
g_string_append_c(tooltip, '\n');
g_string_append_printf(tooltip, "AC\n");