Bug#601587: gnome-power-manager: with 2.6.36 does not display remaining run time on battery

Norbert Preining preining at logic.at
Wed Oct 27 14:43:41 UTC 2010


Package: gnome-power-manager
Version: 2.32.0-2
Severity: normal

Hi,

on 2.6.35 kernel the g-p-m shows the remaining percentage of battery,
together with the estimated run time.

on 2.6.36 kernel it only shows:
	Laptop battery discharging (15%)

On both kernels a simple
	$ acpi
does indeed show the right thing, like now on 2.6.36:
	Battery 0: Discharging, 16%, 00:46:36 remaining

All the best

Norbert

-- Package-specific info:
Distro version:       squeeze/sid
Kernel version:       2.6.36+
g-p-m version:        2.32.0
HAL version:          0.5.14
System manufacturer:  missing
System version:       missing
System product:       missing
AC adapter present:   yes
Battery present:      yes
Laptop panel present: yes
CPU scaling present:  yes
Battery Information:
  battery.charge_level.current = 13840  (0x3610)  (int)
  battery.charge_level.design = 89260  (0x15cac)  (int)
  battery.charge_level.last_full = 86550  (0x15216)  (int)
  battery.charge_level.percentage = 15  (0xf)  (int)
  battery.charge_level.rate = 0  (0x0)  (int)
  battery.is_rechargeable = true  (bool)
  battery.model = ''  (string)
  battery.present = true  (bool)
  battery.rechargeable.is_charging = false  (bool)
  battery.rechargeable.is_discharging = true  (bool)
  battery.remaining_time = 5190  (0x1446)  (int)
  battery.reporting.current = 13840  (0x3610)  (int)
  battery.reporting.design = 89260  (0x15cac)  (int)
  battery.reporting.last_full = 86550  (0x15216)  (int)
  battery.reporting.technology = 'Li-ion'  (string)
  battery.reporting.unit = 'mWh'  (string)
  battery.serial = ''  (string)
  battery.technology = 'lithium-ion'  (string)
  battery.type = 'primary'  (string)
  battery.vendor = 'Sony Corporation'  (string)
  battery.voltage.current = 10136  (0x2798)  (int)
  battery.voltage.design = 10800  (0x2a30)  (int)
  battery.voltage.unit = 'mV'  (string)
UPower data:
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:              Wed Oct 27 23:37:50 2010 (255 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    online:             no

Device: /org/freedesktop/UPower/devices/battery_BAT0
  native-path:          /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0A:00/power_supply/BAT0
  vendor:               Sony Corporation
  power supply:         yes
  updated:              Wed Oct 27 23:41:58 2010 (7 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    energy:              13.84 Wh
    energy-empty:        0 Wh
    energy-full:         86.55 Wh
    energy-full-design:  89.26 Wh
    energy-rate:         0 W
    voltage:             10.136 V
    percentage:          15.9908%
    capacity:            96.9639%
    technology:          lithium-ion
  History (charge):
    1288190518	15.991	discharging
    1288190488	16.083	discharging
    1288190458	16.118	discharging
    1288190428	16.199	discharging

Daemon:
  daemon-version:  0.9.5
  can-suspend:     yes
  can-hibernate    yes
  on-battery:      yes
  on-low-battery:  no
  lid-is-closed:   no
  lid-is-present:   yes
GNOME Power Manager Process Information:
HAL Process Information:
109       2201  0.0  0.1  45044  5396 ?        Ssl  23:34   0:00 /usr/sbin/hald
root      2374  0.0  0.0  22276  1380 ?        S    23:34   0:00  \_ hald-runner
root      2752  0.0  0.0  24392  1332 ?        S    23:34   0:00      \_ hald-ad
root      2764  0.0  0.0  24388  1328 ?        S    23:34   0:00      \_ hald-ad
109       2778  0.0  0.0  26176  1252 ?        S    23:34   0:00      \_ hald-ad

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.36+ (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnome-power-manager depends on:
ii  consolekit                    0.4.2-1    framework for defining and trackin
ii  dbus-x11                      1.2.24-3   simple interprocess messaging syst
ii  gconf2                        2.28.1-5   GNOME configuration database syste
ii  libbonobo2-0                  2.24.3-1   Bonobo CORBA interfaces library
ii  libc6                         2.11.2-6   Embedded GNU C Library: Shared lib
ii  libcairo2                     1.8.10-6   The Cairo 2D vector graphics libra
ii  libcanberra-gtk0              0.24-1     Gtk+ helper for playing widget eve
ii  libcanberra0                  0.24-1     a simple abstract interface for pl
ii  libdbus-1-3                   1.2.24-3   simple interprocess messaging syst
ii  libdbus-glib-1-2              0.88-2     simple interprocess messaging syst
ii  libgconf2-4                   2.28.1-5   GNOME configuration database syste
ii  libglib2.0-0                  2.25.15-1  The GLib library of C routines
ii  libgnome-keyring0             2.30.1-1   GNOME keyring services library
ii  libgtk2.0-0                   2.20.1-2   The GTK+ graphical user interface 
ii  libnotify1 [libnotify1-gtk2.1 0.5.0-2    sends desktop notifications to a n
ii  libpanel-applet2-0            2.30.2-2   library for GNOME Panel applets
ii  libpango1.0-0                 1.28.3-1   Layout and rendering of internatio
ii  libunique-1.0-0               1.1.6-1.1  Library for writing single instanc
ii  libupower-glib1               0.9.5-5    abstraction for power management -
ii  libx11-6                      2:1.3.3-3  X11 client-side library
ii  libxext6                      2:1.1.2-1  X11 miscellaneous extension librar
ii  libxrandr2                    2:1.3.0-3  X11 RandR extension library
ii  notification-daemon           0.5.0-2    daemon to displays passive pop-up 
ii  upower                        0.9.5-5    abstraction for power management

Versions of packages gnome-power-manager recommends:
ii  udisks               1.0.1+git20100614-3 abstraction for enumerating block 

Versions of packages gnome-power-manager suggests:
ii  policykit-1                   0.96-3     framework for managing administrat

-- Configuration Files:
/etc/xdg/autostart/gnome-power-manager.desktop [Errno 2] No such file or directory: u'/etc/xdg/autostart/gnome-power-manager.desktop'

-- no debconf information





More information about the pkg-gnome-maintainers mailing list