Git Product home page Git Product logo

lxqt-powermanagement's Introduction

LXQt

LXQt is the next generation of LXDE, the Lightweight Desktop Environment. It is the product of the merge between Razor-qt and LXDE-Qt.

About this repository

This is a superproject which contains all LXQt components. After checking out this repo please do the following to initialize git submodules.

git submodule init
git submodule update --remote --rebase

Note: We require git >= 1.8.5

Contributing

If you are interested in helping or joining LXQt, please take a look at our CONTRIBUTING document

Translation

Translations can be done in LXQt-Weblate.

Translation status
Translation status

lxqt-powermanagement's People

Contributors

agaida avatar amoskvin avatar atalanttore avatar ayhanyalcinsoy avatar dglent avatar fat-zer avatar ito32bit avatar jleclanche avatar luis-pereira avatar lxqtbot avatar mbouzada avatar notname000 avatar oliverburkardt avatar p-bo avatar paiiou avatar palinek avatar paulolieuthier avatar pcman avatar pjotr123 avatar rbuj avatar safaalfulaij avatar scootergrisen avatar selairi avatar smarquespt avatar sokoloffa avatar stefonarch avatar surlykke avatar tsujan avatar welaq avatar yarons avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lxqt-powermanagement's Issues

The idleness fullscreen option can totally disable idle watcher

I don't know if the following problem was there from start or happened after an upgrade because I only recently started to use the idle watcher.

Steps to Reproduce
  1. Set the idle time to one minute (to not waste your time) and set the action to "Turn off monitor(s)".
  2. Make a window fullscreen and leave the computer for one minute and a few seconds. The monitor will not be turned off, as it shouldn't.
  3. Exit the fullscreen state.

Then nothing will happen after one, two, three,.. minutes. The idle watcher will be magically disabled — or at least it is here (confirmation would be appreciated).

Solution

It seems that if KIdleTime::instance()->simulateUserActivity(); is called directly from inside the slot of KIdleTime::timeoutReached (as it is called in the code), no timeout will happen anymore.

This may be a bug in KIdleTime but the fix/workaround is easy: if KIdleTime::instance()->simulateUserActivity(); is called by QTimer::singleShot(), the problem will disappear.

System Information
  • Latest git LXQt

[Feature Request] Battery percentage

Can you consider adding an option for showing the battery percentage next to the icon? Maybe I could do a PR?

I found #175 and OP asked for remaining time + percentage. I understand remaining time is not possible, but battery percentage was not addressed by the response.

[question] "inhibit screensaver / powersave" mechanism

Expected Behavior

Some software (like VLC) have an option such as "inhibit screensaver during playback". It would be nice if lxqt-powermanagement could somehow honour this also for preventing display blanking etc.

Current Behavior

Still with the VLC example, 5 minutes into a movie my display will turn off, as configured in lxqt-powermanagement . The option to "inhibit screensaver" has no effect. Same thing in other software.

Possible Solution

I'm not sure. It seems most software do something like xdg-screensaver suspend / resume , but in my case I don't even run a xdg-screensaver daemon.

Context

Perhaps I have something configured wrong, but it's not obvious since everything else works as expected. If this is out of scope for this project, any suggestions are welcome. Thanks !

System Information
  • Distribution & Version: arch linux
  • Kernel: 5.18
  • Qt Version: 6.3.0
  • liblxqt Version: 1.1.0
  • lxqt-build-tools Version: n/a
  • Package version: 1.1.0

[feautre request] Inversion of the Circle

In any applications, such a circle has specific logic (counterclockwise decreases, clockwise arrives). Your circle breaks conventional logic, causing confusion. I hope you will fix it in the future.
Power_Plugin

Feature: Item in tray context menu to pause idle watcher

We have an option to disable the idle watcher when the active window is fullscreen. But, as @binex-dsk mentioned at #224 (comment), that's not enough. Opening the config dialog and disabling the idle watcher each time a video starts playing is not a solution because it isn't easy and also, the user may forget to re-enable it afterward.

That's the only reason I use xset dpms directly, instead of LXQt's idle watcher: Firefox and SMplayer (and maybe VLC, which I don't use), suppress screen blanking whenever a video is playing.

Actually, it's easy to suppress any idle watcher inside a Qt app but most developers don't know how or think in terms of difficult methods that depend on the environment. Anyway, many apps don't do it.

I'm working on adding a "Pause idle watcher" item to the context menu of the tray icon to test it. It has the following properties:

  1. It's enabled only when Idle Watcher is enabled.
  2. When it's checked, the Idle Watcher remains enabled but doesn't do anything (see 3 for the reason).
  3. Its state is not saved anywhere, so that if the user forgets about it, the idle watcher will be enabled with the next session.
  4. The user can't forget about it because a "pause" emblem will be shown on the tray icon if it's enabled.
  5. It's also disabled automatically when the tray icon is removed.

Only 4 isn't done yet.

If you have a better method in mind, please tell me.

EDIT

Done:

pause

Now, testing it for a while...

compiler error on master

Expected Behavior

Compiles without errors

Current Behavior

I created a dir build/, cd-ed into it, executed cmake .. followed by make and got:

Possible Solution
Steps to Reproduce (for bugs)

Checkout master at f640eb8

  1. create build/ , cd into it
  2. execute cmake ..
  3. execute make
  4. error will show up after the 44% mark:
    /home/ron/src/lxqt/lxqt/lxqt-powermanagement/config/helpers.cpp: In function ‘void fillComboBox(QComboBox*)’:
    /home/ron/src/lxqt/lxqt/lxqt-powermanagement/config/helpers.cpp:36:56: error: ‘PowerShowLeaveDialog’ is not a member of ‘LXQt::Power’
    36 | comboBox->addItem(QObject::tr("Ask"), LXQt::Power::PowerShowLeaveDialog);
    | ^~~~~~~~~~~~~~~~~~~~
    make[2]: *** [config/CMakeFiles/lxqt-config-powermanagement.dir/build.make:308: config/CMakeFiles/lxqt-config-powermanagement.dir/helpers.cpp.o] Error 1
    make[1]: *** [CMakeFiles/Makefile2:242: config/CMakeFiles/lxqt-config-powermanagement.dir/all] Error 2
    make: *** [Makefile:150: all] Error 2
Context

It won't let me compile the lxqt-powermanagement module from sources as I'm trying to compile and install lxqt. I have compiled

System Information
  • Distribution & Version: Arch
  • Kernel: Linux-lts 5.4.46
  • Qt Version: 5
  • liblxqt Version: master HEAD
  • lxqt-build-tools Version: master HEAD
  • Package version: NA

Shows "remaining 0 minutes" / "to full 0 minutes" after charging state change

Expected Behavior

Theoretically, a reasonable estimation would be displayed immediately. I would assume that this is impossible in practice, due to needing time to gather data with which to make said estimate, so an alternative would be, perhaps, "to full N/A", "to full unknown", "calculating estimate..."

Current Behavior

When a charge cable is connected or disconnected, the estimated time to full/depletion becomes 0 minutes for a short time, up until the next update. This is unusual, because it would imply that the battery will become full/empty instantly.

Possible Solution

A divide-by-zero check (if one does not already exist) that returns a handleable exception that can be used to display a more sane estimate rather than 0.

Steps to Reproduce (for bugs)
  1. Unplug charge cable
  2. Hover over the icon
  3. Observe the depletion ETA

or,

  1. Plug in charge cable
  2. Hover over the icon
  3. Observe the charging ETA
Context

It doesn't seem to be a particularly significant issue. It's relatively clear to a user that this is not a reasonable estimate. I can only imagine it being misleading when the system is already on low battery, and a user has to, say, unplug and run to a different room for whatever reason. In that case, "remaining 0 minutes" might be believable enough to have an impact.

System Information
  • Distribution & Version: Arch
  • Kernel: 6.5.1.arch1-1
  • Qt Version: 5.15.11
  • liblxqt Version: 1.3.0-2
  • lxqt-build-tools Version: None?
  • Package version: 1.3.0-2

[feature request] multiple actions

It would be beneficial to allow multiple actions. Example: it would be nice to both lock and turn off the monitor upon idle. One simple way to do this might be to allow for a custom action to run and then one could just use a script.

Crash on startup saying "Unsupported extension used"

Ran into this error upgrading my system to lxqt-powermanagement 1.4.0.

$ lxqt-powermanagement
BatteryChanged discharging: false chargeLevel: 100 actionTime: QTime(Invalid)
Inhibit got: 34
Starting idlenesswatcher
The X11 connection broke: Unsupported extension used (code 2)
XIO:  fatal IO error 2 (No such file or directory) on X server ":0"
      after 311 requests (311 known processed) with 0 events remaining. 

This ended up being due to the following text in my X11 config file:

    Section "Extensions"
      Option      "DPMS" "Disable"
    EndSection
    Section "ServerFlags"
      Option "BlankTime" "0"
    EndSection

This was originally added to address the issue now solved by #374 . However, this method of disabling DPMS causes the invocation to attempt to set its timeout to crash.

This issue has two purposes:

  1. In case anybody has this same problem, they can find the fix.
  2. To ask if there's a way to check for the extension before attempting to set the timeout to avoid a crash. Not sure if there are circumstances where DPMS can be disabled without the user doing it deliberately.

Show Remaining Time

Is there any way of displaying the remaining time left on the battery/charge icon, as well as the percentage. Or if there isn't perhaps it could be added in a future release?

I know a lot can depend on what applications are in use, but as a general guide - especially when first logging in - it could be quite useful.

Cheers!

lxqt-powermanagement v1.1 crashes after waking from suspend

After waking from suspend, lxqt-powermanagment v1.1 crashes. I also get error messages about xscreensaver crashing; unsure if related. Here is some crash info:

lxqt-powermanagement crashed with SIGSEGV in QHashData::nextNode()

== SegvAnalysis =================================
Segfault happened at: 0x7fa417fc1017 <_ZN9QHashData8nextNodeEPNS_4NodeE+7>:     cmpq   $0x0,(%r8)
PC (0x7fa417fc1017) ok
source "$0x0" ok
destination "(%r8)" (0x5552a8253a6f) not located in a known VMA region (needed writable region)!

== SegvReason =================================
writing unknown VMA
== Stacktrace =================================
#0  0x00007fa417fc1017 in QHashData::nextNode(QHashData::Node*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007fa41935eee8 in  () at /lib/x86_64-linux-gnu/libKF5IdleTime.so.5
#2  0x00007fa4181aa783 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fa41935ec75 in AbstractSystemPoller::timeoutReached(int) () at /lib/x86_64-linux-gnu/libKF5IdleTime.so.5
#4  0x00007fa4125c9e3b in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/org.kde.kidletime.platforms/KF5IdleTimeXcbPlugin0.so
#5  0x00007fa4181701f7 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fa413c85b05 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#7  0x00007fa413c87116 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#8  0x00007fa413cadd67 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#9  0x00007fa417617d1b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fa41766c6f8 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fa4176153c3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fa4181cc11e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fa41817174b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fa418179ce4 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00005557fcb86764 in  ()
#16 0x00007fa4179a5d90 in __libc_start_call_main (main=main@entry=0x5557fcb864b0, argc=argc@entry=1, argv=argv@entry=0x7ffca6912878) at ../sysdeps/nptl/libc_start_call_main.h:58
        self = <optimised out>
        result = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -6543805407985233540, 140723103017080, 93836390458544, 93836390565368, 140342775767104, 6545690158029640060, 6514338742198112636}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x5557fcba2008, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = -54910968}}}
        not_first_call = <optimised out>
