This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| for i in 95hdparm-apm disable_wol hal-cd-polling intel-audio-powersave harddrive \ | |
| laptop-mode journal-commit pci_devices pcie_aspm readahead sata_alpm \ | |
| sched-powersave usb_bluetooth wireless xfs_buffer; do | |
| touch /etc/pm/power.d/$i | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 234dbcfa353de7d8bca9f5c9dec6ce9c196faec7 Mon Sep 17 00:00:00 2001 | |
| From: Thomas Koch <linrunner@gmx.net> | |
| Date: Thu, 26 Jul 2018 07:01:01 +0200 | |
| Subject: [PATCH] thinkpad_acpi: use BDSS to set force_discharge | |
| PSBS won't work on all (relevant) ThinkPads, so mimic tpacpi-bat | |
| with BDSS. | |
| Signed-off-by: Thomas Koch <linrunner@gmx.net> | |
| --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| readonly RE_TPACPI_ONLY='^(11e|13.*|(Edge )?E[1345][234567][05][ps]?|Helix.*|L[45][34567]0|P[75][01][s]?|S2|(Edge )?S[245][345][01]*|T[45][34567][01][psu]?|W5[345][01][s]?|X1 Carbon.*|X2[34567]0[s]?( Tablet)?|.*Yoga.*)$' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Name: tlp | |
| Version: 1.1.909 | |
| Release: 1%{?dist} | |
| Summary: Advanced power management tool for Linux | |
| License: GPLv2+ | |
| URL: http://linrunner.de/en/tlp/tlp.html | |
| Source0: https://github.com/linrunner/TLP/archive/%{version}.tar.gz | |
| #Provided by Andreas Roederer <tlp~at~warpnine~dot~de>: | |
| Source1: 50-tlp.preset |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Name: tlp | |
| Version: 1.2.2 | |
| Release: 2%{?dist} | |
| Summary: Advanced power management tool for Linux | |
| License: GPLv2+ | |
| URL: http://linrunner.de/en/tlp/tlp.html | |
| Source0: https://github.com/linrunner/TLP/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz | |
| #Provided by Andreas Roederer <tlp~at~warpnine~dot~de>: | |
| Source1: 50-tlp.preset |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- TLP 1.3.0-beta.3 -------------------------------------------- | |
| +++ Configured Settings: | |
| defaults.conf L0004: TLP_ENABLE="1" | |
| defaults.conf L0005: TLP_PERSISTENT_DEFAULT="0" | |
| defaults.conf L0006: DISK_IDLE_SECS_ON_AC="0" | |
| defaults.conf L0007: DISK_IDLE_SECS_ON_BAT="2" | |
| defaults.conf L0008: MAX_LOST_WORK_SECS_ON_AC="15" | |
| defaults.conf L0009: MAX_LOST_WORK_SECS_ON_BAT="60" | |
| defaults.conf L0010: CPU_ENERGY_PERF_POLICY_ON_AC="balance_performance" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 94061c3b9681fb57d62e87c02787f9c158721905 Mon Sep 17 00:00:00 2001 | |
| From: Thomas Koch <linrunner@gmx.net> | |
| Date: Fri, 26 Jun 2020 09:20:29 +0200 | |
| Subject: [PATCH 1/3] thinkpad_acpi: add support for force_discharge | |
| Lenovo ThinkPad systems have a feature that lets you | |
| force the battery to discharge when AC is attached. | |
| This patch implements that feature and exposes it via the generic | |
| ACPI battery driver in the generic location: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From ca9de2cf93e89bdfc9d9634e141739691be63fb7 Mon Sep 17 00:00:00 2001 | |
| From: Thomas Koch <linrunner@gmx.net> | |
| Date: Fri, 26 Jun 2020 09:25:34 +0200 | |
| Subject: [PATCH 2/3] thinkpad_acpi: add support for inhibit_charge | |
| Lenovo ThinkPad systems support to hold battery charging | |
| via a manual override called Inhibit Charge. | |
| This patch implements that feature and exposes it via the generic | |
| ACPI battery driver in the generic location: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From d61611e7aaf746760797907ab06bf20305f1c874 Mon Sep 17 00:00:00 2001 | |
| From: Thomas Koch <linrunner@gmx.net> | |
| Date: Thu, 25 Jun 2020 17:08:57 +0200 | |
| Subject: [PATCH 3/3] thinkpad_acpi: document force_discharge and | |
| inhibit_charge | |
| Describe the additional sysfs attributes for | |
| forced discharging and charge inhibiting. | |
| Improve description of charge_control_{start,end}_threshold. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ================== | |
| amd_pstate=passive | |
| +++ System Info | |
| System = LENOVO ThinkPad P14s Gen 2a 21A0007PGE | |
| BIOS = R1MET51W (1.21 ) | |
| EC Firmware = 1.21 | |
| OS Release = Arch Linux | |
| Kernel = 6.0.12-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 08 Dec 2022 11:03:38 +0000 x86_64 | |
| /proc/cmdline = BOOT_IMAGE=/vmlinuz-linux root=UUID=83c1e7b3-749f-4003-b11d-93878f835d3b rw rootflags=subvol=@ cryptdevice=UUID=3458aa3e-b269-45db-b4e6-f49d38878bb4:juli_crypt:allow-discards loglevel=3 quiet amd_pstate=passive btusb.enable_autosuspend=0 |
OlderNewer