This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] Battery and brightness widget disappears randomly

Tags: None
(comma "," separated)
bestaford
Registered Member
Posts
1
Karma
0
Battery and brightness widget disappears on boot after full shutdown (or randomly, still not sure). If i go to systray settings and disable widget then set "always shown" or "auto" it works, then i can reboot laptop from Plasma and widget will may work until next shutdown. While widget is gone i still can change brightness with buttons, power plug/unplug sound works and more

Here is journal:
Code: Select all
16.04.2021 15:16   dbus-daemon   [system] Activating service name='org.kde.powerdevil.chargethresholdhelper' requested by ':1.26' (uid=1000 pid=524 comm="/usr/lib/org_kde_powerdevil ") (using servicehelper)
16.04.2021 15:16   dbus-daemon   [system] Successfully activated service 'org.kde.powerdevil.chargethresholdhelper'
16.04.2021 15:16   dbus-daemon   [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.26' (uid=1000 pid=524 comm="/usr/lib/org_kde_powerdevil ") (using servicehelper)
16.04.2021 15:16   dbus-daemon   [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'
16.04.2021 15:16   org_kde_powerdevil   Warning from helper: Failed to open "/sys/class/power_supply/BAT0/charge_start_threshold" for reading
16.04.2021 15:16   org_kde_powerdevil   Warning from helper: Failed to open "/sys/class/power_supply/BAT0/charge_stop_threshold" for reading
16.04.2021 15:16   org_kde_powerdevil   org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds not supported"
16.04.2021 15:17   kernel   Modules linked in: ccm amdgpu rtw88_8821ce rtw88_8821c rtw88_pci rtw88_core edac_mce_amd mac80211 kvm_amd ccp snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi kvm snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation soundwire_cadence snd_hda_codec uvcvideo joydev snd_hda_core videobuf2_vmalloc wmi_bmof mousedev cfg80211 videobuf2_memops videobuf2_v4l2 irqbypass gpu_sched snd_hwdep crct10dif_pclmul videobuf2_common soundwire_bus crc32_pclmul ghash_clmulni_intel btusb i2c_algo_bit drm_ttm_helper snd_soc_core btrtl aesni_intel ttm btbcm videodev btintel crypto_simd cryptd glue_helper bluetooth vfat fat snd_compress drm_kms_helper ac97_bus snd_pcm_dmaengine usbhid snd_pcm mc ecdh_generic ecc cec k10temp fam15h_power ideapad_laptop sparse_keymap snd_timer sp5100_tco syscopyarea sysfillrect snd i2c_piix4 rfkill sysimgblt tpm_crb libarc4 i2c_hid wmi tpm_tis fb_sys_fops soundcore tpm_tis_core elan_i2c mac_hid video tpm rng_core pinctrl_amd acpi_cpufreq
16.04.2021 15:17   org_kde_powerdevil   org.kde.powerdevil: Handle button events action could not check for screen configuration
16.04.2021 15:17   dbus-daemon   [session uid=1000 pid=414] Activating service name='org.kde.KScreen' requested by ':1.18' (uid=1000 pid=524 comm="/usr/lib/org_kde_powerdevil ")
16.04.2021 15:17   org_kde_powerdevil   Warning from helper: Failed to open "/sys/class/power_supply/BAT0/charge_start_threshold" for reading
16.04.2021 15:17   org_kde_powerdevil   Warning from helper: Failed to open "/sys/class/power_supply/BAT0/charge_stop_threshold" for reading
16.04.2021 15:17   org_kde_powerdevil   org.kde.powerdevil: org.kde.powerdevil.chargethresholdhelper.getthreshold failed "Charge thresholds not supported"
16.04.2021 15:17   kernel   Modules linked in: ccm amdgpu rtw88_8821ce rtw88_8821c rtw88_pci rtw88_core edac_mce_amd mac80211 kvm_amd ccp snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi kvm snd_hda_intel snd_intel_dspcfg soundwire_intel soundwire_generic_allocation soundwire_cadence snd_hda_codec uvcvideo joydev snd_hda_core videobuf2_vmalloc wmi_bmof mousedev cfg80211 videobuf2_memops videobuf2_v4l2 irqbypass gpu_sched snd_hwdep crct10dif_pclmul videobuf2_common soundwire_bus crc32_pclmul ghash_clmulni_intel btusb i2c_algo_bit drm_ttm_helper snd_soc_core btrtl aesni_intel ttm btbcm videodev btintel crypto_simd cryptd glue_helper bluetooth vfat fat snd_compress drm_kms_helper ac97_bus snd_pcm_dmaengine usbhid snd_pcm mc ecdh_generic ecc cec k10temp fam15h_power ideapad_laptop sparse_keymap snd_timer sp5100_tco syscopyarea sysfillrect snd i2c_piix4 rfkill sysimgblt tpm_crb libarc4 i2c_hid wmi tpm_tis fb_sys_fops soundcore tpm_tis_core elan_i2c mac_hid video tpm rng_core pinctrl_amd acpi_cpufreq
16.04.2021 15:17   dbus-daemon   [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.26' (uid=1000 pid=524 comm="/usr/lib/org_kde_powerdevil ") (using servicehelper)
16.04.2021 15:17   dbus-daemon   [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'


Logs when widget works fine after boot:
Code: Select all
16.04.2021 15:23   plasma_session   org.kde.plasma.session: Starting autostart service  "/etc/xdg/autostart/powerdevil.desktop" ("/usr/lib/org_kde_powerdevil")
16.04.2021 15:23   dbus-daemon   [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.25' (uid=1000 pid=508 comm="/usr/lib/org_kde_powerdevil ")
16.04.2021 15:23   systemd   Starting Daemon for power management...
16.04.2021 15:23   dbus-daemon   [system] Successfully activated service 'org.freedesktop.UPower'
16.04.2021 15:23   audit   SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=upower comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
16.04.2021 15:23   systemd   Started Daemon for power management.
16.04.2021 15:23   kernel   audit: type=1130 audit(1618586597.839:136): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=upower comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
16.04.2021 15:23   dbus-daemon   [system] Activating service name='org.kde.powerdevil.discretegpuhelper' requested by ':1.25' (uid=1000 pid=508 comm="/usr/lib/org_kde_powerdevil ") (using servicehelper)
16.04.2021 15:23   dbus-daemon   [system] Successfully activated service 'org.kde.powerdevil.discretegpuhelper'
16.04.2021 15:23   dbus-daemon   [system] Activating service name='org.kde.powerdevil.chargethresholdhelper' requested by ':1.25' (uid=1000 pid=508 comm="/usr/lib/org_kde_powerdevil ") (using servicehelper)
16.04.2021 15:23   dbus-daemon   [system] Successfully activated service 'org.kde.powerdevil.chargethresholdhelper'
16.04.2021 15:23   dbus-daemon   [system] Activating service name='org.kde.powerdevil.backlighthelper' requested by ':1.25' (uid=1000 pid=508 comm="/usr/lib/org_kde_powerdevil ") (using servicehelper)
16.04.2021 15:23   dbus-daemon   [system] Successfully activated service 'org.kde.powerdevil.backlighthelper'


Solution:
in KDE session settings set "start from empty session" instead of loading old session


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]