[Pkg-utopia-maintainers] Bug#859105: upower: Fails to mark system as "on-battery"
Julien Goodwin
jgoodwin at studio442.com.au
Thu Mar 30 11:18:26 UTC 2017
Package: upower
Version: 0.99.4-4+b1
Severity: important
Hardware is a brand new Lenovo T470s which has two internal batteries.
Regardless whether a charger is connected, or the system is powered from
internal batteries, "on-battery" is always shown as "no".
Here's the result of upower -d while running from battery:
Device: /org/freedesktop/UPower/devices/line_power_AC
native-path: AC
power supply: yes
updated: Thu 30 Mar 2017 22:10:35 AEDT (36 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: yes
icon-name: 'ac-adapter-symbolic'
Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: SANYO
model: 00HW022
serial: 472
power supply: yes
updated: Thu 30 Mar 2017 22:11:02 AEDT (9 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
warning-level: none
energy: 24.11 Wh
energy-empty: 0 Wh
energy-full: 24.67 Wh
energy-full-design: 23.51 Wh
energy-rate: 0 W
voltage: 12.861 V
percentage: 97%
capacity: 100%
technology: lithium-polymer
icon-name: 'battery-full-symbolic'
History (charge):
1490872236 97.000 fully-charged
1490872235 0.000 unknown
History (rate):
1490872235 0.000 unknown
Device: /org/freedesktop/UPower/devices/battery_BAT1
native-path: BAT1
vendor: SMP
model: 01AV406
serial: 2230
power supply: yes
updated: Thu 30 Mar 2017 22:10:35 AEDT (36 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: fully-charged
warning-level: none
energy: 26.32 Wh
energy-empty: 0 Wh
energy-full: 26.32 Wh
energy-full-design: 26.06 Wh
energy-rate: 0 W
voltage: 12.839 V
percentage: 100%
capacity: 100%
technology: lithium-polymer
icon-name: 'battery-full-charged-symbolic'
History (charge):
1490872235 0.000 unknown
History (rate):
1490872235 0.000 unknown
Device: /org/freedesktop/UPower/devices/DisplayDevice
power supply: yes
updated: Thu 30 Mar 2017 22:11:02 AEDT (9 seconds ago)
has history: no
has statistics: no
battery
present: yes
state: discharging
warning-level: none
energy: 50.43 Wh
energy-full: 50.99 Wh
energy-rate: 0 W
percentage: 98.9017%
icon-name: 'battery-full-symbolic'
Daemon:
daemon-version: 0.99.4
on-battery: no
lid-is-closed: no
lid-is-present: yes
critical-action: PowerOff
Potentially relevant is that acpi -a follows power state:
$ acpi -a
Adapter 0: on-line
$ acpi -a
Adapter 0: off-line
-- System Information:
Debian Release: 9.0
APT prefers testing
APT policy: (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages upower depends on:
ii dbus 1.10.16-1
ii libc6 2.24-9
ii libglib2.0-0 2.50.3-1
ii libgudev-1.0-0 230-3
ii libimobiledevice6 1.2.0+dfsg-3.1
ii libplist3 1.12+git+1+e37ca00-0.1
ii libupower-glib3 0.99.4-4+b1
ii libusb-1.0-0 2:1.0.21-1
ii udev 232-19
Versions of packages upower recommends:
ii policykit-1 0.105-17
upower suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 232 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20170330/72dea3ec/attachment.sig>
More information about the Pkg-utopia-maintainers
mailing list