[Powerdevil] [Bug 354781] New: On AC Power is state is not recognized

Espen Fossen via KDE Bugzilla bugzilla_noreply at kde.org
Tue Nov 3 09:27:22 UTC 2015


https://bugs.kde.org/show_bug.cgi?id=354781

            Bug ID: 354781
           Summary: On AC Power is state is not recognized
           Product: Powerdevil
           Version: 5.4.2
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-devel at kde.org
          Reporter: espenaf at junta.no

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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Plasma-devel mailing list