Comment 7 for bug 552597

Revision history for this message
In , Pablo (pablo-redhat-bugs) wrote :

Description of problem:

There is no "Running on Battery" tab on gnome-power-preferences; all settings work as if the computer was always plugged in, and the icon on the notification area is always of a plugged-in computer, with no charge information. When the battery gets too low, the computer just shuts down without warning.

I'm marking it as a g-p-m bug because other programs see the battery just fine. PowerDevil under KDE gives me all options for the battery, as does xfce4-power-manager.

/proc/apm shows the battery status:
$ cat /proc/apm
1.13 1.2 0x02 0x00 0x00 0x01 97% 61 min

hal sees it just fine:
$ lshal |grep battery
udi = '/org/freedesktop/Hal/devices/pmu_battery_0_0'
  battery.charge_level.current = 2048 (0x800) (int)
  battery.charge_level.design = 2126 (0x84e) (int)
  battery.charge_level.last_full = 2126 (0x84e) (int)
  battery.charge_level.percentage = 96 (0x60) (int)
  battery.charge_level.rate = 0 (0x0) (int)
  battery.is_rechargeable = true (bool)
  battery.present = true (bool)
  battery.rechargeable.is_charging = false (bool)
  battery.rechargeable.is_discharging = true (bool)
  battery.remaining_time = 4096 (0x1000) (int)
  battery.technology = 'unknown' (string)
  battery.type = 'primary' (string)
  info.capabilities = {'battery'} (string list)
  info.category = 'battery' (string)
  info.udi = '/org/freedesktop/Hal/devices/pmu_battery_0_0' (string)
  linux.pmu_path = '/proc/pmu/battery_0' (string)

Version-Release number of selected component (if applicable):

gnome-power-manager-2.26.1-3.fc11.ppc

Other components in use:
hal-0.5.12-26.20090226git.fc11.ppc
kernel-2.6.29.3-155.fc11.ppc

and the desktop power managers:
xfce4-power-manager-0.8.0-0.2.beta1.fc11.ppc
kdebase-workspace-4.2.3-4.fc11.ppc (for PowerDevil)

How reproducible:

Happens every time on my computer, even after reinstalling Rawhide. Not sure if other iBook users have the same problem.

Additional info:

The exact model of the affected laptop:
$ cat /proc/cpuinfo
processor : 0
cpu : 7455, altivec supported
clock : 798.720000MHz
revision : 3.3 (pvr 8001 0303)
bogomips : 48.41
timebase : 18432000
platform : PowerMac
model : PowerBook6,3
machine : PowerBook6,3
motherboard : PowerBook6,3 MacRISC3 Power Macintosh
detected as : 287 (iBook G4)
pmac flags : 0000001b
L2 cache : 256K unified
pmac-generation : NewWorld
Memory : 640 MB