diff options
Diffstat (limited to 'modules/lock')
| -rw-r--r-- | modules/lock/Fetch.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/lock/Fetch.qml b/modules/lock/Fetch.qml index 021f084..0e64343 100644 --- a/modules/lock/Fetch.qml +++ b/modules/lock/Fetch.qml @@ -114,7 +114,7 @@ ColumnLayout { active: UPower.displayDevice.isLaptopBattery sourceComponent: FetchText { - text: `BATT: ${UPower.displayDevice.state === UPowerDeviceState.Charging ? "(+) " : ""}${Math.round(UPower.displayDevice.percentage * 100)}%` + text: `BATT: ${[UPowerDeviceState.Charging, UPowerDeviceState.FullyCharged, UPowerDeviceState.PendingCharge].includes(UPower.displayDevice.state) ? "(+) " : ""}${Math.round(UPower.displayDevice.percentage * 100)}%` } } } |