https://bugs.kde.org/show_bug.cgi?id=350365
--- Comment #3 from Markus <darkvis...@gmx.eu> --- I can confirm this problem on a Lenovo Thinkpad Yoga12 with Slackware64-Linux 14.2/-current and KDE Framework 5.21/Plasma 5.6.3 and Application 16.04.0. UPower is at version 0.9.23. Kernel is 4.6rc6. Here is my output from upower --dump: This is the output when the battery is not detected directly after i booted into Plasma5: ==================================================================== Device: /org/freedesktop/UPower/devices/line_power_ACAD native-path: ACAD power supply: yes updated: Sa 07 Mai 2016 05:41:04 CEST (28 seconds ago) has history: no has statistics: no line-power online: no Device: /org/freedesktop/UPower/devices/battery_BAT0 native-path: BAT0 vendor: SMP model: 45N1707 serial: 1583 power supply: yes updated: Sa 07 Mai 2016 05:41:10 CEST (22 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging energy: 42,23 Wh energy-empty: 0 Wh energy-full: 49,7 Wh energy-full-design: 47,06 Wh energy-rate: 9,361 W voltage: 15,681 V time to empty: 4,5 hours percentage: 84% capacity: 100% technology: lithium-polymer History (charge): 1462592469 84,000 discharging 1462592466 85,000 discharging 1462592464 0,000 unknown History (rate): 1462592469 9,361 discharging 1462592466 8,570 discharging 1462592464 0,000 unknown Daemon: daemon-version: 0.9.23 can-suspend: yes can-hibernate: yes on-battery: yes on-low-battery: no lid-is-closed: no lid-is-present: yes is-docked: no ==================================================================== This is the output when the battery is detected after logging out and back in: ==================================================================== Device: /org/freedesktop/UPower/devices/line_power_ACAD native-path: ACAD power supply: yes updated: Sa 07 Mai 2016 05:31:23 CEST (517 seconds ago) has history: no has statistics: no line-power online: no Device: /org/freedesktop/UPower/devices/battery_BAT0 native-path: BAT0 vendor: SMP model: 45N1707 serial: 1583 power supply: yes updated: Sa 07 Mai 2016 05:39:59 CEST (1 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: discharging energy: 42,4 Wh energy-empty: 0 Wh energy-full: 49,7 Wh energy-full-design: 47,06 Wh energy-rate: 8,216 W voltage: 15,832 V time to empty: 5,2 hours percentage: 85% capacity: 100% technology: lithium-polymer History (rate): 1462592399 8,216 discharging 1462592369 8,435 discharging 1462592339 8,787 discharging 1462592309 7,930 discharging Daemon: daemon-version: 0.9.23 can-suspend: yes can-hibernate: yes on-battery: yes on-low-battery: no lid-is-closed: no lid-is-present: yes is-docked: no ==================================================================== This is the output when the battery is not detected and i plugin the power cable. The icon does not show "Charging"!: ==================================================================== Device: /org/freedesktop/UPower/devices/line_power_ACAD native-path: ACAD power supply: yes updated: Sa 07 Mai 2016 05:41:42 CEST (11 seconds ago) has history: no has statistics: no line-power online: yes Device: /org/freedesktop/UPower/devices/battery_BAT0 native-path: BAT0 vendor: SMP model: 45N1707 serial: 1583 power supply: yes updated: Sa 07 Mai 2016 05:41:48 CEST (5 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: charging energy: 42,14 Wh energy-empty: 0 Wh energy-full: 49,7 Wh energy-full-design: 47,06 Wh energy-rate: 9,196 W voltage: 16,051 V time to full: 49,3 minutes percentage: 84% capacity: 100% technology: lithium-polymer History (charge): 1462592469 84,000 discharging 1462592466 85,000 discharging 1462592464 0,000 unknown History (rate): 1462592504 9,196 charging 1462592502 10,203 charging 1462592500 9,196 discharging 1462592469 9,361 discharging 1462592466 8,570 discharging 1462592464 0,000 unknown Daemon: daemon-version: 0.9.23 can-suspend: yes can-hibernate: yes on-battery: no on-low-battery: no lid-is-closed: no lid-is-present: yes is-docked: no ==================================================================== This is the output when i logged out and back in with the battery being detected and pluged in power cable. The icon does now show "Charging"!: ==================================================================== Device: /org/freedesktop/UPower/devices/line_power_ACAD native-path: ACAD power supply: yes updated: Sa 07 Mai 2016 05:41:42 CEST (352 seconds ago) has history: no has statistics: no line-power online: yes Device: /org/freedesktop/UPower/devices/battery_BAT0 native-path: BAT0 vendor: SMP model: 45N1707 serial: 1583 power supply: yes updated: Sa 07 Mai 2016 05:47:18 CEST (16 seconds ago) has history: yes has statistics: yes battery present: yes rechargeable: yes state: charging energy: 43,82 Wh energy-empty: 0 Wh energy-full: 49,7 Wh energy-full-design: 47,06 Wh energy-rate: 17,029 W voltage: 16,761 V time to full: 20,7 minutes percentage: 88% capacity: 100% technology: lithium-polymer History (charge): 1462592838 88,000 charging History (rate): 1462592838 17,029 charging 1462592808 17,640 charging 1462592778 18,300 charging 1462592748 18,917 charging Daemon: daemon-version: 0.9.23 can-suspend: yes can-hibernate: yes on-battery: no on-low-battery: no lid-is-closed: no lid-is-present: yes is-docked: no ==================================================================== There is nothing weird in the output. Also this does not happen on every boot. Sometimes the battery is detected, sometimes not. This is what powerdevil logged in .xsession-errors while battery is not detected: ==================================================================== kf5.kded: No X-KDE-DBus-ServiceName found in "/usr/lib64/qt5/plugins/kf5/kded/powerdevil.so" powerdevil: Backend loaded, loading core powerdevil: Core loaded, initializing backend powerdevil: Using XRandR powerdevil: Screen brightness value: 852 powerdevil: Screen brightness value max: 852 powerdevil: current screen brightness value: 852 powerdevil: Backend is ready, KDE Power Management system initialized powerdevil: A new battery was detected powerdevil: Current session is now active powerdevil: fd passing available: true powerdevil: systemd powersave events handling inhibited, descriptor: 15 powerdevil: ConsoleKit support initialized powerdevil: Got a valid offer for "DPMSControl" powerdevil: Core is ready, registering various services on the bus... powerdevil: Can't contact systemd powerdevil: We are now into activity "00000000-0000-0000-0000-000000000000" powerdevil: () () powerdevil: () () powerdevil: Loading profile for unplugged AC powerdevil: Activity is not forcing a profile powerdevil: Profiles: "Battery" "" powerdevil: Screen brightness value max: 852 powerdevil: Can't contact systemd powerdevil: set screen brightness value: 426 powerdevil: Screen brightness value: 852 powerdevil: Handle button events action could not check for screen configuration powerdevil: powerdevil: Loading timeouts with 120000 powerdevil: Can't contact systemd powerdevil: We are now into activity "0fd02bca-6639-462a-ad42-479a3ada5f75" powerdevil: () () powerdevil: () () powerdevil: Loading profile for unplugged AC powerdevil: Activity is not forcing a profile powerdevil: Skipping action reload routine as profile has not changed powerdevil: Can't contact systemd powerdevil: Screen brightness value: 426 powerdevil: Brightness changed!! powerdevil: Screen brightness value max: 852 powerdevil: Screen brightness value: 426 powerdevil: Brightness changed!! powerdevil: Screen brightness value: 426 powerdevil: Brightness changed!! powerdevil: Screen brightness value: 426 powerdevil: Screen brightness value max: 852 powerdevil: Screen brightness value: 426 powerdevil: Screen brightness value max: 852 ==================================================================== Looks like powerdevil does know that it is on battery mode. Output from /proc/ACPI/battery while battery is not detected: ==================================================================== present: yes design capacity: 47060 mWh last full capacity: 49700 mWh battery technology: rechargeable design voltage: 14800 mV design capacity warning: 2485 mWh design capacity low: 200 mWh cycle count: 0 capacity granularity 1: 1 mWh capacity granularity 2: 1 mWh model number: 45N1707 serial number: 1583 battery type: LiP OEM info: SMP present: yes capacity state: ok charging state: discharging present rate: 8894 mW remaining capacity: 43540 mWh present voltage: 16026 mV ==================================================================== Is there any other output/logfile interesting that i can check to provide more information? -- You are receiving this mail because: You are watching all bug changes.