From 60ced6c823c71ec302247a4bb0ee6efe114d8601 Mon Sep 17 00:00:00 2001 From: Mystro256 Date: Fri, 7 Jan 2022 12:26:16 -0500 Subject: [PATCH] Fixes based on upstream feedback --- 50-tlp.preset | 1 - tlp.spec | 34 +++++++++++++++++----------------- 2 files changed, 17 insertions(+), 18 deletions(-) diff --git a/50-tlp.preset b/50-tlp.preset index 88e3b1f..11b5fb6 100644 --- a/50-tlp.preset +++ b/50-tlp.preset @@ -1,3 +1,2 @@ enable tlp.service -enable tlp-sleep.service diff --git a/tlp.spec b/tlp.spec index 9a5373c..f9b245a 100644 --- a/tlp.spec +++ b/tlp.spec @@ -2,9 +2,9 @@ Name: tlp Version: 1.4.0 Release: 2%{?dist} -Summary: Advanced power management tool for Linux +Summary: Optimize laptop battery life License: GPLv2+ -URL: http://linrunner.de/en/tlp/tlp.html +URL: https://linrunner.de/tlp Source0: https://github.com/linrunner/TLP/archive/%{gittag}.tar.gz#/%{name}-%{gittag}.tar.gz #Provided by Andreas Roederer : Source1: 50-tlp.preset @@ -31,32 +31,32 @@ Conflicts: %{_sbindir}/laptop_mode BuildArch: noarch %description -TLP is an advanced power management tool for Linux. It comes with a -default configuration already optimized for battery life. At the same -time it is highly customizable to fulfill specific user requirements. +TLP is a feature-rich command-line utility, saving laptop battery power +without the need to delve deeper into technical details. -TLP supplies separate settings profiles for AC and battery power and can -enable or disable Bluetooth, WiFi and WWAN radio devices upon system start-up. +TLP’s default settings are already optimized for battery life and implement +Powertop’s recommendations out of the box. Moreover TLP is highly +customizable to fulfil specific user requirements. -For ThinkPads it provides a unified way to configure charging thresholds and -re-calibrate the battery for all models which support it (via tp-smapi or -acpi-call). +Settings are organized into two profiles, allowing to adjust between +savings and performance independently for battery (BAT) and AC operation. +In addition TLP can enable or disable Bluetooth, NFC, Wi-Fi and WWAN radio +devices on boot. -TLP is a pure command line tool with automated background tasks, it -does not contain a GUI. +For ThinkPads and selected other laptops it provides a unified way +to configure charge thresholds and recalibrate the battery. %package rdw -Summary: Radio Device Wizard for TLP +Summary: Radio device wizard for TLP Requires: NetworkManager >= 1.20 Requires: %{name} = %{version}-%{release} BuildArch: noarch %description rdw Radio device wizard is an add-on to TLP. It provides event based -switching of: - - Bluetooth, WiFi, WWAN radio devices - - upon network connect/disconnect - - and dock/undock +switching of bluetooth, NFC, Wi-Fi and WWAN radio devices on: + - network connect/disconnect + - dock/undock %prep %autosetup -n TLP-%{gittag}