diff --git a/modules/quickshell/quickshell/bar/widgets/Battery.qml b/modules/quickshell/quickshell/bar/widgets/Battery.qml index 2b0b33e..133e676 100644 --- a/modules/quickshell/quickshell/bar/widgets/Battery.qml +++ b/modules/quickshell/quickshell/bar/widgets/Battery.qml @@ -44,7 +44,7 @@ Rectangle { Text { id: icon anchors.centerIn: parent - text: root.getBatteryState(UPower.displayDevice.percentage * 100, (UPower.displayDevice.changeRate)) + text: root.getBatteryState(UPower.displayDevice.percentage * 100, ((UPower.displayDevice.timeToFull > 0))) color: root.getBatteryColor(UPower.displayDevice.percentage * 100) font.weight: Font.DemiBold font.pointSize: 24 / 1.4