[Powerdevil] [Bug 361708] System stuck in ac-plugged in mode ignoring Power management rules

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Thu Jul 5 06:32:48 BST 2018


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

--- Comment #5 from battaglia01 at gmail.com ---
Finally, I note the problem may result from a discrepancy between upower and
acpi. Note the following terminal results. Both of these are in the state where
the AC is not plugged in, but the tray icon still says discharging (even though
battery panel icon says discharging):

$ acpi -V
Battery 0: Discharging, 50%, 01:55:40 remaining
Battery 0: design capacity 5006 mAh, last full capacity 4092 mAh = 81%
Adapter 0: off-line  <----------------------------------------- NOTE HERE
Thermal 0: ok, 40.0 degrees C
Thermal 0: trip point 0 switches to mode hot at temperature 240.0 degrees C
Thermal 1: ok, 35.3 degrees C
Thermal 1: trip point 0 switches to mode hot at temperature 60.0 degrees C
Thermal 2: ok, 0.0 degrees C
Thermal 2: trip point 0 switches to mode hot at temperature 97.0 degrees C
Thermal 3: ok, 38.0 degrees C
Thermal 3: trip point 0 switches to mode hot at temperature 54.0 degrees C
Cooling 0: x86_pkg_temp no state information available
Cooling 1: Processor 0 of 10
Cooling 2: Processor 0 of 10
Cooling 3: intel_powerclamp no state information available
Cooling 4: pch_skylake no state information available
Cooling 5: Processor 0 of 10
Cooling 6: Processor 0 of 10


Note that Adapter 0 is offline. On the other hand, here's upower -u. Note
Adapter 0 (line_power_ADP1) is ONLINE!

~ $ upower -d
Device: /org/freedesktop/UPower/devices/line_power_ADP1
  native-path:          ADP1
  power supply:         yes
  updated:              Thu 05 Jul 2018 12:54:02 AM EDT (2262 seconds ago)
  has history:          no
  has statistics:       no
  line-power
    warning-level:       none
    online:              yes  <----------------------------- SEE HERE
    icon-name:          'ac-adapter-symbolic'

Device: /org/freedesktop/UPower/devices/battery_BAT1
  native-path:          BAT1
  vendor:               SMP
  model:                X910527
  serial:               39135
  power supply:         yes
  updated:              Thu 05 Jul 2018 01:31:23 AM EDT (21 seconds ago)
  has history:          yes
  has statistics:       yes
  battery
    present:             yes
    rechargeable:        yes
    state:               discharging
    warning-level:       none
    energy:              15.547 Wh
    energy-empty:        0 Wh
    energy-full:         31.192 Wh
    energy-full-design:  38.152 Wh
    energy-rate:         7.507 W
    voltage:             7.567 V
    time to empty:       2.1 hours
    percentage:          49%
    capacity:            81.7572%
    technology:          lithium-ion
    icon-name:          'battery-good-symbolic'
  History (charge):
    1530768666  49.000  discharging
  History (rate):
    1530768683  7.507   discharging
    1530768682  18.735  charging
    1530768675  7.695   discharging
    1530768666  8.580   discharging

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply:         yes
  updated:              Thu 05 Jul 2018 01:31:23 AM EDT (21 seconds ago)
  has history:          no
  has statistics:       no
  battery
    present:             yes
    state:               discharging
    warning-level:       none
    energy:              15.547 Wh
    energy-full:         31.192 Wh
    energy-rate:         7.507 W
    time to empty:       2.1 hours
    percentage:          49%
    icon-name:          'battery-good-symbolic'

Daemon:
  daemon-version:  0.99.4
  on-battery:      no
  lid-is-closed:   no
  lid-is-present:  yes
  critical-action: HybridSleep

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


More information about the Plasma-devel mailing list