diff --git a/js/ui/status/power.js b/js/ui/status/power.js index c09fd2fb8..6f8ba321d 100644 --- a/js/ui/status/power.js +++ b/js/ui/status/power.js @@ -207,7 +207,7 @@ DeviceItem.prototype = { this.addActor(this._box); let percentBin = new St.Bin({ x_align: St.Align.END }); - let percentLabel = new St.Label({ text: '%d%%'.format(percentage) }); + let percentLabel = new St.Label({ text: '%d%%'.format(Math.round(percentage)) }); percentBin.child = percentLabel; this.addActor(percentBin); },