Bug#613935: gnome-power-manager: The current "Energy" level in the "Details" page is reported with a factor 10 lower
Derick Rethans
debian at derickrethans.nl
Fri Feb 18 11:06:13 UTC 2011
Package: gnome-power-manager
Version: 2.32.0-2
Severity: important
Right now, my battery power indicator shows "7.6%". The "Details" tab
of "Power Statistics" lists:
Energy: 7.1 Wh (should be 71.1 Wh I think, from the package-specific-info below).
Energy when full: 94.1 Wh
Percentage: 7.6%
However, this is wrong by a factor 10 compared to what
/sys/class/power_supply/BAT0 says:
derick at whisky:/sys/class/power_supply/BAT0$ cat energy_now
7114000
derick at whisky:/sys/class/power_supply/BAT0$ cat energy_full
9411000
The latter information I believe to be correct.
cheers,
Derick
-- Package-specific info:
Distro version: wheezy/sid
Kernel version: 2.6.32-5-amd64
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 = 7174 (0x1c06) (int)
battery.charge_level.design = 9324 (0x246c) (int)
battery.charge_level.last_full = 9411 (0x24c3) (int)
battery.charge_level.percentage = 76 (0x4c) (int)
battery.charge_level.rate = 1291 (0x50b) (int)
battery.is_rechargeable = true (bool)
battery.model = '42T4799' (string)
battery.present = true (bool)
battery.rechargeable.is_charging = false (bool)
battery.rechargeable.is_discharging = true (bool)
battery.remaining_time = 20004 (0x4e24) (int)
battery.reporting.current = 7174 (0x1c06) (int)
battery.reporting.design = 9324 (0x246c) (int)
battery.reporting.last_full = 9411 (0x24c3) (int)
battery.reporting.rate = 1291 (0x50b) (int)
battery.reporting.technology = 'Li-ion' (string)
battery.reporting.unit = 'mWh' (string)
battery.serial = '13975' (string)
battery.technology = 'lithium-ion' (string)
battery.type = 'primary' (string)
battery.vendor = 'SANYO' (string)
battery.voltage.current = 11996 (0x2edc) (int)
battery.voltage.design = 11100 (0x2b5c) (int)
battery.voltage.unit = 'mV' (string)
UPower data:
Device: /org/freedesktop/UPower/devices/line_power_AC
native-path: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:09/PNP0C09:00/ACPI0003:00/power_supply/AC
power supply: yes
updated: Fri Feb 18 10:28:58 2011 (1897 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/PNP0A08:00/device:09/PNP0C09:00/PNP0C0A:00/power_supply/BAT0
vendor: SANYO
model: 42T4799
serial: 13975
power supply: yes
updated: Fri Feb 18 11:00:15 2011 (20 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
energy: 7.184 Wh
energy-empty: 0 Wh
energy-full: 94.11 Wh
energy-full-design: 93.24 Wh
energy-rate: 1.376 W
voltage: 11.962 V
time to empty: 5.2 hours
percentage: 7.63362%
capacity: 100%
technology: lithium-ion
History (charge):
1298026815 7.634 discharging
1298026784 7.648 discharging
1298026753 7.664 discharging
1298026722 7.680 discharging
History (rate):
1298026815 1.376 discharging
1298026784 1.356 discharging
1298026753 1.349 discharging
1298026722 1.336 discharging
Daemon:
daemon-version: 0.9.8
can-suspend: yes
can-hibernate yes
on-battery: yes
on-low-battery: yes
lid-is-closed: no
lid-is-present: yes
is-docked: no
GNOME Power Manager Process Information:
HAL Process Information:
115 5587 17.0 0.0 45240 5460 ? Ssl 11:00 0:00 /usr/sbin/hald
root 5588 0.0 0.0 22312 1412 ? S 11:00 0:00 \_ hald-runner
root 5617 0.0 0.0 24428 1340 ? S 11:00 0:00 \_ hald-ad
115 5633 0.0 0.0 26216 1264 ? S 11:00 0:00 \_ hald-ad
root 5638 0.0 0.0 24424 1324 ? S 11:00 0:00 \_ hald-ad
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.utf8, LC_CTYPE=en_GB.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages gnome-power-manager depends on:
ii consolekit 0.4.3-2 framework for defining and trackin
ii dbus-x11 1.4.1-2 simple interprocess messaging syst
ii gconf2 2.28.1-6 GNOME configuration database syste
ii libbonobo2-0 2.24.3-1 Bonobo CORBA interfaces library
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii libcairo2 1.10.2-2 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.4.1-2 simple interprocess messaging syst
ii libdbus-glib-1-2 0.88-2.1 simple interprocess messaging syst
ii libgconf2-4 2.28.1-6 GNOME configuration database syste
ii libglib2.0-0 2.28.0-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 0.5.0-2 sends desktop notifications to a n
ii libpanel-applet2-0 2.30.2-3 library for GNOME Panel applets
ii libpango1.0-0 1.28.3-1+squeeze1 Layout and rendering of internatio
ii libunique-1.0-0 1.1.6-2 Library for writing single instanc
ii libupower-glib1 0.9.8-2 abstraction for power management -
ii libx11-6 2:1.4.1-4 X11 client-side library
ii libxext6 2:1.2.0-2 X11 miscellaneous extension librar
ii libxrandr2 2:1.3.1-1 X11 RandR extension library
ii notification-daemon 0.5.0-2 daemon to displays passive pop-up
ii upower 0.9.8-2 abstraction for power management
Versions of packages gnome-power-manager recommends:
ii udisks 1.0.2-3 abstraction for enumerating block
Versions of packages gnome-power-manager suggests:
ii policykit-1 0.99-3 framework for managing administrat
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list