From a4fe124ebf1f4dd3216561ba8a0fa5a8edcc3044 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Sat, 29 Aug 2026 16:09:39 -0700 Subject: [PATCH 1/2] Icons: resource 24px power placeholder --- data/icons.gresource.xml | 3 +++ data/icons/power.svg | 46 ++++++++++++++++++++++++++++++++++++++++ src/Services/Device.vala | 2 +- 3 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 data/icons/power.svg diff --git a/data/icons.gresource.xml b/data/icons.gresource.xml index c518b009..a00d7ab1 100644 --- a/data/icons.gresource.xml +++ b/data/icons.gresource.xml @@ -5,6 +5,9 @@ icons/performance.svg icons/powersaver.svg + icons/power.svg + icons/power.svg + icons/battery-100.svg icons/battery-95.svg icons/battery-90.svg diff --git a/data/icons/power.svg b/data/icons/power.svg new file mode 100644 index 00000000..a25792ca --- /dev/null +++ b/data/icons/power.svg @@ -0,0 +1,46 @@ + + + + + + diff --git a/src/Services/Device.vala b/src/Services/Device.vala index 810e723b..de681e07 100644 --- a/src/Services/Device.vala +++ b/src/Services/Device.vala @@ -265,7 +265,7 @@ public class Power.Services.Device : Object { public string get_icon_name_for_battery () { if (!is_a_battery) { - return "preferences-system-power-symbolic"; + return "panel-power-symbolic"; } if (percentage == 100 && is_charging) { return "battery-full-charged"; From 2dcd749f19a9421223bf586e5ed35297b56fe849 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danielle=20For=C3=A9?= Date: Sat, 29 Aug 2026 16:14:49 -0700 Subject: [PATCH 2/2] Fix indicator --- src/Services/Device.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/Device.vala b/src/Services/Device.vala index de681e07..ed1a7354 100644 --- a/src/Services/Device.vala +++ b/src/Services/Device.vala @@ -234,7 +234,7 @@ public class Power.Services.Device : Object { public string get_symbolic_icon_name_for_battery () { if (!is_a_battery) { - return "preferences-system-power-symbolic"; + return "panel-power-symbolic"; } var icon_name = "battery";