[Pkg-utopia-maintainers] Bug#996131: upower shows all parameters of a battery as zeroes
Andrej Shadura
andrewsh at debian.org
Mon Oct 11 13:57:11 BST 2021
Package: upower
Version: 0.99.13-1
Severity: important
Hi,
After upgrading to the latest version of upower my laptop immediately
went to suspend despite the fully charged battery. Upon reconnecting
power and investigating, I learnt sleepd forced it into sleep because 0%
battery.
Indeed, this was what I was getting:
> upower --dump
Device: /org/freedesktop/UPower/devices/line_power_AC
native-path: AC
power supply: yes
updated: Mon 11 Oct 2021 14:48:58 CEST (133 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: no
icon-name: 'ac-adapter-symbolic'
Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
power supply: no
updated: Mon 11 Oct 2021 14:50:57 CEST (14 seconds ago)
has history: no
has statistics: no
battery
present: no
rechargeable: no
state: unknown
warning-level: none
energy: 0 Wh
energy-empty: 0 Wh
energy-full: 0 Wh
energy-full-design: 0 Wh
energy-rate: 0 W
percentage: 0%
icon-name: 'battery-missing-symbolic'
Device: /org/freedesktop/UPower/devices/line_power_ucsi_source_psy_USBC000o001
native-path: ucsi-source-psy-USBC000:001
power supply: yes
updated: Mon 11 Oct 2021 14:44:42 CEST (389 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: no
icon-name: 'ac-adapter-symbolic'
Device: /org/freedesktop/UPower/devices/line_power_ucsi_source_psy_USBC000o002
native-path: ucsi-source-psy-USBC000:002
power supply: yes
updated: Mon 11 Oct 2021 14:48:58 CEST (133 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: no
icon-name: 'ac-adapter-symbolic'
Device: /org/freedesktop/UPower/devices/DisplayDevice
power supply: no
updated: Mon 11 Oct 2021 14:44:42 CEST (389 seconds ago)
has history: no
has statistics: no
unknown
warning-level: none
percentage: 0%
icon-name: ''
Daemon:
daemon-version: 0.99.13
on-battery: no
lid-is-closed: no
lid-is-present: yes
critical-action: HybridSleep
> acpi -b
Battery 0: Discharging, 99%, 20:08:04 remaining
Downgrading to 0.99.11-2 fixed the issue:
> upower --dump
Device: /org/freedesktop/UPower/devices/line_power_AC
native-path: AC
power supply: yes
updated: Mon 11 Oct 2021 14:51:51 CEST (10 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: no
icon-name: 'ac-adapter-symbolic'
Device: /org/freedesktop/UPower/devices/battery_BAT0
native-path: BAT0
vendor: Celxpert
model: 5B10W13954
serial: 4279
power supply: yes
updated: Mon 11 Oct 2021 14:51:51 CEST (10 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
warning-level: none
energy: 48.48 Wh
energy-empty: 0 Wh
energy-full: 49.17 Wh
energy-full-design: 51 Wh
energy-rate: 9.304 W
voltage: 12.677 V
time to empty: 5.2 hours
percentage: 98%
capacity: 96.4118%
technology: lithium-polymer
icon-name: 'battery-full-symbolic'
Device: /org/freedesktop/UPower/devices/line_power_ucsi_source_psy_USBC000o001
native-path: ucsi-source-psy-USBC000:001
power supply: yes
updated: Mon 11 Oct 2021 14:51:51 CEST (10 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: no
icon-name: 'ac-adapter-symbolic'
Device: /org/freedesktop/UPower/devices/line_power_ucsi_source_psy_USBC000o002
native-path: ucsi-source-psy-USBC000:002
power supply: yes
updated: Mon 11 Oct 2021 14:51:51 CEST (10 seconds ago)
has history: no
has statistics: no
line-power
warning-level: none
online: no
icon-name: 'ac-adapter-symbolic'
Device: /org/freedesktop/UPower/devices/DisplayDevice
power supply: yes
updated: Mon 11 Oct 2021 14:51:51 CEST (10 seconds ago)
has history: no
has statistics: no
battery
present: yes
state: discharging
warning-level: none
energy: 48.48 Wh
energy-full: 49.17 Wh
energy-rate: 9.304 W
time to empty: 5.2 hours
percentage: 98%
icon-name: 'battery-full-symbolic'
Daemon:
daemon-version: 0.99.11
on-battery: yes
lid-is-closed: no
lid-is-present: yes
critical-action: HybridSleep
Please investigate.
--
Cheers,
Andrej
More information about the Pkg-utopia-maintainers
mailing list