"plugged in but still discharging" when not plugged in
I have a Dell Precision 5480, which can be charged via any of the four usb-c ports. When it is unplugged, the KDE applet shows "plugged in but still discharging" and "upower -d" does in fact show "power supply: yes". The full output follows. I'm using Kde Neon (based on Ubuntu 22.04)
$ uname -a
Linux paulision23 6.5.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 12 10:22:43 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
$ upower --version
UPower client version 0.99.17
UPower daemon version 0.99.17
Also the "design-capacity" seems to be off, as it seems to decrease during discharge (and it is unlikely that the battery has lost 15% capacity in 41 charges, but I would blame Dell for that). Please let me know if I can provide any additional information.
While NOT plugged:
$ upower -d
Device: /org/freedesktop/UPower/devices/line_power_AC
native-path: AC
power supply: yes
updated: mer. 03 avril 2024 21:17:43 (274 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: BYD
model: DELL CDTT239
serial: 2523
power supply: yes
updated: mer. 03 avril 2024 21:21:44 (33 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: discharging
warning-level: none
energy: 41.8572 Wh
energy-empty: 0 Wh
energy-full: 59.3824 Wh
energy-full-design: 70.6244 Wh
energy-rate: 9.3632 W
voltage: 16.227 V
charge-cycles: 44
time to empty: 4.5 hours
percentage: 70%
temperature: 30.9 degrees C
capacity: 84.082%
technology: lithium-polymer
icon-name: 'battery-full-symbolic'
History (charge):
1712172104 70.000 discharging
History (rate):
1712172104 9.363 discharging
Device: /org/freedesktop/UPower/devices/line_power_ucsi_source_psy_USBC000o001
native-path: ucsi-source-psy-USBC000:001
power supply: yes
updated: mer. 03 avril 2024 20:51:53 (1824 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: mer. 03 avril 2024 20:51:53 (1824 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/line_power_ucsi_source_psy_USBC000o003
native-path: ucsi-source-psy-USBC000:003
power supply: yes
updated: mer. 03 avril 2024 20:51:53 (1824 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_USBC000o004
native-path: ucsi-source-psy-USBC000:004
power supply: yes
updated: mer. 03 avril 2024 20:51:53 (1824 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: mer. 03 avril 2024 21:21:44 (33 seconds ago)
has history: no
has statistics: no
battery
present: yes
state: discharging
warning-level: none
energy: 41.8572 Wh
energy-full: 59.3824 Wh
energy-rate: 9.3632 W
charge-cycles: N/A
time to empty: 4.5 hours
percentage: 70%
icon-name: 'battery-full-symbolic'
Daemon:
daemon-version: 0.99.17
on-battery: no
lid-is-closed: no
lid-is-present: yes
critical-action: PowerOff
While plugged:
$ upower -d
Device: /org/freedesktop/UPower/devices/line_power_AC
native-path: AC
power supply: yes
updated: mer. 03 avril 2024 21:23:22 (3 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: BYD
model: DELL CDTT239
serial: 2523
power supply: yes
updated: mer. 03 avril 2024 21:23:22 (3 seconds ago)
has history: yes
has statistics: yes
battery
present: yes
rechargeable: yes
state: pending-charge
warning-level: none
energy: 41.58 Wh
energy-empty: 0 Wh
energy-full: 59.3824 Wh
energy-full-design: 70.6244 Wh
energy-rate: 9.3632 W
voltage: 16.345 V
charge-cycles: 44
percentage: 70%
temperature: 30.9 degrees C
capacity: 84.082%
technology: lithium-polymer
icon-name: 'battery-full-charging-symbolic'
History (charge):
1712172104 70.000 discharging
History (rate):
1712172202 9.363 pending-charge
1712172202 10.388 pending-charge
1712172104 9.363 discharging
Device: /org/freedesktop/UPower/devices/line_power_ucsi_source_psy_USBC000o001
native-path: ucsi-source-psy-USBC000:001
power supply: yes
updated: mer. 03 avril 2024 20:51:53 (1892 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: mer. 03 avril 2024 20:51:53 (1892 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/line_power_ucsi_source_psy_USBC000o003
native-path: ucsi-source-psy-USBC000:003
power supply: yes
updated: mer. 03 avril 2024 20:51:53 (1892 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_USBC000o004
native-path: ucsi-source-psy-USBC000:004
power supply: yes
updated: mer. 03 avril 2024 20:51:53 (1892 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: mer. 03 avril 2024 21:23:22 (3 seconds ago)
has history: no
has statistics: no
battery
present: yes
state: pending-charge
warning-level: none
energy: 41.58 Wh
energy-full: 59.3824 Wh
energy-rate: 9.3632 W
charge-cycles: N/A
percentage: 70%
icon-name: 'battery-full-charging-symbolic'
Daemon:
daemon-version: 0.99.17
on-battery: no
lid-is-closed: no
lid-is-present: yes
critical-action: PowerOff