Skip to content

Commit

Permalink
fix #36: battery-icon-name
Browse files Browse the repository at this point in the history
a
  • Loading branch information
Aylur committed Oct 6, 2024
1 parent dfc240d commit 770c320
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/battery/device.vala
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public class Device : Object {

if (!is_battery) {
battery_icon_name = "battery-missing-symbolic";
} else if (percentage == 1.0 && charging) {
} else if (percentage >= 0.95 && charging) {
battery_icon_name = "battery-level-100-charged-symbolic";
} else {
var state = charging ? "-charging" : "";
Expand Down

0 comments on commit 770c320

Please sign in to comment.