diff --git a/config/ags/config.js b/config/ags/config.js index b55ce1aa..9e01677c 100644 --- a/config/ags/config.js +++ b/config/ags/config.js @@ -122,7 +122,7 @@ function Volume() { function BatteryLabel() { - const value = battery.percent(); + const value = battery.bind("percent").as(p => p > 0 ? p / 100 : 0) // const icon = battery.bind("percent").as(p => // `battery-level-${Math.floor(p / 10) * 10}-symbolic`)