diff --git a/js/ui/status/power.js b/js/ui/status/power.js index a43eeb65e..c79ff798e 100644 --- a/js/ui/status/power.js +++ b/js/ui/status/power.js @@ -40,10 +40,10 @@ class Indicator extends PanelMenu.SystemIndicator { (proxy, error) => { if (error) { log(error.message); - return; + } else { + this._proxy.connect('g-properties-changed', + this._sync.bind(this)); } - this._proxy.connect('g-properties-changed', - this._sync.bind(this)); this._sync(); });