[Pkg-xfce-devel] Bug#793437: xfce4-power-manager: temporary and erroneous "9% remaining" in panel plugin

Nathaniel Beaver nathanielmbeaver at gmail.com
Fri Jul 24 02:08:01 UTC 2015


Package: xfce4-power-manager
Version: 1.4.1-1
Severity: normal

Sometimes when waking from suspend, the panel plugin will display a very
low battery (consistently 9%), but nevertheless with a very long time
until discharged (4 hours 7 minutes, 4 hours 15 minutes, 85 hours 1 
minute, etc.).

It does not match the output of commands like

$ acpitool --battery

or other battery notification widgets, so I know it isn't a hardware
problem.

Then, about 2 minutes later, the panel plugin display updates and shows
the correct capacity and discharge time.

Unfortunately, I have not found a way to reproduce it consistently, but
I did manage to take a logfile while it happened, the relevant section
of which is attached. (I can attach the entire thing if necessary.)


-- System Information:
Debian Release: 8.1
   APT prefers stable
   APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) (ignored: 
LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xfce4-power-manager depends on:
ii  libc6                     2.19-18
ii  libdbus-1-3               1.8.18-0+deb8u1
ii  libdbus-glib-1-2          0.102-1
ii  libgdk-pixbuf2.0-0        2.31.1-2+b1
ii  libglib2.0-0              2.42.1-1
ii  libgtk2.0-0               2.24.25-3
ii  libnotify4                0.7.6-2
ii  libupower-glib3           0.99.1-3.2
ii  libx11-6                  2:1.6.2-3
ii  libxext6                  2:1.3.3-1
ii  libxfce4ui-1-0            4.10.0-6
ii  libxfce4util6             4.10.1-2
ii  libxfconf-0-2             4.10.0-3
ii  libxrandr2                2:1.4.2-1+b1
ii  upower                    0.99.1-3.2
ii  xfce4-power-manager-data  1.4.1-1

Versions of packages xfce4-power-manager recommends:
ii  libpam-systemd               215-17+deb8u1
ii  xfce4-power-manager-plugins  1.4.1-1

xfce4-power-manager suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot - 07092015 - 05:41:33 PM.png
Type: image/png
Size: 27181 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20150723/1a393284/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot - 07092015 - 05:42:00 PM.png
Type: image/png
Size: 26742 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20150723/1a393284/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot - 07102015 - 01:22:42 PM.png
Type: image/png
Size: 27222 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20150723/1a393284/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot - 07102015 - 01:23:06 PM.png
Type: image/png
Size: 26275 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20150723/1a393284/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot - 07232015 - 07:04:32 PM_cropped.png
Type: image/png
Size: 30722 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20150723/1a393284/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot - 07232015 - 07:06:05 PM_cropped.png
Type: image/png
Size: 29699 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xfce-devel/attachments/20150723/1a393284/attachment-0011.png>
-------------- next part --------------
$ acpitool --battery
  Battery #1     : present
    Remaining capacity : 41590 mWh, 97.26%, 02:55:15
    Design capacity    : 47520 mWh
    Last full capacity : 42760 mWh, 89.98% of design capacity
    Capacity loss      : 10.02%
    Present rate       : 14239 mW
    Charging state     : Discharging
    Battery type       : Li-ion 
    Model number       : 45N1107
    Serial number      : 1219
$ date
Thu Jul 23 19:05:04 CDT 2015
$ acpitool --battery
  Battery #1     : present
    Remaining capacity : 40860 mWh, 95.56%, 02:17:08
    Design capacity    : 47520 mWh
    Last full capacity : 42760 mWh, 89.98% of design capacity
    Capacity loss      : 10.02%
    Present rate       : 17876 mW
    Charging state     : Discharging
    Battery type       : Li-ion 
    Model number       : 45N1107
    Serial number      : 1219
$ date
Thu Jul 23 19:06:27 CDT 2015
-------------- next part --------------
Jul 23 18:52:14 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-charged
Jul 23 18:52:14 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 4
Jul 23 19:03:58 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Ba
Jul 23 19:03:58 (xfce4-power-manager:28048): GLib-CRITICAL **: Source ID 1332 was not found when attempting to remove it
Jul 23 19:05:58 
Jul 23 19:05:58 (xfce4-power-manager:28048): GLib-GObject-CRITICAL **: g_value_set_enum: assertion 'G_VALUE_HOLDS_ENUM (value)' failed
Jul 23 19:05:58 
Jul 23 19:05:58 (xfce4-power-manager:28048): GLib-GObject-WARNING **: g_object_get_valist: object class 'XfpmBattery' has no property named 'power-supply'
Jul 23 19:05:58 ttery icon xfpm-primary-charged
Jul 23 19:05:58 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 4
Jul 23 19:05:58 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-charged
Jul 23 19:05:58 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 4
Jul 23 19:05:58 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-charged
Jul 23 19:05:58 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 4
Jul 23 19:05:58 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-charged
Jul 23 19:05:58 TRACE[xfpm-manager.c:352] xfpm_manager_lid_changed_cb(): LID close event: ((XfpmLidTriggerAction) LID_TRIGGER_SUSPEND)
Jul 23 19:05:58 TRACE[xfpm-manager.c:385] xfpm_manager_lid_changed_cb(): LID opened: ((XfpmLidTriggerAction) LID_TRIGGER_SUSPEND)
Jul 23 19:05:58 TRACE[xfpm-dpms.c:284] xfpm_dpms_force_level(): start
Jul 23 19:05:58 TRACE[xfpm-dpms.c:297] xfpm_dpms_force_level(): DPMS is disabled
Jul 23 19:05:58 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 2
Jul 23 19:05:58 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-100
Jul 23 19:05:58 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 2
Jul 23 19:05:58 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-100
Jul 23 19:05:58 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 2
Jul 23 19:05:58 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-100
Jul 23 19:05:58 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 2
Jul 23 19:05:58 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-100
Jul 23 19:05:58 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 2
Jul 23 19:05:58 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-100
Jul 23 19:05:58 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 2
Jul 23 19:05:58 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-100
Jul 23 19:05:58 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 2
Jul 23 19:05:58 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-100
Jul 23 19:05:58 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 2
Jul 23 19:05:58 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-100
Jul 23 19:05:58 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 2
Jul 23 19:05:58 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-100
Jul 23 19:05:58 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 2
Jul 23 19:05:58 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-100
Jul 23 19:05:58 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 2
Jul 23 19:05:58 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-100
Jul 23 19:05:58 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 2
Jul 23 19:05:58 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-100
Jul 23 19:05:58 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 2
Jul 23 19:05:58 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-100
Jul 23 19:05:58 TRACE[xfpm-dpms.c:75] xfpm_dpms_set_timeouts(): Settings dpms: standby=300 suspend=0 off=600
Jul 23 19:05:58 
Jul 23 19:05:58 TRACE[xfpm-dpms.c:348] xfpm_dpms_set_on_battery(): dpms on battery TRUE
Jul 23 19:05:58 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 2
Jul 23 19:05:58 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-100
Jul 23 19:05:58 TRACE[xfpm-power.c:1366] xfpm_update_blank_time(): Timeout: 10
Jul 23 19:05:58 TRACE[xfpm-power.c:833] xfpm_power_add_device(): 'battery' device added
Jul 23 19:05:58 TRACE[xfpm-power.c:843] xfpm_power_add_device(): Battery device type 'battery' detected at: /org/freedesktop/UPower/devices/battery_BAT0
Jul 23 19:05:58 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 2
Jul 23 19:05:58 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-000
Jul 23 19:05:58 TRACE[xfpm-power.c:742] xfpm_power_battery_charge_changed_cb(): Current system charge status: ((XfpmBatteryCharge) XFPM_BATTERY_CHARGE_UNKNOWN)
Jul 23 19:05:58 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 2
Jul 23 19:05:58 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-100
Jul 23 19:05:58 TRACE[xfpm-battery.c:189] xfpm_battery_refresh_icon(): Battery state 2
Jul 23 20:10:53 TRACE[xfpm-battery.c:240] xfpm_battery_refresh_icon(): Battery icon xfpm-primary-100


More information about the Pkg-xfce-devel mailing list