Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using ubuntu 11.10. There was an option for the same in 11.04.

I found a suggestion listed here. Unfortunately, it does'nt work.

$ GSETTINGS_BACKEND=dconf gsettings set org.gnome.power-manager icon-policy charge
No such key 'icon-policy'

share|improve this question

Manually creating icon-policy key & setting it to "charge" might help, however I did it from terminal & it worked fine for me(both in gnome-shell & fallback mode).

Run update manager & make sure you have latest updates.Disable any extension(if you have any) related to power or battery.Then open terminal & run following command:

gsettings get org.gnome.power-manager icon-policy

it should return something like these:

:~$ gsettings range org.gnome.power-manager icon-policy

Now set the icon policy to charge:

gsettings set org.gnome.power-manager icon-policy charge

Restart gnome-shell.


Does this help?

Update: This above method only works with gnome 3.1.3 or less.

Unfortunately in latest gnome this isn't possible any more. "org.gnome.power-manager icon-policy" has been removed in GNOME 3.2, as gnome-power-manager code has been moved to gnome-settings-daemon, where there is no key to configure this. See this bug report(bug 655298).

If you want to hide battery icon in gnome shell, see this post: how to remove battery indicator in gnome-shell?

On Unity, support for hiding of icon and settings has been added with indicator-power - 1.90-0ubuntu1 (bug 811769).

share|improve this answer
@Kurshid, How can I create the key manually?? – Abhijith Mar 15 '12 at 11:19
Unfortunately it appears that this isn't possible any more with Gnome 3.2. See the update. – Khurshid Alam Apr 23 '12 at 21:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.