Bug 495354 - gnome-power-manager does not report battery status - /proc/apm shows it
Summary: gnome-power-manager does not report battery status - /proc/apm shows it
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-power-manager
Version: rawhide
Hardware: powerpc
OS: Linux
low
medium
Target Milestone: ---
Assignee: Richard Hughes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-04-12 10:11 UTC by Jeremy Huddleston
Modified: 2009-06-04 18:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-06-04 07:35:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jeremy Huddleston 2009-04-12 10:11:00 UTC
Description of problem:
gnome-power-manager doesn't show any information about the battery.  /proc/apm shows the information.  I'm guessing that it's expecting acpi, but there's not acpi emulation for the powerbooks, just apm.

Comment 1 Richard Hughes 2009-06-03 08:13:06 UTC
What hardware is this? What does devkit-power --dump show?

Comment 2 Jeremy Huddleston 2009-06-03 20:00:15 UTC
This is a Powerbook G4

I have installed Ubuntu on it to avoid this and some other issues.

The problem is that the powerbooks emulate APM, but the widget only queries ACPI

Comment 3 Richard Hughes 2009-06-04 07:35:00 UTC
(In reply to comment #2)
> The problem is that the powerbooks emulate APM, but the widget only queries
> ACPI  

It's not a widget, and it doesn't query the hardware itself, it either uses HAL or DeviceKit-power.

(In reply to comment #2)
> I have installed Ubuntu on it to avoid this and some other issues.

Okay, closing.

Comment 4 Jeremy Huddleston 2009-06-04 17:15:55 UTC
well that's what I mean.  HAL or DeviceKit-power does not have support for APM

Comment 5 Richard Hughes 2009-06-04 17:52:10 UTC
(In reply to comment #4)
> DeviceKit-power does not have support for APM  

And it's not likely to have either. There's a proper kernel class called power_supply that everything needs to be ported to. /proc/apm is going away RSN.

Comment 6 Jeremy Huddleston 2009-06-04 18:13:00 UTC
Right, I understand that.  That *IS* why this is a bug.  The compatibility layer for PowerBooks just provides APM emulation.  That needs to be fixed.

Ubuntu is reading the data from /proc/apm (or some other route) and getting it to gnome-power-manager, so I don't see a reason why Fedora can't as well.


Note You need to log in before you can comment on or make changes to this bug.