Public bug reported:
Hardware: Lenovo T590
OS: 19.10
When the power is not connected when the laptop boots, and then
connected, the power icon in the top bar does not change to indicate
that the laptop is now charging.
$ upower -d
Device: /org/freedesktop/UPower/devices/line_power_AC
native-path: AC
power supply: yes
updated: Thu 26 Sep 2019 08:53:40 AM MDT (2107 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: SMP
model: 02DL012
serial: 1417
power supply: yes
updated: Thu 26 Sep 2019 09:28:33 AM MDT (14 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
warning-level: none
energy: 55.53 Wh
energy-empty: 0 Wh
energy-full: 57.21 Wh
energy-full-design: 57.02 Wh
energy-rate: 0.319173 W
voltage: 12.932 V
time to empty: 7.2 days
percentage: 97%
capacity: 100%
technology: lithium-polymer
icon-name: 'battery-full-symbolic'
Device: /org/freedesktop/UPower/devices/DisplayDevice
power supply: yes
updated: Thu 26 Sep 2019 09:22:33 AM MDT (374 seconds ago)
has history: no
has statistics: no
battery
present: yes
state: discharging
warning-level: none
energy: 55.53 Wh
energy-full: 57.21 Wh
energy-rate: 0.319173 W
time to empty: 7.2 days
percentage: 97%
icon-name: 'battery-full-symbolic'
Daemon:
daemon-version: 0.99.11
on-battery: yes
lid-is-closed: no
lid-is-present: yes
critical-action: PowerOff
$ cat /sys/class/power_supply/BAT0/status
Unknown
However, if the laptop is booted with the power connected, then the
battery icon in the top bar shows that it's charging and at 100%. If I
unplug the power, it correctly shows that it is no longer charging but
it goes back to saying I'm at 97% (the last reported state when booted
without power).
ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: upower 0.99.11-1
ProcVersionSignature: Ubuntu 5.3.0-10.11-generic 5.3.0-rc8
Uname: Linux 5.3.0-10-generic x86_64
ApportVersion: 2.20.11-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Sep 26 10:24:38 2019
InstallationDate: Installed on 2019-09-13 (12 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: upower
UpgradeStatus: Upgraded to eoan on 2019-09-19 (7 days ago)
** Affects: upower (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug eoan
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1845532
Title:
power icon does not indicate charging if booted without power
connected
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/upower/+bug/1845532/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs