This commit is contained in:
Pavel Makhov 2018-10-04 10:26:43 -04:00
commit 60eff0c48f
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ watch("acpi", 10,
charge = charge + batt.charge
end
charge = charge // #battery_info -- use average charge for battery icon
charge = charge / #battery_info -- use average charge for battery icon
if (charge >= 0 and charge < 15) then
batteryType = "battery-empty%s-symbolic"

View File

@ -60,7 +60,7 @@ watch("acpi", 10,
charge = charge + batt.charge
end
charge = charge // #battery_info -- use average charge for battery icon
charge = charge / #battery_info -- use average charge for battery icon
widget.value = charge / 100
if status == 'Charging' then