From 679234d479d47705a0e7063974f16f1c1a1fbfa3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Casas=20Sch=C3=B6ssow?= Date: Tue, 7 Sep 2021 22:10:28 +0200 Subject: [PATCH] Changed battery level text expression: remaining -> charged --- src/Indicator.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Indicator.vala b/src/Indicator.vala index e54e82d..90b3e79 100644 --- a/src/Indicator.vala +++ b/src/Indicator.vala @@ -410,7 +410,7 @@ namespace WingpanelAirPods { batt_charge_mon.properties_changed.connect((inter, cp) => { if (inter == "org.freedesktop.UPower.Device" && cp.get ("Percentage") != null) { - debug ("wingpanel-indicator-airpods: system battery charge changed. System battery charge remaining %s%%", cp.get ("Percentage").get_double ().to_string ()); + debug ("wingpanel-indicator-airpods: system battery charge changed. System battery %s%% charged", cp.get ("Percentage").get_double ().to_string ()); settings.set_double ("system-battery-percentage", cp.get ("Percentage").get_double ()); } }); @@ -562,7 +562,7 @@ namespace WingpanelAirPods { private string batt_val (int64 batt_lvl) { string batt_value = ""; if (batt_lvl != 15) { - batt_value = (batt_lvl * 10).to_string ().concat ("% remaining"); + batt_value = (batt_lvl * 10).to_string ().concat ("% charged"); } else { batt_value = "Not Connected"; }