#17 0x00007fa4179a5e40 in __libc_start_main_impl (main=0x5557fcb864b0, argc=1, argv=0x7ffca6912878, init=<optimised out>, fini=<optimised out>, rtld_fini=<optimised out>, stack_end=0x7ffca6912868) at ../csu/libc-start.c:392
#18 0x00005557fcb87095 in _start ()

== StacktraceAddressSignature =================================
/usr/bin/lxqt-powermanagement:11:/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.3+7a017:/usr/lib/x86_64-linux-gnu/libKF5IdleTime.so.5.92.0+ee8:/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.3+263783:/usr/lib/x86_64-linux-gnu/libKF5IdleTime.so.5.92.0+c75:/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/org.kde.kidletime.platforms/KF5IdleTimeXcbPlugin0.so+1e3b:/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.3+2291f7:/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.15.3+12b05:/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.15.3+14116:/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5.15.3+3ad67:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7200.1+38d1b:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7200.1+8d6f8:/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7200.1+363c3:/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.3+28511e:/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.3+22a74b:/usr/lib/x86_64-linux-gnu/libQt5Core.so.5.15.3+232ce4

== StacktraceTop =================================
QHashData::nextNode(QHashData::Node*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
() at /lib/x86_64-linux-gnu/libKF5IdleTime.so.5
() at /lib/x86_64-linux-gnu/libQt5Core.so.5
AbstractSystemPoller::timeoutReached(int) () at /lib/x86_64-linux-gnu/libKF5IdleTime.so.5
() at /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/org.kde.kidletime.platforms/KF5IdleTimeXcbPlugin0.so
== ThreadStacktrace =================================
.
Thread 4 (Thread 0x7fa4125a8640 (LWP 1183)):
#0  pselect64_syscall (sigmask=<optimised out>, timeout=<optimised out>, exceptfds=0x0, writefds=0x0, readfds=0x7fa41259fac0, nfds=18) at ../sysdeps/unix/sysv/linux/pselect.c:34
        sc_ret = -514
        sc_cancel_oldtype = 0
        data = {0, 8}
        tval = {tv_sec = 0, tv_nsec = 517517378}
#1  __pselect (nfds=18, readfds=0x7fa41259fac0, writefds=0x0, exceptfds=0x0, timeout=<optimised out>, sigmask=<optimised out>) at ../sysdeps/unix/sysv/linux/pselect.c:56
        tval = {tv_sec = 0, tv_nsec = 517517378}
#2  0x00007fa41655903d in  () at /lib/x86_64-linux-gnu/libusbmuxd-2.0.so.6
#3  0x00007fa416559d88 in  () at /lib/x86_64-linux-gnu/libusbmuxd-2.0.so.6
#4  0x00007fa417a10b43 in start_thread (arg=<optimised out>) at ./nptl/pthread_create.c:442
        ret = <optimised out>
        pd = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140723103014656, -6543805407985364612, 140342659286592, 2, 140342747793488, 140723103015008, 6514350285958189436, 6514339097203609980}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimised out>
#5  0x00007fa417aa2a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
.
Thread 3 (Thread 0x7fa4130c2640 (LWP 1178)):
#0  0x00007fa417a94d7f in __GI___poll (fds=0x7fa404026f80, nfds=6, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        sc_ret = -516
        sc_cancel_oldtype = 0
#1  0x00007fa41766c696 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fa4176153c3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fa4181cc0a8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fa41817174b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa417f84af2 in QThread::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fa418430f0b in  () at /lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fa417f85ca1 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fa417a10b43 in start_thread (arg=<optimised out>) at ./nptl/pthread_create.c:442
        ret = <optimised out>
        pd = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140723103014864, -6543805407985364612, 140342670927424, 2, 140342747793488, 140723103015216, 6514348828890534268, 6514339097203609980}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimised out>
#9  0x00007fa417aa2a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
.
Thread 2 (Thread 0x7fa413a97640 (LWP 1175)):
#0  0x00007fa417a94d7f in __GI___poll (fds=0x7fa413a96ac8, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
        sc_ret = -516
        sc_cancel_oldtype = 0
#1  0x00007fa4177237e2 in  () at /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fa41772522c in xcb_wait_for_event () at /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fa413cacd08 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fa417f85ca1 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fa417a10b43 in start_thread (arg=<optimised out>) at ./nptl/pthread_create.c:442
        ret = <optimised out>
        pd = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140723103014416, -6543805407985364612, 140342681237056, 11, 140342747793488, 140723103014768, 6514347958622785916, 6514339097203609980}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimised out>
#6  0x00007fa417aa2a00 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
.
Thread 1 (Thread 0x7fa414343940 (LWP 1169)):
#0  0x00007fa417fc1017 in QHashData::nextNode(QHashData::Node*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#1  0x00007fa41935eee8 in  () at /lib/x86_64-linux-gnu/libKF5IdleTime.so.5
#2  0x00007fa4181aa783 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007fa41935ec75 in AbstractSystemPoller::timeoutReached(int) () at /lib/x86_64-linux-gnu/libKF5IdleTime.so.5
#4  0x00007fa4125c9e3b in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/org.kde.kidletime.platforms/KF5IdleTimeXcbPlugin0.so
#5  0x00007fa4181701f7 in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fa413c85b05 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#7  0x00007fa413c87116 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#8  0x00007fa413cadd67 in  () at /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#9  0x00007fa417617d1b in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fa41766c6f8 in  () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fa4176153c3 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fa4181cc11e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fa41817174b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fa418179ce4 in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00005557fcb86764 in  ()
#16 0x00007fa4179a5d90 in __libc_start_call_main (main=main@entry=0x5557fcb864b0, argc=argc@entry=1, argv=argv@entry=0x7ffca6912878) at ../sysdeps/nptl/libc_start_call_main.h:58
        self = <optimised out>
        result = <optimised out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, -6543805407985233540, 140723103017080, 93836390458544, 93836390565368, 140342775767104, 6545690158029640060, 6514338742198112636}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x5557fcba2008, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = -54910968}}}
        not_first_call = <optimised out>
#17 0x00007fa4179a5e40 in __libc_start_main_impl (main=0x5557fcb864b0, argc=1, argv=0x7ffca6912878, init=<optimised out>, fini=<optimised out>, rtld_fini=<optimised out>, stack_end=0x7ffca6912868) at ../csu/libc-start.c:392
#18 0x00005557fcb87095 in _start ()

lxqt-powermanagement crashes

Over the last couple of days I've had a lot of crandom crashes of lxqt-powermanagement.

Expected Behavior
Context
System Information
  • kernel 5.15.12-zen
  • lxqt-powermanagement: 1.0.0
  • qt 5.15.3
