|
|
|
@ -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 <tlp~at~warpnine~dot~de>:
|
|
|
|
|
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}
|
|
|
|
|