Bug 354781 - On AC Power state is not recognized
Summary: On AC Power state is not recognized
Status: RESOLVED WORKSFORME
Alias: None
Product: Powerdevil
Classification: Plasma
Component: general (show other bugs)
Version: 5.4.2
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Development Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-03 09:27 UTC by Espen Fossen
Modified: 2020-12-12 04:34 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Espen Fossen 2015-11-03 09:27:22 UTC
PlasmaDevil and/or widgets used to show info does not recognize when AC Power is plugged in.

Reproducible: Always

Steps to Reproduce:
1. Start with AC Power not plugged in. 
2. Check that widget reports Charging og Fully Charged.
3. Plugin AC Power.
4. Check widget again, should report on AC Power

Actual Results:  
Widget shows Charging og Fully Charged.

Expected Results:  
Widget shows On AC Power

upower seem to work fine, an report that the line_power_ADP1 is online:

upower -d 

Device: /org/freedesktop/UPower/devices/line_power_ADP1
  native-path:          ADP1
  power supply:         yes
  updated:              ti. 03. nov. 2015 kl. 10.09 +0100 (355 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:               DP
  model:                bq20z451
  power supply:         yes
  updated:              ti. 03. nov. 2015 kl. 10.13 +0100 (95 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               fully-charged
    warning-level:       none
    energy:              97,5824 Wh
    energy-empty:        0 Wh
    energy-full:         98,1277 Wh
    energy-full-design:  99,4568 Wh
    energy-rate:         20,3912 W
    voltage:             12,929 V
    percentage:          99%
    temperature:         33,6 degrees C
    capacity:            98,6636%
    technology:          lithium-ion
    icon-name:          'battery-full-charged-symbolic'

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply:         yes
  updated:              ti. 03. nov. 2015 kl. 10.09 +0100 (335 seconds ago)
  has history:          no
  has statistics:       no
  battery
    present:             yes
    state:               fully-charged
    warning-level:       none
    energy:              97,5824 Wh
    energy-full:         98,1277 Wh
    energy-rate:         20,3912 W
    percentage:          99%
    icon-name:          'battery-full-charged-symbolic'

Daemon:
  daemon-version:  0.99.3
  on-battery:      no
  lid-is-closed:   no
  lid-is-present:  yes
  critical-action: PowerOff

The online flag is set to no when plugged out.

Testet on MacBook Pro 11,4 (2015) running Kubuntu 15.10
Battery reported as:

Vendor: DP 
Model: bq20z451
Comment 1 Justin Zobel 2020-11-12 21:35:01 UTC
I've just tested this on the latest Plasma on my Dell Latitude and I cannot replicate the issue.

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I'm setting status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 2 Bug Janitor Service 2020-11-27 04:33:56 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2020-12-12 04:34:09 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!