Bug 1216420 - after boot on battery power AC is errornously shown to be connected
Summary: after boot on battery power AC is errornously shown to be connected
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: KDE Workspace (Plasma) (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-Mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-19 13:05 UTC by Oliver Neukum
Modified: 2023-10-19 13:06 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
dmesg from boot on battery (88.40 KB, text/plain)
2023-10-19 13:05 UTC, Oliver Neukum
Details
screenshot (131.19 KB, image/png)
2023-10-19 13:06 UTC, Oliver Neukum
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Neukum 2023-10-19 13:05:26 UTC
Created attachment 870329 [details]
dmesg from boot on battery

If I boot the system on battery power and log in, the system monitor in the panel claims that AC is connected but insufficient.

According to the kernel AC is not connected:
oneukum@localhost:/sys/class/power_supply/AC> cat online 
0
oneukum@localhost:/sys/class/power_supply/AC> cat uevent 
POWER_SUPPLY_NAME=AC
POWER_SUPPLY_TYPE=Mains
POWER_SUPPLY_ONLINE=0
oneukum@localhost:/sys/class/power_supply/AC>

According to upowerd AC is offline:
oneukum@localhost:~> upower --dump
Device: /org/freedesktop/UPower/devices/line_power_AC
  native-path:          AC
  power supply:         yes
  updated:              Do 19 Okt 2023 14:56:09 CEST (111 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:               LGC
  model:                5B10W139
  serial:               9170
  power supply:         yes
  updated:              Do 19 Okt 2023 14:57:39 CEST (21 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              48,68 Wh
    energy-empty:        0 Wh
    energy-full:         51,48 Wh
    energy-full-design:  50,5 Wh
    energy-rate:         16,164 W
    voltage:             12,246 V
    charge-cycles:       143
    time to empty:       3,0 hours
    percentage:          94%
    capacity:            100%
    technology:          lithium-polymer
    icon-name:          'battery-full-symbolic'
  History (charge):
    1697720229  94,000  discharging
    1697720169  95,000  discharging
    1697720169  0,000   unknown
  History (rate):
    1697720259  16,164  discharging
    1697720229  14,182  discharging
    1697720199  13,210  discharging
    1697720169  14,593  discharging
    1697720169  0,000   unknown

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply:         yes
  updated:              Do 19 Okt 2023 14:57:39 CEST (21 seconds ago)
  has history:          no
  has statistics:       no
  battery
    present:             yes
    state:               discharging
    warning-level:       none
    energy:              48,68 Wh
    energy-full:         51,48 Wh
    energy-rate:         16,164 W
    charge-cycles:       N/A
    time to empty:       3,0 hours
    percentage:          94%
    icon-name:          'battery-full-symbolic'

Daemon:
  daemon-version:  1.90.2
  on-battery:      yes
  lid-is-closed:   no
  lid-is-present:  yes
  critical-action: HybridSleep
Comment 1 Oliver Neukum 2023-10-19 13:06:23 UTC
Created attachment 870330 [details]
screenshot

the panel showing an undead AC