battery: Tooltips for FreeBSD (fix typo)
o9000 o9000
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/battery/freebsd.c
→
src/battery/freebsd.c
@@ -83,7 +83,7 @@ g_string_append_printf(tooltip, "Battery\n");
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");