[Pkg-utopia-maintainers] Bug#865402: upower takes two minutes to update power state changes on laptop
J Mo
jmomo at jmomo.net
Wed Jun 21 06:09:51 UTC 2017
Package: upower
Version: 0.99.4-4+b1
Severity: normal
upower is only checking for power state changes every two minutes on my Apple Macbook Pro 5,1.
I suspect that upower is supposed to be getting some kind of dynamic notification over dbus or something, but apparently it's not.
upower documentation is terrible.
-->upower -i /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: ANKER
model: ASMB013
power supply: yes
updated: Tue 20 Jun 2017 11:02:09 PM PDT (58 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: charging
warning-level: none
energy: 14.8392 Wh
energy-empty: 0 Wh
energy-full: 50.4036 Wh
energy-full-design: 49.68 Wh
energy-rate: 10.8864 W
voltage: 11.931 V
time to full: 3.3 hours
percentage: 30%
temperature: 37.2 degrees C
capacity: 100%
technology: lithium-ion
icon-name: 'battery-good-charging-symbolic'
History (charge):
1498024929 30.000 charging
History (rate):
1498024929 10.886 charging
Here is me pulling the magsafe connector and then almost immediately plugging it back in:
-->while true ; do acpi -V ; echo -- ; sleep 1 ; done
Battery 0: Charging, 30%, 03:40:51 until charged
Battery 0: design capacity 4600 mAh, last full capacity 4667 mAh = 100%
Adapter 0: off-line
Cooling 0: Processor 0 of 10
Cooling 1: BAT0 no state information available
Cooling 2: Processor 0 of 10
--
Battery 0: Charging, 30%, 16:21:06 until charged
Battery 0: design capacity 4600 mAh, last full capacity 4667 mAh = 100%
Adapter 0: off-line
Cooling 0: Processor 0 of 10
Cooling 1: BAT0 no state information available
Cooling 2: Processor 0 of 10
--
Battery 0: Discharging, 30%, 00:37:23 remaining
Battery 0: design capacity 4600 mAh, last full capacity 4667 mAh = 100%
Adapter 0: off-line
Cooling 0: Processor 0 of 10
Cooling 1: BAT0 no state information available
Cooling 2: Processor 0 of 10
--
Battery 0: Discharging, 30%, 00:39:10 remaining
Battery 0: design capacity 4600 mAh, last full capacity 4667 mAh = 100%
Adapter 0: off-line
Cooling 0: Processor 0 of 10
Cooling 1: BAT0 no state information available
Cooling 2: Processor 0 of 10
--
Battery 0: Discharging, 30%, 01:05:37 remaining
Battery 0: design capacity 4600 mAh, last full capacity 4667 mAh = 100%
Adapter 0: on-line
Cooling 0: Processor 0 of 10
Cooling 1: BAT0 no state information available
Cooling 2: Processor 0 of 10
--
Battery 0: Full, 30%
Battery 0: design capacity 4600 mAh, last full capacity 4667 mAh = 100%
Adapter 0: on-line
Cooling 0: Processor 0 of 10
Cooling 1: BAT0 no state information available
Cooling 2: Processor 0 of 10
--
Battery 0: Charging, 30%, 01:32:18 until charged
Battery 0: design capacity 4600 mAh, last full capacity 4667 mAh = 100%
Adapter 0: on-line
Cooling 0: Processor 0 of 10
Cooling 1: BAT0 no state information available
Cooling 2: Processor 0 of 10
--
Battery 0: Charging, 30%, 01:36:34 until charged
Battery 0: design capacity 4600 mAh, last full capacity 4667 mAh = 100%
Adapter 0: on-line
Cooling 0: Processor 0 of 10
Cooling 1: BAT0 no state information available
Cooling 2: Processor 0 of 10
--
Battery 0: Charging, 30%, 01:50:37 until charged
Battery 0: design capacity 4600 mAh, last full capacity 4667 mAh = 100%
Adapter 0: on-line
Cooling 0: Processor 0 of 10
Cooling 1: BAT0 no state information available
Cooling 2: Processor 0 of 10
--
-- System Information:
Debian Release: 9.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages upower depends on:
ii dbus 1.10.18-1
ii libc6 2.24-11+deb9u1
ii libglib2.0-0 2.50.3-2
ii libgudev-1.0-0 230-3
ii libimobiledevice6 1.2.0+dfsg-3.1
ii libplist3 1.12+git+1+e37ca00-0.3
ii libupower-glib3 0.99.4-4+b1
ii libusb-1.0-0 2:1.0.21-1
ii udev 232-25
Versions of packages upower recommends:
ii policykit-1 0.105-18
upower suggests no packages.
-- no debconf information
More information about the Pkg-utopia-maintainers
mailing list