ai / autohide-battery

GNOME Shell extension to hide battery icon in top panel, if battery is fully charged and AC is connected.

Home Page:https://extensions.gnome.org/extension/595/autohide-battery/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Broken after update.

cdysthe opened this issue · comments

The extension is broken after it got updated on Aug 21, 2020 on Ubuntu 20.04

What GNOME versions do you use?

Can you show error log? Open All tab and search for autohide-battery, then enable the extension

20200821204919

Usage of indicator.indicators is deprecated for Indicator
get indicators@resource:///org/gnome/shell/ui/panelMenu.js:213:25
getBattery@/home/lyubomir/.local/share/gnome-shell/extensions/autohide-battery@sitnik.ru/extension.js:41:5
show@/home/lyubomir/.local/share/gnome-shell/extensions/autohide-battery@sitnik.ru/extension.js:10:3
update/<@/home/lyubomir/.local/share/gnome-shell/extensions/autohide-battery@sitnik.ru/extension.js:33:7
getBattery@/home/lyubomir/.local/share/gnome-shell/extensions/autohide-battery@sitnik.ru/extension.js:41:5
update@/home/lyubomir/.local/share/gnome-shell/extensions/autohide-battery@sitnik.ru/extension.js:23:3

JS ERROR: Extension autohide-battery@sitnik.ru: Error: A different version was loaded previously. You need to log out for changes to take effect.
loadExtension@resource:///org/gnome/shell/ui/extensionSystem.js:341:52
callback@resource:///org/gnome/shell/ui/extensionDownloader.js:234:39
gotExtensionZipFile/<@resource:///org/gnome/shell/ui/extensionDownloader.js:115:13

After logout and login seems to work for me, OP will say for him.

Close since the project was rewritten since 2020