BatteryChanged discharging: false chargeLevel: 3.8708 actionTime: QTime(Invalid)
Inhibit got: 29
Starting idlenesswatcher
"PowerButton" "" ""
"SuspendButton" "" ""
"HibenateButton" "" ""
BatteryChanged discharging: false chargeLevel: 4.46039 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 4.76801 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 5.2807 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 5.76775 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 6.43425 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 7.10074 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 7.76724 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 7.94668 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 8.51064 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 9.02333 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 9.30531 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 9.40784 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 10.0231 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 10.4332 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 11.0484 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 10.9972 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 10.9715 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 11.5611 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 11.9457 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 12.0995 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 12.7403 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 12.8429 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 13.535 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 14.0477 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 14.6373 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 15.2012 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 15.7652 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 16.3548 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 16.9956 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 17.6365 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 18.2517 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 18.585 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 19.0977 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 19.6104 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 20.123 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 20.7126 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 21.3279 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 21.8406 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 22.3789 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 22.9428 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 23.5068 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 24.1477 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 24.7372 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 25.3525 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 25.9933 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 26.5573 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 27.1469 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 27.7877 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 28.403 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 28.89 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 29.454 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 30.0948 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 30.6075 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 31.2228 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 31.8124 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 32.3763 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 32.9403 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 33.5811 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 34.4271 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 35.2986 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 36.1958 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 36.9136 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 37.4519 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 38.0928 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 38.7337 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 39.3233 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 39.9128 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 40.5793 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 41.1433 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 41.7329 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 42.3738 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 42.9377 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 43.5273 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 44.1682 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 44.7578 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 45.3473 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 45.9113 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 46.4496 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 47.0136 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 47.6032 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 48.1928 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 48.808 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 49.3976 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 49.9615 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 50.628 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 51.2689 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 51.8841 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 52.5506 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 53.1915 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 53.8324 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 54.3963 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 54.9859 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 55.5499 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 56.1138 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 56.7547 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 57.3443 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 57.9082 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 58.4978 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 58.8567 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 59.4463 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 60.0615 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 60.6767 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 61.292 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 61.8816 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 62.4455 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 62.9839 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 63.5478 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 64.0349 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 64.5988 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 65.1628 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 65.7267 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 66.2651 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 66.7777 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 67.2648 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 67.7262 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 68.2902 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 68.8029 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 69.3412 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 69.9052 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 70.3666 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 70.9049 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 71.392 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 71.9046 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 72.4942 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 73.0069 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 73.6221 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 74.2117 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 74.7757 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 75.3397 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 75.878 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 76.3907 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 76.9546 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 77.493 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 77.98 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 78.5183 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 78.9797 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 79.6719 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 79.9282 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 80.3896 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 80.928 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 81.3638 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 81.7995 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 82.2866 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 82.7736 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 83.2607 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 83.7734 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 84.2604 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 84.7475 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 85.2346 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 85.7216 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 86.2087 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 86.747 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 87.234 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 87.6698 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 88.1825 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 88.6439 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 89.1054 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 89.5668 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 89.8744 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 90.0538 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 90.4896 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 90.8998 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 91.2587 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 91.233 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 91.4381 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 91.8226 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 92.2071 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 92.566 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 92.8736 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 93.1812 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 93.3094 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 93.5658 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 93.6427 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 94.0015 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 94.3604 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 94.3348 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 94.3861 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 94.6424 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 94.7449 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 94.9244 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 95.0782 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 95.1807 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 95.1551 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 95.1807 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 95.1551 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 95.8729 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 95.8985 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 95.9498 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 95.514 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 95.4627 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 95.3602 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 96.6163 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 96.6163 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 96.6419 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 97.3597 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 96.7701 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 95.3858 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 95.2833 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 95.232 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 95.0782 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 94.9756 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 94.8731 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 94.7706 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 94.7449 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 94.668 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 94.5911 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 94.463 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 94.4117 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 94.3604 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 94.2322 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 94.0528 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 93.9759 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 93.7965 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 93.7452 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 93.5658 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 93.4119 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 93.3863 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 93.2325 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 93.2069 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 93.1812 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 93.0787 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 93.0274 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 93.0018 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 92.9762 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 92.9505 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 92.8993 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 92.8224 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 92.7967 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 92.7711 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 92.6942 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 92.566 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 92.4378 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 92.2584 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 92.1815 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 92.079 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 91.9251 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 91.8226 actionTime: QTime(Invalid)
BatteryChanged discharging: false chargeLevel: 91.797 actionTime: QTime(Invalid)
kf.solid.backends.udisks2: Error getting props: "org.freedesktop.DBus.Error.UnknownMethod" "Object does not exist at path “/org/freedesktop/UDisks2/drives/WDC_WD50NPZZ_00A9JT0_WD_WXS2EA00PX75”"
>> "Screen 0: minimum 320 x 200, current 3840 x 1080, maximum 16384 x 16384"
>> "eDP-1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 276mm x 156mm"
>> "   1920x1080     60.00*+  59.97    59.96    59.93  "
>> "   1680x1050     59.95    59.88  "
>> "   1400x1050     59.98  "
>> "   1600x900      59.99    59.94    59.95    59.82  "
>> "   1280x1024     60.02  "
>> "   1400x900      59.96    59.88  "
>> "   1280x960      60.00  "
>> "   1440x810      60.00    59.97  "
>> "   1368x768      59.88    59.85  "
>> "   1280x800      59.99    59.97    59.81    59.91  "
>> "   1280x720      60.00    59.99    59.86    59.74  "
>> "   1024x768      60.04    60.00  "
>> "   960x720       60.00  "
>> "   928x696       60.05  "
>> "   896x672       60.01  "
>> "   1024x576      59.95    59.96    59.90    59.82  "
>> "   960x600       59.93    60.00  "
>> "   960x540       59.96    59.99    59.63    59.82  "
>> "   800x600       60.00    60.32    56.25  "
>> "   840x525       60.01    59.88  "
>> "   864x486       59.92    59.57  "
>> "   700x525       59.98  "
>> "   800x450       59.95    59.82  "
>> "   640x512       60.02  "
>> "   700x450       59.96    59.88  "
>> "   640x480       60.00    59.94  "
>> "   720x405       59.51    58.99  "
>> "   684x384       59.88    59.85  "
>> "   640x400       59.88    59.98  "
>> "   640x360       59.86    59.83    59.84    59.32  "
>> "   512x384       60.00  "
>> "   512x288       60.00    59.92  "
>> "   480x270       59.63    59.82  "
>> "   400x300       60.32    56.34  "
>> "   432x243       59.92    59.57  "
>> "   320x240       60.05  "
>> "   360x202       59.51    59.13  "
>> "   320x180       59.84    59.32  "
>> "DP-1 connected primary 1920x1080+1920+0 (normal left inverted right x axis y axis) 527mm x 296mm"
>> "   1920x1080     60.00*+  50.00    59.94  "
>> "   1680x1050     59.88  "
>> "   1600x900      60.00  "
>> "   1280x1024     75.02    60.02  "
>> "   1280x800      59.91  "
>> "   1152x864      75.00  "
>> "   1280x720      60.00    60.00    50.00    59.94  "
>> "   1024x768      75.03    60.00  "
>> "   832x624       74.55  "
>> "   800x600       75.00    60.32  "
>> "   720x480       60.00    59.94  "
>> "   640x480       75.00    60.00    59.94  "
>> "   720x400       70.08  "
>> "HDMI-1 disconnected (normal left inverted right x axis y axis)"
>> "DP-2 disconnected (normal left inverted right x axis y axis)"
>> "HDMI-2 disconnected (normal left inverted right x axis y axis)"
monitorCount:  2
systemd: "CanSuspend" = "yes"
** Dbus error **************************
Error name  "org.freedesktop.login1.OperationInProgress"
Error msg   "There's already a shutdown or sleep operation in progress"
****************************************
systemd: "Suspend" = "There's already a shutdown or sleep operation in progress"
** Dbus error **************************
Error name  "org.freedesktop.DBus.Error.InvalidArgs"
Error msg   "No such interface “org.freedesktop.DBus.Properties”"
****************************************
dbusCall: QDBusInterface is invalid "org.freedesktop.ConsoleKit" "/org/freedesktop/ConsoleKit/Manager" "org.freedesktop.ConsoleKit.Manager" "CanSuspend"
BatteryChanged discharging: false chargeLevel: 94.2835 actionTime: QTime(Invalid)
monitorCount:  0
QProcess: Destroyed while process ("xrandr") is still running.
systemd: "CanSuspend" = "challenge"
** Dbus error **************************
Error name  "org.freedesktop.login1.OperationInProgress"
Error msg   "There's already a shutdown or sleep operation in progress"
****************************************
systemd: "Suspend" = "There's already a shutdown or sleep operation in progress"
** Dbus error **************************
Error name  "org.freedesktop.DBus.Error.InvalidArgs"
Error msg   "No such interface “org.freedesktop.DBus.Properties”"
****************************************
dbusCall: QDBusInterface is invalid "org.freedesktop.ConsoleKit" "/org/freedesktop/ConsoleKit/Manager" "org.freedesktop.ConsoleKit.Manager" "CanSuspend"
BatteryChanged discharging: true chargeLevel: 93.5658 actionTime: QTime(Invalid)
BatteryChanged discharging: true chargeLevel: 93.5658 actionTime: QTime(Invalid)
BatteryChanged discharging: true chargeLevel: 92.4122 actionTime: QTime(Invalid)
BatteryChanged discharging: true chargeLevel: 91.3356 actionTime: QTime(Invalid)
BatteryChanged discharging: true chargeLevel: 90.3614 actionTime: QTime(Invalid)
BatteryChanged discharging: true chargeLevel: 89.4642 actionTime: QTime(Invalid)
BatteryChanged discharging: true chargeLevel: 88.5414 actionTime: QTime(Invalid)
BatteryChanged discharging: true chargeLevel: 87.516 actionTime: QTime(Invalid)
BatteryChanged discharging: true chargeLevel: 86.465 actionTime: QTime(Invalid)
BatteryChanged discharging: true chargeLevel: 85.414 actionTime: QTime(Invalid)
BatteryChanged discharging: true chargeLevel: 84.5681 actionTime: QTime(Invalid)
BatteryChanged discharging: true chargeLevel: 83.6709 actionTime: QTime(Invalid)
BatteryChanged discharging: true chargeLevel: 82.6455 actionTime: QTime(Invalid)
BatteryChanged discharging: true chargeLevel: 81.8764 actionTime: QTime(Invalid)
BatteryChanged discharging: true chargeLevel: 81.0561 actionTime: QTime(Invalid)
BatteryChanged discharging: true chargeLevel: 80.2871 actionTime: QTime(Invalid)
BatteryChanged discharging: true chargeLevel: 79.4924 actionTime: QTime(Invalid)
BatteryChanged discharging: true chargeLevel: 78.4927 actionTime: QTime(Invalid)
[1]    2159414 segmentation fault (core dumped)  lxqt-powermanagement
lxqt-powermanagement  3.80s user 4.29s system 0% cpu 21:49:07.64 total

                Module linux-vdso.so.1 with build-id 58148cd38d5f960415b6503de0114713cc1c971a
                Module libxcb-res.so.0 with build-id b825f66a75478fd00eeb4c57ecb0ac7792e00f5e
                Module KF5WindowSystemX11Plugin.so with build-id 76980fc12358c0aea9b4c5e0fd1e24fe23315372
                Module KF5IdleTimeXcbPlugin0.so with build-id 89d751a954cc398e1a50958280e25bb6bbb78f42
                Module libwebp.so.7 with build-id 0add7a572705244ed810b7e722cce7da0dcfb62c
                Module libwebpdemux.so.2 with build-id 7bc15ac239db643015e169a2c6cc822156eb999a
                Module libwebpmux.so.3 with build-id 4232d5263a45719ba12f58ed7d8cae3a0fc887de
                Module libqwebp.so with build-id dacb86849cf63601c096302bc5248957f26c1792
                Module libqwbmp.so with build-id f364a39e41da7b352070f5b0d1a0330479eb0f3d
                Module libtiff.so.5 with build-id e8d89a0fb0847641ddb75c5f03fa89d68155a75d
                Module libqtiff.so with build-id b37ad8ac140e0c9543378e4c326613a1311b2295
                Module libqsvg.so with build-id 5a05e2dce49105d54df27dedbaf767fed536cf54
                Module libresolv.so.2 with build-id 46ffdf3d477a170314060c26927470d7399bc900
                Module libkeyutils.so.1 with build-id ac405ddd17be10ce538da3211415ee50c8f8df79
                Module libkrb5support.so.0 with build-id adf65240a4d2aba772d7a0772b4d015469934113
                Module libcom_err.so.2 with build-id 358b783c9b3d12ba8248519ea2e7f3da4c4e0297
                Module libk5crypto.so.3 with build-id eb8220b8f36675aac769450be4cb6bb7f97ec38a
                Module libkrb5.so.3 with build-id 72d26767c5cb1097db75a5f5bff88860233c902b
                Module libgssapi_krb5.so.2 with build-id e6e098ad51ce7bdd3dbe902d7b0f69a90f8a9e08
                Module libQt5Network.so.5 with build-id 1b11fe088f02dd26d25ed46ca9ee2c9ce8619767
                Module libQt5Pdf.so.5 with build-id 5fa88f5bcfd7be908f5c276fb1de7415c25e2e03
                Module libqpdf.so with build-id cc8e7ffa26bacf0f941345ff9b248d5d3c510fd0
                Module liblcms2.so.2 with build-id c01e5649a38dbf37768d02dc751b52de0dcbd141
                Module libmng.so.2 with build-id 2de13b8bba73f358ab2e323aa2209c2e2fc886e7
                Module libqmng.so with build-id 9d7d2aea82b20085d0fe175021ffaba5f838f4f7
                Module libqjpeg.so with build-id 8f3fd514e6a0e33f6c43a88045271ca1e38fe721
                Module libjasper.so.4 with build-id 062fa02a47172a8bf53b976a67eea42a61f37f0f
                Module libqjp2.so with build-id dc19aeb06d63cb2c80fb2a3cbeea2e117e073cdc
                Module libqico.so with build-id c10d08a71544a009ff12fd922652abb0e14bbc31
                Module libqicns.so with build-id 685f743bf4bce33832bb725d0fc7c93548c9e302
                Module libqgif.so with build-id 39b4fe207c1219ed12d22aa7c37396fbe0466e75
                Module kimg_xcf.so with build-id a1255ad435b1c7ce980497edfa32768a4bb4535a
                Module kimg_tga.so with build-id d21fccf6a3bf031f07459ff5bfa97c12cf16c03e
                Module kimg_rgb.so with build-id 6f7fab18186d93eca7f565bc33480de8aaa469f0
                Module kimg_ras.so with build-id 35def77c5f4628e9a36211a6dc9ac6b022386143
                Module kimg_psd.so with build-id 889427471fbf837b380c7763356846e0bb037991
                Module kimg_pic.so with build-id c6a5c2b9851365120e90369398c680624ae81f87
                Module kimg_pcx.so with build-id 004bfa80e3339d8f8e135ab21867b6328a1815bc
                Module kimg_ora.so with build-id f22d6a07707a5dd4c0907377ed6a86308a897256
                Module libKF5Archive.so.5 with build-id fd152527cda39342ce9cc09ef66c510c658aa88d
                Module kimg_kra.so with build-id 2298ce4b8de2636e508856e6a9fa853ee231a1e7
                Module libmvec.so.1 with build-id 760a099552c4783b979e942bf839c2bbc5ff603d
                Module libx265.so.199 with build-id 4fd2d7155725df753c6b32274c442349fc05e632
                Module libde265.so.0 with build-id 459cf009e847aef8f1589ad39b1573351b6a3b22
                Module libheif.so.1 with build-id 64bccee060b5f2b512bc5ab529a4030b4f58ea8b
                Module kimg_heif.so with build-id e7ad10c4d7776cd83ad7ad03c0638e9435461130
                Module kimg_hdr.so with build-id 31cda709edcd58803a953af11a5038c7f86e21d0
                Module libIlmThread-3_1.so.30 with build-id 1d5714e7fdf53519be7a5cedbf91bcd1cbc2fb2e
                Module libIex-3_1.so.30 with build-id 90c74db82d22b8d1ac7a77361fd579bd1c08af94
                Module libImath-3_1.so.29 with build-id a6382ff94f639bb105265ceb819bdac92a7a9ae3
                Module libOpenEXR-3_1.so.30 with build-id d1572feb4f222f541eec5e11a2ca5276da9317c5
                Module kimg_exr.so with build-id 48c5f4c18db1ce4931c2e75c05077ac7d52f3ffe
                Module libQt5PrintSupport.so.5 with build-id 3e9ba2f7201a91f49aabe7cd742c695506f3ad3a
                Module kimg_eps.so with build-id 66f96e268e245c5d7c924486920242e75cd9d2f5
                Module libjpeg.so.8 with build-id 324d9d66f01707241e31af5cc104db3c9122f4c4
                Module libyuv.so with build-id c7a5e1943921367b12460b618d38ce4afd1e6caf
                Module libaom.so.3 with build-id 3c057fe8c5fa7033366274352148acb4dbb42728
                Module libSvtAv1Enc.so.0 with build-id e9143f88be53d2aebfa4f9249295869f09e22be4
                Module librav1e.so.0 with build-id 5f8fc2c271f0d96480ab1c71447e038a66aa1c57
                Module libdav1d.so.5 with build-id 82862181dbe48302fde94240f68e17fb6f9a03c7
                Module libavif.so.13 with build-id cdc4233bc1ff2e9b419e9bf8aaf8b5a94cf0bd87
                Module kimg_avif.so with build-id 75dfd3e0686fbd62f4b1c401e251dec6b14e3d74
                Module kimg_ani.so with build-id 9d2b635e5dbb5883361ef84ad8a800fa8dae6749
                Module libkvantum.so with build-id 2d596b4b7398aa6b2c83007301bc61cc195dde3b
                Module libFcitx5Qt5DBusAddons.so.1 with build-id 2840046dca849e286457db94d5c1ec8be6c4cecf
                Module libfcitx5platforminputcontextplugin.so with build-id 6654bc9452f3b5598a734fdd7a56b42e46dc1667
                Module libdbusmenu-qt5.so.2 with build-id 346cd54093968d3de9e61cc329e9512d248dce18
                Module libqtlxqt.so with build-id 27351d5c35eba4fbd08647d03e3195dc15fac481
                Module libXfixes.so.3 with build-id 0a05c7e8714522bfbdd7c0027c3e2a94965664b0
                Module libXrender.so.1 with build-id 97e0b9ab6ba96ebc86527cc2b3c3078aad8616b3
                Module libXcursor.so.1 with build-id eb6315bcd7526aaf51b0a1307efdc587cea0a152
                Module libuuid.so.1 with build-id cc94de1b28210d2b06109bd76c198c80f518aad6
                Module libxcb-util.so.1 with build-id 4188ebc629b472b560849c5792a69c1803c3d1a4
                Module libexpat.so.1 with build-id a05c64fe82308a309e7653685c94ce71735f8a1a
                Module libxkbcommon.so.0 with build-id 3a9338b2085f0af41217bc0a90ffcc941938a16e
                Module libxkbcommon-x11.so.0 with build-id c942fd85702bc7165a42bcb102660f9413376572
                Module libICE.so.6 with build-id af53458a64fe1e62a4d95606f7b03c210b2b098c
                Module libSM.so.6 with build-id ac7b055fd3f16b4f29373285ab04ed52eebb632d
                Module libxcb-xinput.so.0 with build-id 6403174c48f05f40cf7c168beb86f2886b9f09c1
                Module libxcb-xkb.so.1 with build-id fce20d2101f3e5439923e9283c489c2cad4420c3
                Module libxcb-xinerama.so.0 with build-id b328103ce7502d94fd3a4e2e8773978a9aa84adc
                Module libxcb-xfixes.so.0 with build-id a6b197ace5b9b59f913f5969eb419a88d1194f47
                Module libxcb-sync.so.1 with build-id dda14591103b01b1311906053bf1ca9e82ade35c
                Module libxcb-shape.so.0 with build-id f1b3376c4534fab0469feb1cd19f022ff98df533
                Module libxcb-render.so.0 with build-id a37bdb37744b508be9dd29fd9ccb9bb0170d43e5
                Module libxcb-render-util.so.0 with build-id c64fb28ea20a320a9754273d9ea3af85f6f74b17
                Module libxcb-randr.so.0 with build-id b6c1c7d4b28863b55ade251813db7f246b7ffe8b
                Module libxcb-shm.so.0 with build-id fb797f299a446f559a95afcc168227482cc800d1
                Module libxcb-image.so.0 with build-id ee7f8577926fe7c1d6972036c2f8e6f727e43b1b
                Module libxcb-icccm.so.4 with build-id 73f1e12d76af383aa969a60279ed5ed922045f47
                Module libX11-xcb.so.1 with build-id 0db4f94d8ae31b8dc9a83f825a9171656f1e532c
                Module libfontconfig.so.1 with build-id 9fdeb38479c4090d673efc2e8cb60176efe65da1
                Module libQt5XcbQpa.so.5 with build-id 24613bfc4051b0a117e4b547a63a4fa2717839a7
                Module libqxcb.so with build-id 6efa06a18493fb9c622575524b46c406ccbf03cc
                Module libbrotlicommon.so.1 with build-id a4ba3f4b4571c8272343b621da812a6e24a202a7
                Module libgpg-error.so.0 with build-id 82524ee3d1c4c2244d7cfdcc1e6eea5f9855f6c6
                Module libbrotlidec.so.1 with build-id 45defc036e918e0140a72f1fbce6e7692d38241d
                Module libbz2.so.1.0 with build-id 919597c477c9b2cb9cdbb7745ed6494ac0e6da60
                Module libicudata.so.70 with build-id e1dcc2a88cfaafed882d09c90c668af0eed4efed
                Module libgcrypt.so.20 with build-id db45f5d5e0f7af1e77324fea1885f974619ad268
                Module libcap.so.2 with build-id eb6dae97527fc89dbb0d5bb581a15acd02ae9f56
                Module liblz4.so.1 with build-id e63600ab23b2f6997f42fac2fa56e1f02ce159a1
                Module liblzma.so.5 with build-id 8b615460aa230708c5183f16bede67aa0437d95e
                Module libgraphite2.so.3 with build-id 47761dc11e553f519cde97ed9ee985be12ccdae2
                Module libfreetype.so.6 with build-id 26c5f833068ff72660d1975cbc2074c3eb47fad8
                Module libGLX.so.0 with build-id 2a08836c6e6126ce9ff4496b6aacaf29ae9b4e7b
                Module libGLdispatch.so.0 with build-id 501765b3a78d668860fa54229b18107473aeda4c
                Module libgmodule-2.0.so.0 with build-id 0f0921c3ff98f0afe7fafbb123581acec5f7de29
                Module libffi.so.8 with build-id f90d8b734f6de9b25faedb8cbfab7054dafc0a42
                Module libpcre.so.1 with build-id 845483dd0acba86de9f0313102bebbaf3ce52767
                Module libXdmcp.so.6 with build-id 8ca0792d23c8b8b4c0864297512349292bea5955
                Module libXau.so.6 with build-id 1c67764663e07bec24d8951e5fd93f4d165979ff
                Module libpthread.so.0 with build-id 7fa8b52fae071a370ba4ca32bf9490a30aff31c4
                Module libcrypto.so.1.1 with build-id f94a24f9ce8f3f394c3df23f7d436796797d4459
                Module libssl.so.1.1 with build-id 54f796076979dc9b6ff9ac3c39e250db86652924
                Module libusbmuxd-2.0.so.6 with build-id fd9f05e7f5b0da4e15972f75b61fd9b4b9f06dbe
                Module libimobiledevice-glue-1.0.so.0 with build-id 70da8bc86657f2aba7ce97b55e4ab102f3c58ec3
                Module librt.so.1 with build-id 4761858b348db8303e872e515aa8d56c046c921c
                Module libblkid.so.1 with build-id 9e4bb910a2e63ba71cae0e3b89c07fdd45033ff2
                Module libdl.so.2 with build-id bb9bd2657bfba9f60bd34d2050cc63a7eb024bc4
                Module libXext.so.6 with build-id d70f24beb4fad748d6becffdcc13e51be0a2ebfa
                Module ld-linux-x86-64.so.2 with build-id c09c6f50f6bcec73c64a0b4be77eadb8f7202410
                Module libzstd.so.1 with build-id 3bccb8fe08e48d5ea135b1d0f99de0d771dd752f
                Module libpcre2-16.so.0 with build-id 195fbccafbcff538ce13805ba687514fb614c5ed
                Module libicuuc.so.70 with build-id 2e245c2bf12f95fd8ab79b3a4be99524677cbd70
                Module libicui18n.so.70 with build-id 95af755fca990df26753a7d720b8e3ae24270e42
                Module libdouble-conversion.so.3 with build-id d162eb67b00f523a3f146b1077ae00fe04d5fb85
                Module libsystemd.so.0 with build-id 05d0460efefd339d315812f9506aecc5a5d22200
                Module libdbus-1.so.3 with build-id 7f4b16b4b407cbae2d7118d6f99610e29a18a56a
                Module libmd4c.so.0 with build-id 2151dba72cdc9960097e6e960a58a2f03c8bb96e
                Module libharfbuzz.so.0 with build-id ee57ebbf2c33ad97fd7ee7327cf63f419548e64e
                Module libpng16.so.16 with build-id 2dc0bce07f199bf983c07a05fb95a6f4af83a9b3
                Module libGL.so.1 with build-id 912ac4f37a9fa2d5abcf7a9088c9983cfe46f12a
                Module libgcc_s.so.1 with build-id 5d817452a709ca3a213341555ddcf446ecee37fa
                Module libz.so.1 with build-id 0c1459c56513efd5d53eb3868290e9afee6a6a26
                Module libgio-2.0.so.0 with build-id 8418b6a6a164774cde5db9d63d03911bb9823368
                Module libgobject-2.0.so.0 with build-id 1ab19051c262a2c995e86ea2b0af7e8ab70798f3
                Module libglib-2.0.so.0 with build-id 0fcc81d3dfd68bddbf63423156549fc66939e8ca
                Module libQt5XdgIconLoader.so.3 with build-id 43b42e0d4f257bcdc9086eb94d3bba204fa9b024
                Module libxcb-keysyms.so.1 with build-id 333e5eb4075795f947c924a2085f17e2e2ae7147
                Module libxcb.so.1 with build-id 0d1ef11740a5daad2ee331e812a51aa6574af222
                Module libplist-2.0.so.3 with build-id e772705bfe929fd20d3e1d1f9437dcb76885a7c5
                Module libimobiledevice-1.0.so.6 with build-id 1f583c0655bb52e7e41b0976e5279ed8ecf81a7f
                Module libmount.so.1 with build-id 765508fe9812e693ac41fd3d0aedd65d7a78b287
                Module libudev.so.1 with build-id 7dc938362569112855b6086de066cd6a18d1b978
                Module libQt5Xml.so.5 with build-id c117dde732dd4946c4842e65b3beb75ad290cf82
                Module libX11.so.6 with build-id 5ba5798d193c0065014b8c6252a0678671c8d478
                Module libXss.so.1 with build-id baa7abf56d3c688475068639478b07b508149f7a
                Module libQt5X11Extras.so.5 with build-id 25320ee0d79d41ea309fc03b608da2d35d24e6b6
                Module libc.so.6 with build-id 85766e9d8458b16e9c7ce6e07c712c02b8471dbc
                Module libm.so.6 with build-id 596b63a006a4386dcab30912d2b54a7a61827b07
                Module libstdc++.so.6 with build-id 88ad4eff81a00c684abfe0f863e87434123d8943
                Module libQt5Core.so.5 with build-id bef6f9c12d4d3dc7185d4665c703a96e4f14ae78
                Module libQt5DBus.so.5 with build-id eaadac7eb0682c8accdb8431fb928470c0546840
                Module libQt5Gui.so.5 with build-id 603378056049c800e344b269a334622aef7b95d7
                Module libQt5Widgets.so.5 with build-id 5238c494a127f51d0ece2c8c2d8c828751df56f9
                Module libQt5Svg.so.5 with build-id f7022a2f8451f8b6317ed423207a2f17c647ec90
                Module libQt5Xdg.so.3 with build-id 7ac2dd2654f26ca0d8dcfbb19addf09f72dd3301
                Module libKF5WindowSystem.so.5 with build-id 126371f20fe6ec8475d4a55feff2612062f0f7c6
                Module liblxqt-globalkeys.so.1 with build-id 5f7656a82cd23644f1e5caf4b77c1c7f632c6b46
                Module libKF5IdleTime.so.5 with build-id 20db302e72ba19f45328d371c6d75c30c9398e00
                Module libKF5Solid.so.5 with build-id 3af59c9a4344b94f6a5a0b8b226a288073f73fde
                Module liblxqt.so.1 with build-id f607555ce92a9cdb77de795692a256912b04f8a0
                Module lxqt-powermanagement with build-id bd59aaa0b12090cfcaf9f0344da0c4bbf6a06b70
                Stack trace of thread 3195097:
                #0  0x00007fcf204ae9c7 _ZN9QHashData8nextNodeEPNS_4NodeE (libQt5Core.so.5 + 0x11c9c7)
                #1  0x00007fcf2175f4c9 n/a (libKF5IdleTime.so.5 + 0x44c9)
                #2  0x00007fcf2064f463 n/a (libQt5Core.so.5 + 0x2bd463)
                #3  0x00007fcf2175f226 _ZN20AbstractSystemPoller14timeoutReachedEi (libKF5IdleTime.so.5 + 0x4226)
                #4  0x00007fcf1b6d271d n/a (KF5IdleTimeXcbPlugin0.so + 0x471d)
                #5  0x00007fcf20614ef7 _ZN24QAbstractEventDispatcher17filterNativeEventERK10QByteArrayPvPl (libQt5Core.so.5 + 0x282ef7)
                #6  0x00007fcf1c518b89 _ZN14QXcbConnection14handleXcbEventEP19xcb_generic_event_t (libQt5XcbQpa.so.5 + 0x3cb89)
                #7  0x00007fcf1c51cd5c _ZN14QXcbConnection16processXcbEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5XcbQpa.so.5 + 0x40d5c)
                #8  0x00007fcf1c53ff58 n/a (libQt5XcbQpa.so.5 + 0x63f58)
                #9  0x00007fcf1faeeee3 g_main_context_dispatch (libglib-2.0.so.0 + 0x54ee3)
                #10 0x00007fcf1fb450f9 n/a (libglib-2.0.so.0 + 0xab0f9)
                #11 0x00007fcf1faec455 g_main_context_iteration (libglib-2.0.so.0 + 0x52455)
                #12 0x00007fcf2066a57a _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2d857a)
                #13 0x00007fcf2061688b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x28488b)
                #14 0x00007fcf20621fd7 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x28ffd7)
                #15 0x0000557dc3d4c135 n/a (lxqt-powermanagement + 0xb135)
                #16 0x00007fcf1fea5310 __libc_start_call_main (libc.so.6 + 0x2d310)
                #17 0x00007fcf1fea53c1 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x2d3c1)
                #18 0x0000557dc3d4c6ee _start (lxqt-powermanagement + 0xb6ee)

                Stack trace of thread 3195131:
                #0  0x00007fcf1ff7e2af __poll (libc.so.6 + 0x1062af)
                #1  0x00007fcf1fb45086 n/a (libglib-2.0.so.0 + 0xab086)
                #2  0x00007fcf1faec455 g_main_context_iteration (libglib-2.0.so.0 + 0x52455)
                #3  0x00007fcf2066a57a _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2d857a)
                #4  0x00007fcf2061688b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x28488b)
                #5  0x00007fcf20479a56 _ZN7QThread4execEv (libQt5Core.so.5 + 0xe7a56)
                #6  0x00007fcf208d73a9 n/a (libQt5DBus.so.5 + 0x233a9)
                #7  0x00007fcf204768cc n/a (libQt5Core.so.5 + 0xe48cc)
                #8  0x00007fcf1ff055c2 start_thread (libc.so.6 + 0x8d5c2)
                #9  0x00007fcf1ff8a584 __clone (libc.so.6 + 0x112584)

                Stack trace of thread 3195171:
                #0  0x00007fcf1ff80cc2 pselect (libc.so.6 + 0x108cc2)
                #1  0x00007fcf1ee64524 n/a (libusbmuxd-2.0.so.6 + 0x2524)
                #2  0x00007fcf1ee658a9 n/a (libusbmuxd-2.0.so.6 + 0x38a9)
                #3  0x00007fcf1ff055c2 start_thread (libc.so.6 + 0x8d5c2)
                #4  0x00007fcf1ff8a584 __clone (libc.so.6 + 0x112584)

                Stack trace of thread 3195113:
                #0  0x00007fcf1ff7e2af __poll (libc.so.6 + 0x1062af)
                #1  0x00007fcf1fbfd63b n/a (libxcb.so.1 + 0xc63b)
                #2  0x00007fcf1fbff37b xcb_wait_for_event (libxcb.so.1 + 0xe37b)
                #3  0x00007fcf1c53db12 n/a (libQt5XcbQpa.so.5 + 0x61b12)
                #4  0x00007fcf204768cc n/a (libQt5Core.so.5 + 0xe48cc)
                #5  0x00007fcf1ff055c2 start_thread (libc.so.6 + 0x8d5c2)
                #6  0x00007fcf1ff8a584 __clone (libc.so.6 + 0x112584)
                ELF object binary architecture: AMD x86-64

Suspend loop after upgrade

I was having some errors when compiling lxqt-panel then removed all lxqt packages and installed git versions from AUR, then after rebooting the system, first login it showed a lot of notifications about lxqt-powermanagement and suspended imediatelly. (all i could read from notifications was something about dbus, there were 10 or so notifications)

Expected Behavior

continue working as before

Current Behavior

suspends imediatelly after login and after waking (already fixed on my system, see below)

Possible Solution

switched to tty, removed ~./config/lxqt/lxqt-powermanagement.conf and restarted sddm

Steps to Reproduce (for bugs)

Not sure if it will be reproducible but the previous setting was 100+ minutes idle to suspend (not sure of the values since i deleted the conf file)

  • on Session Settings, disable "Lock screen before suspending/hibernating" (Don't know if this is related)

  • Enable Idleness Watcher, set to suspend and set some time (tested on a VM 1 min and 120 min)

  • remove lxqt, install latest git version (had to reinstall everything because of deps on liblxqt, lxqt-build-tools, etc), i used AUR and paru (AUR helper) but should be the same manually compiling on other distros

  • Reboot

Or if already on latest git version u could replace ~/.config/lxqt/lxqt-powermanagement.conf contents with:

__userfile__=true
backlightIdleness=0
backlightIdlenessOnBatteryDischarging=true
enableBatteryWatcher=true
enableIdlenessBacklightWatcher=false
enableIdlenessWatcher=true
enableLidWatcher=false
idlenessAction=4
idlenessTime=@Variant(\0\0\0\xf\0\0\x3\xe8)
idlenessTimeSecs=7200
runCheckLevel=1
Context

I already fixed on my system so no need for support, but there's probably some error when getting the values from older config file, possibly from the change in #228, and it could cause issues on next release.

System Information
  • Distribution & Version: Archlinux
  • Kernel: 5.11.1-arch1-1
  • Qt Version: qt5-base 5.15.2-5
  • liblxqt Version: 0.16.0.18.g0eb9dc7-1 (git version from AUR in feb 24)
  • lxqt-build-tools Version: 0.8.0.6.g17d975c-1 (git version from AUR in feb 24)
  • Package version: upgrading from 0.16.0-1 (repo version) to 0.16.0.20.g231759d-1 (git version from AUR in feb 24)

EDIT: Also it's a desktop pc, so no battery/lid actions

There is no way to change the behavior of the power button

Expected Behavior

I'd like to be able to change whether pressing the power button will shut down, restart, suspend, or do nothing.

Current Behavior

Currently there is no way (that I can find) of adjusting the behavior of the power button in LXQT's power management control panel.

Possible Solution

Add an option to adjust the behavior of the power button (Would it have a "power button watcher" checkmark?) to lxqt-config-powermanagement

Steps to Reproduce (for bugs)
  1. Boot Lubuntu 19.10 from a USB
  2. Go to settings and then power management
  3. Try to find a way to adjust the behavior of the power button
Context

I'm trying out Lubuntu 19.10 on a little laptop that's slightly broken such that if you hold it the wrong way, or close/open the lid the wrong way, it triggers the power button, which shuts Lubuntu down every time unless I hack into /etc/systemd/logind.conf.

System Information
  • Distribution & Version: Lubuntu 19.10 live
  • Kernel: Linux lubuntu 5.3.0-18-generic
  • Qt Version: qmake: could not exec '/usr/lib/x86_64-linux-gnu/qt4/bin/qmake': No such file or directory
  • liblxqt Version: /usr/lib/x86_64-linux-gnu/liblxqt.so.0.14.1
  • lxqt-build-tools Version: Not installed
  • Package version: lxqt-powermanagement/eoan,now 0.14.1-0ubuntu1 amd64 [installed,automatic]

Allow idle time higher than 59:59 minutes

Currently on LXQt 1.4.0, the Idle section, AC Idle time and Battery Idle time fields are limited to 59:59 minutes at most.

People may want to have more than 1 hour before suspending (or other action).

Adding one more digit will allow to set a time up to 16 hours, but we may want to add 2 digits.

Wrong tooltip and left click info in pending-charge state

In rare circumstances (probably unplugging power supply for a short time, 5 min) the battery will not be charged immediately:

upower -i /org/freedesktop/UPower/devices/battery_BAT

 battery
    present:             yes
    rechargeable:        yes
    state:               pending-charge

In this state left click on the icon results in "no battery" and tooltip says "Battery empty" too.
upower manual mentions 2 states :

....
 5: Pending charge
6: Pending discharge
Expected Behavior

No wrong tooltip infos, and icon should display power adapter connected when in fact it is.

Possible Solution
Steps to Reproduce (for bugs)
  1. Unplug the charger for 5 minutes
  2. Plug it in and wait for updating upower until
  3. "+" sign or icon disappears, tooltip will say "Empty (97%)", left click says "Battery empty" too.
  4. No emblem for "adapter connected" but it should be displayed.
Context

Noticed only testing in #294 , usually the power adapter is longer disconnected than some minutes. It looks like the battery has to go under ~95% to be recharged immediately or at all, at 97% it hangs always there.

System Information
  • Distribution & Version: arch, latest git

[feature request] Detect and filter power features in selection

A power feature should only be selectable/visible in the lxqt-powermanaget tool if the hardware/driver supports it.

Expected Behavior

Feature is not selectable/visible in GUI if hardware/driver doesn't support it.

Current Behavior

All features are selectable regardless of their availability.

Possible Solution

Seems implemented in lxqt-leave (via QDbus request?) - the hibernate button is "greyed out". If most/all features can be queried this way it would be great!

Steps to Reproduce (for bugs)

If possible - disable the feature under test. (For "hibernate" -> remove the resume HOOK in /etc/mkinitcpio.conf and reload/reboot).

Context

No action is taken on low battery after 30s timeout info box - battery management is correctly configured. Further investigation revealed that my setup has no hibernation feature. Selecting such feature in lxqt-powermanagement tool leads to no effect (silent error in the background) -> user confusion.

@tsujan FYI: Some time ago I disabled my swap partition (because SSD). Only a guess, but it makes sense hibernation would use that partition by default does it?

System Information

Not relevant here -> LXQt 0.17

Idleness Watcher activates despite having Caffeine enabled

LXQt still does its idleness check despite preventing it through the Caffeine program or having a game running (eg. Minecraft).

Expected Behavior

It should not suspend (the option I set) when idle. I tried it on KDE Plasma and having Minecraft running doesn't make the system "idle" and also when enabling Plasma's Power Management in the Battery & Brightness system tray option.

Current Behavior

Treats the system as idle despite having those programs running.

Possible Solution

I think LXQt ignores those programs and only looks at system activity (mouse movement and keyboard use). Maybe having such programs checked will fix it.

Steps to Reproduce (for bugs)
  1. Run Caffeine
  2. Enable Caffeine
  3. Let the system idle
  4. The system sleeps no matter what
Context

I am automating things inside a game and I want it to stay awake. I don't want to fully disable the setting or toggle it every time I want it disabled though as it is annoying and I sometimes forget to do.

System Information
  • Distribution & Version: Arch Linux
  • Kernel: 5.15.87-1-lts
  • Qt Version: 1.2.0
  • liblxqt Version: 1.2.0-1
  • lxqt-build-tools Version: n/a
  • Package version: 1.2.0-1

idle watcher should be disabled on fullscreen

If you are watching a movie or doing something fullscreen, your idle time will increase very fast. I think it should be disabled.

Expected Behavior

idle watcher stops on fullscreen

Current Behavior

idle watcher works normally also on fullscreen

Possible Solution

I'm not sure about the best solution here. Add an option to set this behavior (enabled by default) or just implement it.
I can provide a patch to implement it when the right approach has been decided.

[Feature request] Show Remaining Time (again)

Context

I know this has already been discussed before under #175. But since it is such a useful feature also available with Windows, I would like to propose to just use the information about the remaining time (for charging or discharging) from upower:

upower -i $(upower -e | grep '/battery') | grep --color=never -E "to\ full|to\ empty"

I actually currently have a keyboard shortcut defined, which extracts the relevant information from upower and then triggers a notification with the relevant information displayed. 🤷

20230219 215534_rectangle_281x129

Expected Behavior
  1. Show remaining time (for charging or discharging) when hovering over the battery icon in the panel with the mouse.
  2. Add an option to Powermanagement to have this time displayed on mouseover.
Current Behavior

Neither.

Possible Solution

Leverage upower.

Steps to Reproduce (for bugs)
  1. Hover over the battery icon shown in the LXQt panel.
System Information
  • Distribution & Version: Ubuntu 22.10
  • Kernel: lubuntu 5.19.0-21-generic
  • Qt Version: 5.15.6
  • liblxqt Version: ?
  • lxqt-build-tools Version: ?
  • Package version: ?

Idle/lid watcher settings don't work with elogind

Expected Behavior

Lid and idle watcher behavior should change when... they're changed

Current Behavior

I have to manually edit elogind configuration for it to work.

Possible Solution

I've got no clue. Could this maybe be expecting regular systemd-logind to be used, and tries changing it through systemd? If so, elogind support would be needed

Steps to Reproduce (for bugs)
  1. Open lxqt-config-powermanagement
  2. Change lid or idle watcher settings
Context

I wanted my configuration to have it suspend on lid close all the time except when connected to my monitor. In addition, I wanted to suspend after 20 minutes of idleness - mostly as a "band-aid fix" for the idle watcher still being enabled during video, which, by the way, is also something that I'd like changed.

System Information
  • Distribution & Version: Artix Linux
  • Kernel: 5.10.8.artix1-1
  • Qt Version: 5.15.2-3
  • liblxqt Version: 0.16.0-1
  • lxqt-build-tools Version: not installed, lxqt was downloaded from the repositories (actually, I just installed Artix with the LXQt graphical installer)
  • Package version: 0.16.0-1

Error installation v1.0.0

Hi,

lxqt-powermanagement stopped showing the double battery icon for dual battery machines as my Thinkpad therefore I have installed the last version of lxqt-powermanagement but without success. Now, lxqt-powermanagement is not working at all.

When executing lxqt-config-powermanagement

lxqt-config-powermanagement: error while loading shared libraries: liblxqt.so.1: cannot open shared object file: No such file or directory

However liblxqt.so.1 exists in /usr/local/lib/liblxqt.so.1 . Have I installed anything wrong? Also any idea why one year ago the two battery icons showed up but since last month they decide to not show up again? Onky the main battery one is showing.

  • Distribution & Version: Ubuntu 21.10
  • Kernel: 5.13.0.27.37
  • Qt Version: 5.15.2
  • liblxqt Version: 0.17.0
  • lxqt-build-tools Version: 0.9.0
  • Package version: 1.0.0?

Crash when logging in while laptop battery is unplugged

Expected Behavior

No crash

Current Behavior

The LXQt Power Management module crashes on login if no battery is connected. It doesn't crash when disconnecting the battery while LXQt is already running

Reconnecting the battery doesn't restart the service, so I have to start it manually

Steps to Reproduce (for bugs)
  1. Plug in your laptop
  2. Disconnect/remove your laptop's battery (some laptops require pushing a pin into a hole to disconnect the battery)
  3. Start LXQt
Context

I remove the battery when using my laptop at home to increase the battery's lifespan

System Information
  • Distribution & Version: Gentoo Linux 2.9
  • Kernel: 6.1.12
  • Qt Version: Too lazy to check. Unlikely to be relevant
  • liblxqt Version: 1.2.0
  • lxqt-build-tools Version: 0.12.0
  • Package version: lxqt-powermanagement-1.2.0

"QString::arg: Argument missing" in journalctl

Not sure if that is an issue but lxqt-powermanagement is spamming the log with the remaining battery time:

$ journalctl -xe
....
ago 11 22:25:02 vito lxqt-powermanagement[32269]: QString::arg: Argument missing: "21 minuti" , 21
ago 11 22:25:02 vito lxqt-powermanagement[32269]: QString::arg: Argument missing: "2 ore" , 2
ago 11 22:25:02 vito lxqt-powermanagement[32269]: BatteryChanged discharging: true chargeLevel: 79.4521 actionTim>
ago 11 22:25:32 vito lxqt-powermanagement[32269]: QString::arg: Argument missing: "21 minuti" , 21
ago 11 22:25:32 vito lxqt-powermanagement[32269]: QString::arg: Argument missing: "2 ore" , 2
ago 11 22:25:32 vito lxqt-powermanagement[32269]: BatteryChanged discharging: true chargeLevel: 79.1227 actionTim>
ago 11 22:26:02 vito lxqt-powermanagement[32269]: QString::arg: Argument missing: "14 minuti" , 14
ago 11 22:26:02 vito lxqt-powermanagement[32269]: QString::arg: Argument missing: "2 ore" , 2
ago 11 22:26:02 vito lxqt-powermanagement[32269]: QString::arg: Argument missing: "14 minuti" , 14
ago 11 22:26:02 vito lxqt-powermanagement[32269]: QString::arg: Argument missing: "2 ore" , 2

Steps to Reproduce (for bugs)
  1. Unplug power supply
  2. run journalctl -xe
  • Distribution & Version: latest git, arch

lxqt-powermanagement should override DPMS (under X11)

Default DPMS timeouts are in conflict with lxqt-powermanagement.

Users might have found various ways of avoiding this problem (like I did), and once the issue was avoided, it might have been forgotten. But, IMHO, it's a serious issue under X11.

Its fix may be as simple as this (inside IdlenessWatcher::setup()):

        // override DPMS settings
        if (QGuiApplication::platformName() == QStringLiteral("xcb")) {
            xcb_dpms_set_timeouts(QX11Info::connection(), 0, 0, 0);
        }

This solution worked here. Now xset q shows

DPMS (Display Power Management Signaling):
  Standby: 0    Suspend: 0    Off: 0
  DPMS is Enabled
  Monitor is On

However, not being an expert in cmake, I had a hard time to find XCB's DPMS module with it. In the end, I edited what I found in screengrab.

@luis-pereira, @palinek, @yan12125
Am I missing something when I think that this issue is serious? And do you know of a simpler way of finding DPMS? I mean simpler than what's done in screengrab?

[Feature Request] Granular Pause of Idleness Checks

Currently, when right-clicking the tray icon and hovering over Pause idleness checks, it displays four options:

  • 30 minutes
  • 1 hour
  • 2 hours
  • 3 hours
  • 4 hours

This may be fine for basic usage, the the user really should have the ability to customize these. Perhaps on the "Idle" menu, those four options are displayed, and are editable by the user.

A start to this feature may include adding configuration settings for these options, and using those defaults instead of hardcoded values. The user could then change those values manually via the config file.

A next step may be the UI actually configuring those options. Careful thought needs to be put into how many options we actually want to support (or if we want to limit them at all).

Also, there needs to be additional information somewhere for when that timer actually expires. If a value is selected, it should not still show those four checkboxes. Instead, it should show the (localized) time idleness checks resume, and the opportunity to cancel and set a new one.

A bonus feature for this may be adding support for manually specifying a time. Instead of clicking a checkbox, there would be one last option with e.g. Manual, which would pop up a simple dialog box asking for the time it should stop (with the current time as a placeholder).

Not hibernation on low battery

Having set powermanagement to "suspend" mode on low battery. Timer message shows, but when it reaches 0 laptop keeps running. Log shows (Q)Dbus errors:

Jul 11 13:34:31 nils-tux-man lxqt-powermanagement[1042]: BatteryChanged discharging: true chargeLevel: 49.3827 actionTime: QTime("13:34:32.133")
Jul 11 13:34:31 nils-tux-man lxqt-powermanagement[1042]: QString::arg: Argument missing: "Ruhezustand in 0 Sekunden" , 0
Jul 11 13:34:32 nils-tux-man lxqt-powermanagement[1042]: BatteryChanged discharging: true chargeLevel: 49.3827 actionTime: QTime("13:34:32.133")
Jul 11 13:34:32 nils-tux-man lxqt-powermanagement[1042]: QString::arg: Argument missing: "Ruhezustand in 0 Sekunden" , 0
Jul 11 13:34:32 nils-tux-man lxqt-powermanagement[1042]: BatteryChanged discharging: true chargeLevel: 49.3827 actionTime: QTime("13:34:32.133")
Jul 11 13:34:32 nils-tux-man lxqt-powermanagement[1042]: systemd: "CanHibernate" = "na"
Jul 11 13:34:32 nils-tux-man lxqt-powermanagement[1042]: ** Dbus error **************************
Jul 11 13:34:32 nils-tux-man lxqt-powermanagement[1042]: Error name  "org.freedesktop.DBus.Error.InvalidArgs"
Jul 11 13:34:32 nils-tux-man lxqt-powermanagement[1042]: Error msg   "Keine derartige Schnittstelle »org.freedesktop.DBus.Properties«"
Jul 11 13:34:32 nils-tux-man lxqt-powermanagement[1042]: ****************************************
Jul 11 13:34:32 nils-tux-man lxqt-powermanagement[1042]: dbusCall: QDBusInterface is invalid "org.freedesktop.ConsoleKit" "/org/freedesktop/ConsoleKit/Manager" "org.freedesktop.ConsoleKit.Manager" "CanHibernate"
Jul 11 13:34:43 nils-tux-man lxqt-powermanagement[1042]: onActivated 3
Jul 11 13:34:43 nils-tux-man lxqt-powermanagement[1042]: toggleShow
Expected Behavior

Desktop activates "hibernate/suspend" mode.

Current Behavior

Desktop keeps running.

Possible Solution

Fix/Update LXQt Dbus interface.

Steps to Reproduce (for bugs)
  1. set lxqt-powermanagement to a certain level to trigger "hibernate/suspend" mode
  2. plug cable and wait until the battery level is reached
Context

Common laptop setup.

System Information
  • Distribution & Version: Manjaro 21.0.7 (Ornara)
  • Kernel: 5.10
  • Qt Version: 5.15.2
  • liblxqt Version
  • lxqt-build-tools Version
  • Package version: 0.17

Smarter power management without battery

  1. Battery idle time and backlight change on battery discharge are enabled without battery.
  2. There's no way to have a tray icon without battery. The tray icon is (or will be) useful for pausing idleness checks. It can also show that the power management exits.
  3. Does LXQt Power Management react to the removal or adding of battery?

After removing battery not found anymore

On my old laptop (HP 655) the battery got unhooked and it crashed from suspension.
After putting the battery in place and reboot powermanagement doesn't find it anymore, in no way, tried reboot with and without, always the message "battery not found, powersettings disabled" and no icon.

$ cat /sys/class/power_supply/BAT0/charge_now 
2393000
$ cat /sys/class/power_supply/BAT0/present 
1

Tried delete configuration, other kernel, new user - no effect.

  • Distribution & Version: 32bit debian bullseye , recent github checkout

Presentation mode

Would it be possible to add a "Presentation Mode" feature to the power tray icon so that users can disable suspend/hibernate/screen blanking ?

Button settings do not work on wayland

Under wayland power button (and probably suspend|hibernate buttons too) cannot be configured for actions.

Steps to Reproduce (for bugs)
  1. Configure an action for powerbutton in lxqt-config-powermanagement
  2. Press the button
  3. Nothing happens
  • Distribution & Version: all, git

Coredump when trying to lock screen under wayland

Somehow expected when under "Idleness" or "Lid actions" "Lock Screen" is selected lxqt-powermanagement crashes.

Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007ff3fe7ddee3 in ?? () from /usr/lib/liblxqt.so.1
[Current thread is 1 (Thread 0x7ff3f9575200 (LWP 229154))]
(gdb) where
#0  0x00007ff3fe7ddee3 in  () at /usr/lib/liblxqt.so.1
#1  0x00007ff3fe7de188 in LXQt::ScreenSaver::lockScreen() ()
    at /usr/lib/liblxqt.so.1
#2  0x000055ab3e277e42 in  ()
#3  0x00007ff3fd2bd361 in  () at /usr/lib/libQt5Core.so.5
#4  0x000055ab3e274a14 in  ()
#5  0x000055ab3e27587f in  ()
#6  0x00007ff3fe5ba45f in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007ff3fd2b0500 in QObject::event(QEvent*) ()
    at /usr/lib/libQt5Core.so.5
#8  0x00007ff3fdf78b1c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#9  0x00007ff3fd28cb68 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#10 0x00007ff3fd28d673 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#11 0x00007ff3fd2d3708 in  () at /usr/lib/libQt5Core.so.5
#12 0x00007ff3fc932b2b in g_main_context_dispatch ()
    at /usr/lib/libglib-2.0.so.0
#13 0x00007ff3fc988e79 in  () at /usr/lib/libglib-2.0.so.0
#14 0x00007ff3fc930252 in g_main_context_iteration ()
    at /usr/lib/libglib-2.0.so.0
#15 0x00007ff3fd2d74ec in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#16 0x00007ff3fd28530c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#17 0x00007ff3fd28fe39 in QCoreApplication::exec() ()
    at /usr/lib/libQt5Core.so.5
#18 0x000055ab3e27413b in  ()
#19 0x00007ff3fca3c290 in  () at /usr/lib/libc.so.6
#20 0x00007ff3fca3c34a in __libc_start_main () at /usr/lib/libc.so.6
#21 0x000055ab3e274725 in _start ()
(gdb)
Expected Behavior

Locked screen after lid close or idle time

Current Behavior

Crash. Screen locking under wayland is not implemented anywhere yet. There are only 3 lockers available atm:

Possible Solution
  • Check for presence of one of them and display an error if not any is choosen in a future lxqt-config-session section "Wayland" or similar.
  • Disabling locking under wayland (temporary solution)
Steps to Reproduce (for bugs)
  1. Start a wayland LXQt session including lxqt-powermanagement
  2. Choose "lock screen" in "Lid" for close
  3. Close lid, reopen lid
  4. Icon in systray has disappeared
System Information
  • Distribution & Version: Arch, latest git
  • XDG_SESSION_TYPE=wayland

lxqt-powermanagement segfault and doublefloat

i'm trying to launch lxqt on Raspberry pi3b+ and got weird messages from lxqt-powermanagement binary
lxqt-powermanagement: /builddir/build/BUILD/double-conversion-3.1.5/double-conversion/double-conversion.cc:371: static void double_conversion::DoubleToStringConverter::DoubleToAscii(double, double_conversion::DoubleToStringConverter::DtoaMode, int, char *, int, bool *, int *, int *): Assertion!Double(v).IsSpecial()' failed.`

gdb reporting me this

(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/bin/lxqt-powermanagement 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ff1eb6110 (LWP 5932)]
[New Thread 0x7ff0ab6110 (LWP 5935)]
lxqt-powermanagement: /builddir/build/BUILD/double-conversion-3.1.5/double-conversion/double-conversion.cc:371: static void double_conversion::DoubleToStringConverter::DoubleToAscii(double, double_conversion::DoubleToStringConverter::DtoaMode, int, char *, int, bool *, int *, int *): Assertion `!Double(v).IsSpecial()' failed.

Thread 1 "lxqt-powermanag" received signal SIGABRT, Aborted.
0x0000007ff678e338 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x0000007ff678e338 in raise () from /lib64/libc.so.6
#1  0x0000007ff6774f9c in abort () from /lib64/libc.so.6
#2  0x0000007ff6782c9c in __assert_fail_base () from /lib64/libc.so.6
#3  0x0000007ff6782d00 in __assert_fail () from /lib64/libc.so.6
#4  0x0000007ff60bb3d4 in double_conversion::DoubleToStringConverter::DoubleToAscii(double, double_conversion::DoubleToStringConverter::DtoaMode, int, char*, int, bool*, int*, int*) () from /usr/lib64/libdouble-conversion.so.3
#5  0x0000007ff6e2fddc in ?? () from /usr/lib64/libQt5Core.so.5
#6  0x0000007ff70b53e8 in QTextStream::operator<<(double) () from /usr/lib64/libQt5Core.so.5
#7  0x00000000002145a0 in QDebug::operator<< (this=0x7fffffe780, t=nan(0x8000000000000))
    at /usr/include/qt5/QtCore/qdebug.h:158
#8  BatteryWatcher::batteryChanged (this=0x397330) at ../src/batterywatcher.cpp:99
#9  0x0000000000216b8c in PowerManagementd::settingsChanged (this=<optimized out>) at ../src/batterywatcher.cpp:71
#10 0x0000000000215c34 in PowerManagementd::PowerManagementd (this=0x7fffffe990) at ../src/powermanagementd.cpp:48
#11 main (argc=1, argv=<optimized out>) at ../src/main.cpp:60
(gdb) 

bt full

(gdb) bt full
#0  0x0000007ff678e338 in raise () from /lib64/libc.so.6
No symbol table info available.
#1  0x0000007ff6774f9c in abort () from /lib64/libc.so.6
No symbol table info available.
#2  0x0000007ff6782c9c in __assert_fail_base () from /lib64/libc.so.6
No symbol table info available.
#3  0x0000007ff6782d00 in __assert_fail () from /lib64/libc.so.6
No symbol table info available.
#4  0x0000007ff60bb3d4 in double_conversion::DoubleToStringConverter::DoubleToAscii (v=nan(0x8000000000000), 
    mode=<optimized out>, requested_digits=6, buffer=0x7fffffe578 "\240\361\377\367\177", buffer_length=8, 
    sign=0x0, length=0x7fffffe55c, point=0x7fffffe560)
    at /usr/src/debug/double-conversion-3.1.5-1.aarch64/double-conversion/double-conversion.cc:371
        vector = <optimized out>
        fast_worked = <optimized out>
        bignum_mode = <optimized out>
#5  0x0000007ff6e2fddc in ?? () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#6  0x0000007ff70b53e8 in QTextStream::operator<<(double) () from /usr/lib64/libQt5Core.so.5
No symbol table info available.
#7  0x00000000002145a0 in QDebug::operator<< (this=0x7fffffe780, t=nan(0x8000000000000))
    at /usr/include/qt5/QtCore/qdebug.h:158
No locals.
#8  BatteryWatcher::batteryChanged (this=0x396fb0) at ../src/batterywatcher.cpp:99
        actionTime = {mds = -1}
        notification = 0x0
        discharging = <optimized out>
        totalEnergyNow = <optimized out>
        totalEnergyFull = <optimized out>
        chargeLevel = nan(0x8000000000000)
        powerLowActionRequired = <optimized out>
#9  0x0000000000216b8c in PowerManagementd::settingsChanged (this=<optimized out>) at ../src/batterywatcher.cpp:71
No locals.
#10 0x0000000000215c34 in PowerManagementd::PowerManagementd (this=0x7fffffe990) at ../src/powermanagementd.cpp:48
No locals.
#11 main (argc=1, argv=<optimized out>) at ../src/main.cpp:60
        powerManagementd = {<QObject> = {<No data fields>}, static staticMetaObject = {d = {superdata = {
                direct = 0x220418 <QObject::staticMetaObject>}, 
              stringdata = 0x208308 <qt_meta_stringdata_PowerManagementd>, 
              data = 0x208398 <qt_meta_data_PowerManagementd>, 
              static_metacall = 0x210c84 <PowerManagementd::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, mBatterywatcherd = 0x0, mLidwatcherd = 0x0, 
          mIdlenesswatcherd = 0x0, mSettings = {<LXQt::Settings> = {<No data fields>}, static staticMetaObject = {
              d = {superdata = {direct = 0x220388 <LXQt::Settings::staticMetaObject>}, 
                stringdata = 0x207848 <qt_meta_stringdata_PowerManagementSettings>, 
                data = 0x207878 <qt_meta_data_PowerManagementSettings>, 
                static_metacall = 0x210194 <PowerManagementSettings::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}, mNotification = <incomplete type>}
        a = <incomplete type>
        parser = {d = 0x38ae60}
        VERINFO = {static null = {<No data fields>}, d = 0x20a800 <main::$_1::operator()() const::qstring_literal>}

[Feature Request] Disable idle watcher on AC only. Leave enabled on Battery.

Other power managers (Xfce) allow this.

Expected Behavior

Should be able to plain disable interfering with the monitor output on AC, while having it controlled on battery.

A second checkbox for Idle watcher on AC or Idle watcher on battery, not just separate timeouts within a far too restrictive range. Infinite screen blank timeout should be possible, at least on AC, while timeouts to save power are enabled on battery (Laptop or UPS).

Current Behavior

Currently you have to disable for both or neither. Assuming you're using SystemD otherwise you're SOL & idle watcher settings get completely ignored & short of bash scripts to disable power management of the monitor completely, which defeats the object of this app, you're basically screwed.

Desired Outcome

Have the screen remain ON (never blank) on AC, and dim, then power off on battery.
Currently that's not possible, even using the abortion that is SystemD.

Also unless Using SystemD you can't disable the damned idle-watcher AT ALL, it blanks the screen no matter what after the default timeout, regardless what timeout is configured under any other init...

System Information
  • Distribution & Version: Gentoo (current using openrc + elogind) Debian Stable, and Debian Sid (using sysvInit-core with or without OpenRC as service manager, Debian Stable using runit-init, Current Artix. (Yes I'm a distro-hopper, but less so a DE hopper, I actually LIKE LXQt, it's my second choice "DE" after the one offered bt BunsenLabs, and like many I DETEST SystemD, though using that hot-mess at least changing the timeout or pausing works)
  • Kernel: Varies
  • Qt Version: Varies
  • liblxqt Version: Varies
  • lxqt-build-tools Version: Varies
  • Package version: Varies.

Currently about the only "solution" I have is to use xfce4-power-manager in LXQt instead of the native application.. & I'd really prefer not to be using GTK thing in a Qt environment when avoidable. I'm not particularly happy at the prospect of pulling in 3/4 of KDE to use their Qt option (at the expense ~29.9 times the disk usage, I checked, & lord alone knows what extra resource consumption if I was fool enough to install that & all it's depends).

I fully expect this to get closed, or marked as invalid, because L. Poettering == some Deity.

Related issue: https://github.com/lxqt/lxqt-powermanagement/issues/230

[Feature Request] Add custom command to run before suspend

lxqt-config-powermanagement

lxqt

I set up auto-suspend when the laptop power level reaches a level. I'm using slock to lock the screen on demand and would like it to be run before the auto-suspend.

Can you add a box for putting a custom command before suspending?

Battery monitor settings disabled only on first run

At first login on a machine without battery a info is displayed: "Could not find any battery, battery monitor disabled" and it works.

But when checking later the corresponding box in lxqt-config-powermanagement the same message will show up immediately, but the checkbox will remain checked. At next login the same message will be showed again, until the user manually disables it.

Expected Behavior

According to the message, it should be disabled in the setting.

Current Behavior

It is always active

Possible Solution

Do not show any battery or lid related setting (or only greyed out) when no lid and/or no battery is present, as in #261

Steps to Reproduce (for bugs)
  1. On a PC Desktop or in Virtualbox activate battery monitor.
  2. A message will be displayed, saying it will be disabled.
  3. Control the settings, still active
  4. Restart session, again the message and no result.
System Information
  • Distribution & Version: latest git, all prior versions probably

Problem in updating tray icon

The tray icon may not be updated under special circumstances.

Steps to Reproduce (for bugs)
  1. Use a built-in icon in Power Manager Settings.
  2. Change it to the system theme icon.
  3. Change it again to the same built-in icon.

Then, the tray icon won't change — until it's updated when the battery charge changes or…

Possible Solution

I wanted to fix a high memory usage, when I realized that it also fixed this problem. It's about caching.

Context

This issue always existed. It isn't caused by the recent changes.

System Information
  • Latest git LXQt.

No notifications for low/critical battery

Expected Behavior

I'd like to receive a notification on low/critical battery. I tried looking at the docs and at the /etc/UPower config file, but I couldn't find anything about it.

Current Behavior

This is not happening at the moment. I have found this issue on the main lxqt repository, but I'm not sure whether it's current or not. The documentation does talk about notifications for missing battery, so it seems strange that they would still be missing for low/critical battery (also because I think I did receive some unrelated notification from powermanagement at some point). I'm sure I did no receive a notification about this as I checked the past notifications received.

If important, I am on a thinkpad with a double battery (one removable, one fixed). I am not sure whether this may affect the low/critical calculations.

Possible Solution
Steps to Reproduce (for bugs)

I just let my laptop discharge. I am opening this because just a moment ago I had reached 1% & 2% on both my batteries without noticing and not getting any warning.

Context

Notifications about low battery are fairly straightforward.

System Information
  • Distribution & Version: Lubuntu 24.04
  • Kernel: 5.15.0-117
  • LXQt Version | 1.4.0
  • Qt | 5.15.13
  • Build type | Release
  • liblxqt Version: liblxqt1 - 1.4.0-0ubuntu3
  • lxqt-build-tools Version: not installed?
  • Package version: lxqt-powermanagement - 1.4.0-0ubuntu5

Inappropriate baterry symbol names

lxqt-powermanagement

Current state:

Both "Circle" and "Battery with percentage, opaque" are "opaque", but only one of them has it in its name.
Furthermore, in this(lxqt/lxqt#2225) discussion it was stated that "opaque" is the wrong description anyway.

Current proposal:

Changing all symbol names to "... (with background)" or to "... (without background)".

Opinions are welcome.

[feautre request] Changing the color of the circle

So, I love this circle style, but green color doesn't really fit in my desktop style. How about adding a feature that let's the user pick colors? Btw., I took a fast look at the code, I can change and re-complie, yeah?

ask user to poweroff on power button press event

How do I config this behaviour - ask user to poweroff on power button press event.
Now if I accidentally press power button laptop immediately powers off.

~λ systemd-inhibit --list
WHO UID USER PID COMM WHAT WHY MODE
UPower 0 root 536 upowerd sleep Pause device polling delay
lxqt-powermanagment 1000 cypa 552 lxqt-powermanag handle-lid-switch LidWatcher is in da house! block

Not showing UPS as battery

Would is be possible to have lxqt powermanagement show my ups as a battery like it does in xfce, gnome and kde ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.