Commit graph

337 commits

Author SHA1 Message Date
Evan Gates af3ff45b00 Note thermald may be required on some platforms 2024-12-23 09:51:28 -07:00
Francesco Palmarini ba64023235
Merge pull request #364 from amolinae06/alpn-pkg
add alpine linux package to README
2024-11-06 17:48:43 +01:00
Francesco Palmarini 94cec8be19
Merge pull request #357 from voidanix/py313
Bump dependencies
2024-11-06 17:48:02 +01:00
amolinae 15ecc4e914 add alpine linux package to README 2024-10-24 08:33:13 -06:00
Francesco Palmarini 696da9f650
Merge pull request #363 from jcarrano/upower-batt-detection
Query UPower's OnBattery property directly.
2024-10-23 07:01:13 +02:00
Juan I Carrano aca334a88b Query UPower's OnBattery property directly.
On some systems, the name of the battery or the adapter may be different. The code assumes
the adapter is called "line_power_AC" and the battery "BAT0" but in my system both are different.

UPower has the OnBattery property which we can query and this is more robust. Additionally, we
can do it directly throuth the dbus API without invoking a sub-process.
2024-10-17 23:20:30 +02:00
Francesco Palmarini 174d6f8cdc
Add more supported architectures 2024-09-08 16:28:24 +02:00
voidanix e7e069e31e
Bump dependencies
Fixes building with Python 3.13 distros
2024-07-26 12:45:53 +02:00
Francesco Palmarini 06a1db99ae
Add RaptorLake U SKU 2024-07-24 08:11:53 +02:00
Francesco Palmarini 596ad496e8
Merge pull request #342 from yuri1969/gentoo-fix
Improve Gentoo systemd README description
2023-12-19 14:35:16 +01:00
yuri1969 5362a45477
Improve Gentoo systemd description 2023-12-14 23:42:16 +01:00
Francesco Palmarini 0b85b38bb4
Update README.md 2023-10-18 08:19:47 +02:00
Francesco Palmarini e3d5ffd24c
Update README.md 2023-10-18 08:18:22 +02:00
Francesco Palmarini 98c10d5bb5
Merge pull request #321 from ckcr4lyf/patch/x390
Document support for X390
2023-10-18 08:12:37 +02:00
Francesco Palmarini c7c35885fe
Merge pull request #336 from gdesmott/silverblue
README: document how to install on Fedora Silverblue
2023-10-18 08:12:17 +02:00
Guillaume Desmottes b448e4bc25 README: document how to install on Fedora Silverblue 2023-07-14 21:59:00 +02:00
Raghu Saxena 94d58e36a5 Document support for X390 2022-12-01 16:45:19 +08:00
Francesco Palmarini 1dd726672f
Update README.md 2022-08-08 08:46:43 +02:00
Francesco Palmarini 77eb1ac080
Merge pull request #310 from lakotamm/patch-2
Adding Alder Lake -U -S and Tiger Lake as supported
2022-08-06 16:45:20 +02:00
lakotamm 4cbf36b2c1
Renamed Tiger Lake-H 2022-08-06 13:16:14 +02:00
lakotamm cf765c5c99
Added support for i7-1195G7 2022-08-06 13:05:37 +02:00
lakotamm ccc25f0371
Set default MCHBAR for more CPU families
Added MCHBAR_BASE 0xFEDC0001 as default for Alder Lake -HX, S and Tiger Lake
2022-08-06 12:01:02 +02:00
lakotamm 19a1d1ca41
Added Inspiron 16 Plus 7620 as tested hardware 2022-08-06 11:55:35 +02:00
lakotamm b14295910b
Adding Alder Lake -U + 6 core -S as supported
As specified in the Intel 12th gen spec sheet, page 7:
https://cdrdv2.intel.com/v1/dl/getContent/682436
2022-08-06 11:34:52 +02:00
erpalma cc5948b6f4 add support for Alder Lake + dyanamic MCHBAR base address 2022-08-05 17:01:09 +02:00
erpalma aac6bb016c bump requirement versions 2022-08-05 17:00:37 +02:00
Francesco Palmarini ab9641a93a
Merge pull request #304 from DL4AX/patch-1
Update README.md
2022-06-30 22:32:39 +02:00
Alexander Heinke 5820c587fb
Update README.md
Add ZBook Firefly 15 G7 as tested hardware
2022-06-08 13:40:08 +02:00
erpalma fb788f9005 Upower now also reports "pending-charge", fixes #303 2022-06-03 08:16:53 +02:00
Francesco Palmarini 970001ec38
Merge pull request #298 from Troyhy/update-readme-for-ubuntu-install
Add python3-cairo-dev as requirement for ubuntu (21.10)
2022-03-13 15:39:06 +01:00
Toni Röyhy 038b8171e7
Add python3-cairo-dev as requirement for ubuntu (21.10)
Adds missing requirement to  run `sudo ./throttled/install.sh successfully.`
2022-03-11 17:08:36 +02:00
Francesco Palmarini 4b076e1496
Merge pull request #292 from tejaskale/master
Print total power in monitor mode.
2022-02-08 19:39:57 +01:00
Francesco Palmarini 581038c452
Merge pull request #294 from Connor-Frank/patch-1
compatability with non-bash /bin/sh symlinks
2022-02-03 15:15:14 +01:00
Connor Frank ed5bf8cd90
compatability with non-bash /bin/sh symlinks
This fixes a problem with my recent commit. I used `[ "$INIT" == "systemd" ]` (and similar), which works in bash, but not in `/usr/bin/sh`. I changed it to `[ "$INIT" = "systemd" ]` (and similar) to correct this issue.
2022-01-31 13:39:33 +00:00
Francesco Palmarini 5676fb989e
Merge pull request #281 from Connor-Frank/patch-1
openrc fix
2022-01-31 09:08:07 +01:00
Connor Frank 883b20ec79 accurately identify systemd, runit, and openrc 2022-01-30 22:11:09 -05:00
Connor Frank c914897d3d
Merge branch 'erpalma:master' into patch-1 2022-01-31 02:46:54 +00:00
Tejas Kale c7e0e3a9c3 Print total power in monitor mode. 2022-01-18 14:38:36 +01:00
Francesco Palmarini 21c5eefaca
Merge pull request #288 from g3n35i5/bugfix/renaming_tool_archlinux
Performing renaming from `lenovo_fix` to `throttled` on ArchLinux.
2022-01-02 09:31:52 +01:00
Francesco Palmarini 272ad5668c
Update README.md 2022-01-02 09:31:01 +01:00
g3n35i5 90cdcaa2d4 Performing renaming from lenovo_fix to throttled on ArchLinux.
This resolves #287
2021-12-31 09:31:48 +01:00
Connor Frank b0706c58f0
openrc fix
This maintains consistency with the install.sh script by using the virtualenv that the script sets up. The original version was using a different interpreter and complained about missing imports. Additionally, the new shebang now points to the correct openrc-run executable. These were the only changes needed for this script to work on Gentoo.
2021-12-11 23:52:08 -05:00
Francesco Palmarini 6cb79fce7a
Merge pull request #280 from LaQuay/patch-1
Update README.md
2021-11-27 10:40:27 +01:00
Marc Vila 95d790ebe8
Update README.md 2021-11-26 11:42:19 +01:00
Francesco Palmarini cccc53e0fb
Merge pull request #276 from juuuuuu/replace-legacy-readme
Replace lenovo_fix by throttled in README.md
2021-11-09 13:52:18 +01:00
Julien Manganne d9c125a561
Add a command to check service status in README.md 2021-11-08 13:13:24 +01:00
Julien Manganne d0ad23a1ad
Replace lenovo_fix by throttled in README.md
Replace the legacy name by the new one.
2021-11-08 12:40:09 +01:00
Francesco Palmarini d029961370
Update install.sh 2021-11-06 12:24:37 +01:00
Francesco Palmarini de9ca345b1
Merge pull request #274 from LordGaav/feature/support-tigerlake-mobile
Support Tiger Lake mobile CPU
2021-11-06 12:23:51 +01:00
Nick Douma 21e842cefc Add CPUID for Tiger Lake CPU in Dell Latitude 5421
Identified in /proc/cpuinfo as:

11th Gen Intel(R) Core(TM) i7-11850H
2021-11-05 13:28:47 +01:00