changed '//' to '/' - seems like it was a typo
This commit is contained in:
parent
9c181c5c70
commit
e55a3ae77a
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue