Package Details: threshy 0.3-1

Git Clone URL: https://aur.archlinux.org/threshy.git (read-only, click to copy)
Package Base: threshy
Description: ThinkPad battery threshold configuration using TLP and D-Bus
Upstream URL: https://gitlab.com/wincak/threshy
Licenses: GPL
Submitter: wincak
Maintainer: wincak
Last Packager: wincak
Votes: 7
Popularity: 0.000000
First Submitted: 2018-01-18 21:04 (UTC)
Last Updated: 2026-10-02 09:34 (UTC)

Latest Comments

szija commented on 2026-10-02 12:25 (UTC)

Thank you for the quick fix. I can now boot, but threshy crashes when attempting to run:

Hint: You are currently not seeing messages from other users and the system.
      Users in groups 'adm', 'systemd-journal', 'wheel' can see all messages.
      Pass -q to turn off this notice.
           PID: 18718 (threshy)
           TID: 18718 (threshy)
           UID: 1000 (szija)
           GID: 1000 (szija)
        Signal: 6 (ABRT) si_code: SI_TKILL
     Timestamp: Fri 2026-10-02 14:24:04 CEST (4s ago)
  Command Line: threshy
    Executable: /usr/bin/threshy
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.konsole-3962.scope/tab(3971).scope
          Unit: user@1000.service
     User Unit: app-org.kde.konsole-3962.scope
         Slice: user-1000.slice
     Owner UID: 1000 (szija)
       Boot ID: ec693bb33c5348a694299159dc9024e0
    Machine ID: a97bb8ac6f5b4197ad1d6d22f273d1d2
      Hostname: szalami
       Storage: /var/lib/systemd/coredump/core.threshy.1000.ec693bb33c5348a694299159dc9024e0.18718.1790943844000000.zst (present)
  Size on Disk: 173.1K
       Message: Process 18718 (threshy) of user 1000 dumped core.

                Stack trace of thread 18718:
                #0  0x00007f4acc49a11c n/a (libc.so.6 + 0x9a11c)
                #1  0x00007f4acc43e5d0 raise (libc.so.6 + 0x3e5d0)
                #2  0x00007f4acc425685 abort (libc.so.6 + 0x25685)
                #3  0x00007f4accc9846a _ZNK14QMessageLogger5fatalEPKcz (libQt5Core.so.5 + 0x9846a)
                #4  0x0000561f27c6b8d4 _ZN7ThreshyC4EP7QObject (threshy + 0x28d4)
                #5  0x00007f4acc427781 n/a (libc.so.6 + 0x27781)
                #6  0x00007f4acc4278b9 __libc_start_main (libc.so.6 + 0x278b9)
                #7  0x0000561f27c6b985 _start (threshy + 0x2985)

                Stack trace of thread 18719:
                #0  0x00007f4acc4a08f2 n/a (libc.so.6 + 0xa08f2)
                #1  0x00007f4acc5119d7 ppoll (libc.so.6 + 0x1119d7)
                #2  0x00007f4acbb00f59 n/a (libglib-2.0.so.0 + 0x63f59)
                #3  0x00007f4acbb01055 g_main_context_iteration (libglib-2.0.so.0 + 0x64055)
                #4  0x00007f4accf2dea9 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x32dea9)
                #5  0x00007f4acced60eb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2d60eb)
                #6  0x00007f4acccf77c9 _ZN7QThread4execEv (libQt5Core.so.5 + 0xf77c9)
                #7  0x00007f4acd221bfd n/a (libQt5DBus.so.5 + 0x17bfd)
                #8  0x00007f4acccf79be n/a (libQt5Core.so.5 + 0xf79be)
                #9  0x00007f4acc498042 n/a (libc.so.6 + 0x98042)
                #10 0x00007f4acc52072c n/a (libc.so.6 + 0x12072c)
                ELF object binary architecture: AMD x86-64

wincak commented on 2026-10-02 09:43 (UTC)

Ok I've merged a XML declaration fix that someone sent me (thanks!).

I can't test this properly because I don't use Arch anymore. Can someone verify that v0.3-1 works?

Also I bumped minimum required CMake version to something less ancient.

szija commented on 2026-10-01 10:46 (UTC)

This currently breaks loading of D-Bus System Message Bus, cascading into the entire system being unable to start.

okt 01 11:19:03 szalami systemd[1]: Starting D-Bus System Message Bus...
okt 01 11:19:03 szalami dbus-broker-launch[664]: Invalid XML in /etc/dbus-1/system.d/org.wincak.threshy.conf +1: XML declaration not well-formed
okt 01 11:19:03 szalami dbus-broker-launch[664]: ERROR run @ ../dbus-broker-37/src/launch/main.c +152: Return code 1
okt 01 11:19:03 szalami dbus-broker-launch[664]:       main @ ../dbus-broker-37/src/launch/main.c +178
okt 01 11:19:03 szalami dbus-broker-launch[664]: Exiting due to fatal error: -131
okt 01 11:19:03 szalami systemd[1]: dbus-broker.service: Main process exited, code=exited, status=1/FAILURE
okt 01 11:19:03 szalami systemd[1]: dbus-broker.service: Failed with result 'exit-code'.
okt 01 11:19:03 szalami systemd[1]: Failed to start D-Bus System Message Bus.

fijarom commented on 2025-10-08 16:58 (UTC)

TLP works completely fine for me to configure my ThinkPad's battery thresholds, I have a newer ThinkPad model if you think this might be any helpful about it.

wincak commented on 2025-04-03 13:10 (UTC)

Sorry guys, I won't be fixing Threshy anymore. If anyone wants to step up and fix/maintain it, I'll be happy to help.

escorares commented on 2025-04-03 12:51 (UTC)

Threshy is broken.

  1. For it to compile, you need to edit the pkgbuild, adding -DCMAKE_POLICY_VERSION_MINIMUM=3.5
  2. Attempting to run threshy results in the following:
$ sudo threshy
Failed to register service
zsh: IOT instruction (core dumped)  threshy

PhotonX commented on 2022-12-20 17:55 (UTC) (edited on 2022-12-20 17:55 (UTC) by PhotonX)

I think, it's not about the package name but rather about the version check which fails for some reason. I had this problem with other packages already, but never found a better solution than just removing the version check...

wincak commented on 2022-12-20 17:46 (UTC) (edited on 2022-12-20 17:46 (UTC) by wincak)

That's strange, dbus-x11 should provide "dbus". Even here in Threshy "Dependencies" dbus-x11 is listed.

However since I don't use Arch anymore I can only speculate. Looking at PKGBUILD docs in Wiki there doesn't seem to be a way for a package to depend on one OR other package.

As a hack you can (probably?) just delete this dependency from Threshy's PKGBUILD...

Any ideas what's really wrong here?

PhotonX commented on 2022-12-20 16:45 (UTC)

I'm trying to update

aur/dbus-x11 1.14.4-1 -> 1.15.0-2

and getting

installing dbus-x11 (1.15.0-2) breaks dependency 'dbus>=1.12' required by threshy