battery monitor not working

Bug #234961 reported by gary kuehn on 2008-05-26
Affects Status Importance Assigned to Milestone
hal (Ubuntu)

Bug Description

The battery monitor no longer works on a Fujitsu Lifebook N3410 under 8.04. A full install was performed instead of an upgrade from 7.10. When the AC plug is unplugged the battery indicator is displayed in the taskbar but it depicts a discharged cell. (Power Manager 2.22.1). The behavior is a bit different if I start up on battery. In that case I am able to get some battery stats via a tooltip while I mouse over the battery. Please note that it still depicts a complete discharge. The Power history graph is flat lined at zero for all graph types.

gary kuehn (gj-kuehn) wrote :

Confirmed gnome-power-manager service is running through session manager. If I go into suspend mode & return the indicator is then updated:

Product BAT1
Status: Discharging
Percentage charge: 83%
Technology: unknown
Model: BAT1
Charging Time: 1 hour 15 minutes
Current Charge & Last full charge 0wh
Charge rate: 0w

Pedro Villavicencio (pedro) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. Could you please attach the resulting log file of: &> gpm.log to the report? You might also want to take a look to the Debugging instructions located at for submit any other logs related to your problem.Thanks in advance.

Changed in gnome-power-manager:
status: New → Incomplete
gary kuehn (gj-kuehn) wrote :

Please find attached two files. I attached the resulting file from the script you provided. To run this script, I powered up the laptop, opened a terminal session and invoked the script. I then ran the script a second time after manually forcing a suspend & subsequent return. The result files attached are gpm.log and gpmafterSuspend.log

I am currently looking at the debugging instructions to see what other pertinent information I can gather.


gary kuehn (gj-kuehn) wrote :

Here is the script results after forcing a suspend.

Chris Coulson (chrisccoulson) wrote :

Hi, is this still an issue? I think that this could be a bug in HAL or gnome-power-manager, so we need to isolate where the bug is. Could you please follow the steps outlined at In particular, could you please run the following commands at a time when g-p-m is indicating the wrong values:

hal-find-by-capability --capability "battery" | xargs -n 1 hal-device > hal-battery.log > gnome-power-bugreport.log

...and then attach the two resulting log files to this bug report.


gary kuehn (gj-kuehn) wrote :

Yes, this is still any issue. The monitor from power up is non-functional. If I force a suspend, upon return the monitor displays values. I have not tested if the values properly reflect reality.

To replicate the monitor failure re-boot or cold start the system while on battery power. My notification preference is set to: "only display an icon when charging or discharging". Upon startup the battery monitor indicates a completely discharged cell. (Laptop battery discharging 0%)

Please find attached a tar file containing the resultant log files requested.

Kind Regards

Chris Coulson (chrisccoulson) wrote :

The numbers from HAL are incorrect too, so I'm re-assigning from g-p-m to HAL for now.

Changed in gnome-power-manager:
status: Incomplete → Confirmed
Chris Coulson (chrisccoulson) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with latest Ubuntu release? Thanks in advance.

Changed in hal:
status: Confirmed → Incomplete
gary kuehn (gj-kuehn) wrote :

Unfortunately it is still an issue. I have kept my installation up-to-date with regard to patches. I am running:

Distributor ID: Ubuntu
Description: Ubuntu 8.04.1
Release: 8.04
Codename: hardy

I had to disable most of the power management features while on battery and now it is a bit like Russian Roulette. I keep working until the machine performs a shutdown when gets critically low on juice which has made for a few unhappy moments.

Are you suggesting I move to Ibex?

Chris Coulson (chrisccoulson) wrote :

gary - Yes, can you try with Intrepid please. This is something that should be reproducible from the live CD if it's still an issue.


Victor Vargas (kamus) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in hal (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers