Add current power profile in panel's system icons. Very light extension.
Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.
Hi JP, The GS 45 one! You see that I did crawl in GS to shorten the code ;-) Hope all is ok, this time. ^^ More seriously, if you have a simple way to wait for Main.panel.statusArea['quickSettings']._powerProfiles.quickSettingsItems[0] to be ready instead of the timeout hack (that does work, though !), I'll be happy to get it. Thanks!
Timeout should be removed on destroy (line 22 `extension.js`): [EGO Review Guidelines: Timeout](https://gjs.guide/extensions/review-guidelines/review-guidelines.html#remove-main-loop-sources) Anyway, in this case, I prefer using `idle_add()` instead. If you used that, please also remove the `idle_add()` source id on destroy.