Now you seem to have a different question: you want to see what drains your battery. I would definitely recommend tlp (https://wiki.archlinux.org/index.php/Tlp) over upower. You can monitor everything with
tlp-stat -b
Do you get battery information with `upower --dump`?
yes, I do
]]>upower --dump
?
]]>Did you install all the programs with Pacman?
yes. I have installed some applications through trizen yet nothing related to qt or kde except for freecad.
I have reinstalled freecad dependencies, now building freecad.
Recently QT framework was upgraded to 5.15. Still, KDE has not been upgraded. Might this be the cause?
If this turns out to be a bug after rebuilding, how do I submit the bug?
]]>The problem is that the program is having difficulty displaying something on the screen (BadWindow means it tried to display something in a window that has already been closed) so it's usually either a programming error or a mismatch between library versions (e.g. they might have changed the way the values are sent between programs, so this program, still using the old scheme, is now sending incompatible values across causing the error).
Usually doing a system upgrade, and possibly reinstalling programs from the AUR that are up to date but were installed a while ago, fixes the problem. If not, then it's probably a bug.
]]>The following line shows up every time I click on it in the output of journalctl -ef :
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 10254, resource id: 60817413, major code: 18 (ChangeProperty), minor code: 0
I tried installing acpi, acpid and enabling upower expecting it be remedied but to no avail.
If there is no solution I am going to submit a bug yet I do not know the package to which this is related. Could you also inform about this?
]]>