diff --git a/metadata.json b/metadata.json index a5f4ee8f..c4f25b9d 100644 --- a/metadata.json +++ b/metadata.json @@ -1,7 +1,7 @@ { "localedir": "/usr/local/share/locale", "shell-version": [ - "3.28", "3.30", "3.36", "3.38", "40", "41", "42" + "3.28", "3.30", "3.36", "3.38", "40", "41", "42", "43" ], "uuid": "cpupower@mko-sl.de", "name": "CPU Power Manager", diff --git a/src/indicator.js b/src/indicator.js index 573796f5..e48e242f 100644 --- a/src/indicator.js +++ b/src/indicator.js @@ -108,7 +108,7 @@ var CPUFreqIndicator = class CPUFreqIndicator extends baseindicator.CPUFreqBaseI } enable() { - this.power = Main.panel.statusArea["aggregateMenu"]._power; + this.power = imports.ui.main.panel.statusArea.quickSettings._system._systemItem._powerToggle; this.powerState = this.power._proxy.State; this.powerConnectSignalId = this.power._proxy.connect( "g-properties-changed",