gnome battery indicator missing in 12.04/12.10

Bug #997758 reported by Steve White on 2012-05-10
This bug affects 32 people
Affects Status Importance Assigned to Milestone
indicator-power (Ubuntu)

Bug Description

This is 12.04 Precise, with Unity turned off, using Gnome.

Multiple users are reporting the panel battery indicator is missing.

indicator-power is installed

Perhaps realated:
     System Settings -> Power
     Show battery status in the menu bar

is blank when the window opens, but non-blank values don't take.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: indicator-power 2.0-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic i686
ApportVersion: 2.0.1-0ubuntu7
Architecture: i386
Date: Thu May 10 20:56:22 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
SourcePackage: indicator-power
UpgradeStatus: Upgraded to precise on 2012-05-09 (1 days ago)

Steve White (stevan-white) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in indicator-power (Ubuntu):
status: New → Confirmed
Ben Hearsum (bhearsum) wrote :

This happens with Awesome as the window manager, too.

Matthew Gleed (mgleed) wrote :

In my instance it appears that the battery indicator is there in that I can click on it to get to the power settings drop down menu, I just can't see the icon. However, if I change the theme I can see the icon except in Radiance. ie:

Adwaita: works
Ambiance: broken
Radiance: broken
High Contrast: works
High Contrast Inverse: works

Gelefisk (gelefisk) wrote :

Same here with Unity in 2D mode. Upgraded to 12.04 from 11.10.

Alexandru Băluț (a13b) wrote :

The "System Settings -> Power -> Show battery status in the menu bar" setting is working only when XDG_CURRENT_DESKTOP is Unity. Changing that combobox sets icon-policy in com.canonical.indicator.power to one of these values: present, charge, never.

With these settings and relogin, the power indicator shows up in Unity just fine, but still not in Gnome Classic:
gsettings set com.canonical.indicator.power icon-policy present
gsettings set org.gnome.settings-daemon.plugins.power active true

Any idea where to look for error messages?

I did "ps aux | grep indicator" while in Unity, with the power indicator visible, but there is no relevant process. Any idea what process is using the indicator-power library?


Janek37 (j-sz) wrote :

I've made my own indicator, it turned out not to be so hard.
You can get it from

GrzesiekC (grzesiekc) wrote :


Odd thing, Your scripts are using /proc/acpi/.... In my case there is no such a folder.
Mine Ubuntu 12.04 has information about battery in different files at /sys/class/power_supply/BAT0/.

I've found this topic. They are using the ACPI output.

I'm not a programer but here is mine script.
Beware sometimes it has a problem after resuming from the standby. I do not know why :-(.

Janek37 (j-sz) wrote :

That script is in Python, not sh, so it shuld have extension .py, not .sh

I have /sys/class/power_supply/BAT0/ too, I wasn't aware of that. I have Ubuntu 12.04, too.

I updated the battery module in my github repo to use the acpi command.

Sebastien Bacher (seb128) wrote :

Is that still an issue? Could somebody having the issue get a "upower --dump" log and take a screenshot showing the issue?

Changed in indicator-power (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Adrian (adrian-ariley) wrote :

Yes, still a problem, in 12.04 and now in 12.10. Here's the output of "upower --dump":
Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI0003:00/power_supply/AC
  power supply: yes
  updated: Fri Oct 25 19:15:01 2013 (3487 seconds ago)
  has history: no
  has statistics: no
    online: no

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0
  vendor: SMP
  model: DELL MM1568
  serial: 24
  power supply: yes
  updated: Fri Oct 25 20:13:06 2013 (2 seconds ago)
  has history: yes
  has statistics: yes
    present: yes
    rechargeable: yes
    state: discharging
    energy: 46.5645 Wh
    energy-empty: 0 Wh
    energy-full: 67.1994 Wh
    energy-full-design: 86.58 Wh
    energy-rate: 20.3241 W
    voltage: 11.549 V
    time to empty: 2.3 hours
    percentage: 69.293%
    capacity: 77.6154%
    technology: lithium-ion
  History (charge):
    1382728386 69.293 discharging
    1382728356 69.590 discharging
    1382728326 69.888 discharging
    1382728296 70.168 discharging
  History (rate):
    1382728386 20.324 discharging
    1382728356 19.969 discharging
    1382728326 21.034 discharging
    1382728296 21.778 discharging

  daemon-version: 0.9.17
  can-suspend: yes
  can-hibernate yes
  on-battery: yes
  on-low-battery: no
  lid-is-closed: no
  lid-is-present: yes
  is-docked: no

And a screenshot of the panel

Changed in indicator-power (Ubuntu):
status: Incomplete → Confirmed
summary: - gnome battery indicator missing in 12.04
+ gnome battery indicator missing in 12.04/12.10
Adrian (adrian-ariley) wrote :

Incidentally, I no longer have the "Show battery status in the menu bar" option in power settings at all.

Charlie Jonshon (charlie164) wrote :

Can anyone tell me that the daemon version 0.9.17 is compatible with windows 10 because I am getting windows update error 80070103 continuously for that I also checked but did not get the valid solution to fix this.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers