[Powerdevil] [Bug 350365] Battery monitor in tray randomly shows there is no battery

2019-08-20 Thread Marco Richetta
https://bugs.kde.org/show_bug.cgi?id=350365

--- Comment #37 from Marco Richetta  ---
(In reply to Xwang from comment #36)
> And I can confirm that 
> a) the battery indicator works correctly in the login screen when you the
> session is locked
> b) restarting plasma with kquitapp5 plasmashell ; kstart5 plasmashell is a
> workaround that solves the issue till the following reboot.

Can't reproduce the behaviour described on b). Also, do you use some custom
login screen?

Operating System: KDE neon 5.16
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.61.0
Qt Version: 5.12.3
Kernel Version: 4.15.0-58-generic

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

[Powerdevil] [Bug 350365] Battery monitor in tray randomly shows there is no battery

2018-09-27 Thread Marco Richetta
https://bugs.kde.org/show_bug.cgi?id=350365

--- Comment #33 from Marco Richetta  ---
> Marco Richetta seems to have problem with upower, independent of this bug.
> 
> The applet not detecting battery only affects kde, other desktops seem to
> work fine.

Just restarted my laptop.

acpi -i outputs nothing.

upower -d does not detect the battery.

dmesg outputs an acpi error
===

dmesg | grep -i error
[0.109117] acpi PNP0A08:00: _OSC failed (AE_ERROR); disabling ASPM
[   63.483271] xhci_hcd: probe of :04:00.0 failed with error -110
[   63.501542] RAS: Correctable Errors collector initialized.
[   63.856116] usb 2-1.3: device descriptor read/64, error -32
[   65.840365] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro

In case you ask, my laptop was made by an embedded manufacturer from Argentina
and some components are chinese I think.

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

[Powerdevil] [Bug 350365] Battery monitor in tray randomly shows there is no battery

2018-09-25 Thread Marco Richetta
https://bugs.kde.org/show_bug.cgi?id=350365

--- Comment #25 from Marco Richetta  ---
Created attachment 115218
  --> https://bugs.kde.org/attachment.cgi?id=115218=edit
Battery detected

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

[Powerdevil] [Bug 350365] Battery monitor in tray randomly shows there is no battery

2018-09-25 Thread Marco Richetta
https://bugs.kde.org/show_bug.cgi?id=350365

--- Comment #24 from Marco Richetta  ---
Created attachment 115217
  --> https://bugs.kde.org/attachment.cgi?id=115217=edit
Battery not detected

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

[Powerdevil] [Bug 350365] Battery monitor in tray randomly shows there is no battery

2018-09-25 Thread Marco Richetta
https://bugs.kde.org/show_bug.cgi?id=350365

Marco Richetta  changed:

   What|Removed |Added

 CC||marcoriche...@gmail.com

--- Comment #23 from Marco Richetta  ---
Same problem here with 
- Kubuntu 18.04 
- KDE Frameworks 5.44
- KDE Plasma 5.12.6
- Kernel 4.15.0-34-generic
- UPower is at version 0.99.7.

Reproducible: Almost always

Steps to reproduce:
1. After logon, unplug and plug the battery.
2. Close session and login again.
3. Battery is showed by plasmoid and detected by UPower.

*Sometimes battery is detected before the session is closed.

upower-d output:

BEFORE BEING DETECTED
=

Device: /org/freedesktop/UPower/devices/line_power_ADP1
  native-path:  ADP1
  power supply: yes
  updated:  mar 25 sep 2018 06:56:19 -03 (191 seconds ago)
  has history:  no
  has statistics:   no
  line-power
warning-level:   none
online:  no
icon-name:  'ac-adapter-symbolic'

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply: no
  updated:  mar 25 sep 2018 06:56:19 -03 (191 seconds ago)
  has history:  no
  has statistics:   no
  unknown
warning-level:   none
icon-name:  'battery-missing-symbolic'

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

AFTER BEING DETECTED


Device: /org/freedesktop/UPower/devices/line_power_ADP1
  native-path:  ADP1
  power supply: yes
  updated:  mar 25 sep 2018 06:56:19 -03 (988 seconds ago)
  has history:  no
  has statistics:   no
  line-power
warning-level:   none
online:  no
icon-name:  'ac-adapter-symbolic'

Device: /org/freedesktop/UPower/devices/battery_BAT1
  native-path:  BAT1
  vendor:   -Real Battery 1-
  model:CRB Battery 1
  serial:   Battery 1
  power supply: yes
  updated:  mar 25 sep 2018 07:11:47 -03 (60 seconds ago)
  has history:  yes
  has statistics:   yes
  battery
present: yes
rechargeable:yes
state:   charging
warning-level:   none
energy:  3,118 Wh
energy-empty:0 Wh
energy-full: 3,325 Wh
energy-full-design:  4,4 Wh
energy-rate: 0 W
percentage:  93%
capacity:75,5682%
icon-name:  'battery-full-charging-symbolic'
  History (charge):
1537870306  93,000  charging
1537870306  0,000   unknown
  History (rate):
1537870306  0,000   unknown

Device: /org/freedesktop/UPower/devices/DisplayDevice
  power supply: yes
  updated:  mar 25 sep 2018 07:11:46 -03 (61 seconds ago)
  has history:  no
  has statistics:   no
  battery
present: yes
state:   charging
warning-level:   none
energy:  3,118 Wh
energy-full: 3,325 Wh
energy-rate: 0 W
percentage:  93%
icon-name:  'battery-full-charging-symbolic'

If I can reproduce this behaviour it would be useful
to find the logs of this activity, but I don't know where to look.

*On x.sessionerrors it's shown only one "Unable to assign [undefined] to int"
error.

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