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

The problem is the same as here:

  1. The icon does not change when the power cord is plugged in or unplugged (the icon remains a battery if that was the power source on boot but won't change if I plug in the power adaptor and visa-verse).

  2. The battery indicator does not give me a low battery warning or alert (ubuntu just shuts down with no onscreen warnings).


  • I use Ubuntu 12.04 LTS, 64 Bit
  • Reinstalling gnome-power-manager didn't work
  • acpi -b returns "Battery 0: Unknown, 95%"
share|improve this question
And did the answer given there help? – guntbert Mar 5 '13 at 21:31
It didn't. I don't have aptitude so I used apt-get to remove and reinstall it. – Benjamin Mar 7 '13 at 9:50
Exactly same issue here. – theharshest Nov 14 '13 at 17:18
I think then that you may need to break this down. gnome-power-manager uses the package UPower. So you will probably have this installed. When you run upower --monitor-detail and disconnect/reconnect from an outlet do you see detail lines from that? (I tried and I do) – rocky Jun 24 '15 at 1:43
Have you done "update-icon-caches" – DnrDevil Oct 16 '15 at 23:11

This might be a little weird better answer if your problem is still not solved. I wrote a small python script to show the battery status and its percentage. But the only problem is that you need to run the script every time you need to see the status.

from subprocess import Popen,PIPE
process1=Popen(['grep','-E','state|to\ full|percentage'],stdin=process.stdout,stdout=PIPE)'\n')
for i in range(len(answer)):
    final.append(temp[0].strip(' ')+' : '+temp[1].strip(' '))

for i in final:

share|improve this answer

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.