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..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"; @@ -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";