Struggle with gnome-shell to remove an icon
I'm using Gnome on my laptop & I'd like to remove battery-icon-indicator from my top panel so I first searched for it & found some extensions for gnome-shell but none of them was desired to just remove it. I also searched for another FAQ and article & I found this FAQ & this.
The first FAQ gave a solution to remove indicator-power
package & the second said to edit /usr/share/gnome-shell/js/ui/panel.js
configuration file manually. I think that the first solution is not bad (if it doesn't get in trouble in updates) & the second is a bad idea because manual editing configuration files will cause to face to a problem on the future gnome-shell updates.
Thus the question is How can I remove battery-icon-indicator from my top panel safety?