Advanced Power Management for Linux
linrunner Issue #356: fix writing sequence for start/stop charge thresholds
Problem: when the new start threshold is above the old stop
threshold, then writing the new stop threshold - while the old
stop threshold is still effective - will fail because of
natacpi's boundary condition start <= stop.

Solution: determine the proper write sequence beforehand:
* when new start > old stop - 4: write new stop, new start
* else: write new start, new stop

Reference:
* #356
Latest commit b6dac68 Oct 3, 2018
Permalink
Failed to load latest commit information.
.github GitHub: add Code of Conduct Dec 14, 2017
man tlp bat/ac: keep manual power settings until tlp start (Issue #348). Jul 29, 2018
AUTHORS AUTHORS: refer to contributor list on GitHub. Feb 27, 2018
COPYING Copyright (c) --> 2018. Dec 19, 2017
LICENSE GPL v2 license file May 30, 2011
Makefile Remove all pm-utils scripts (Issue #363). Sep 17, 2018
README README: sync with web docs. Jan 25, 2018
changelog Issue #356: fix writing sequence for start/stop charge thresholds Oct 4, 2018
de.linrunner.tlp.metainfo.xml Add AppStream metadata Aug 22, 2017
default natacpi: make all battery feature drivers switchable. Jun 15, 2018
tlp-functions.in Issue #356: fix writing sequence for start/stop charge thresholds Oct 4, 2018
tlp-pcilist Copyright (c) --> 2018. Dec 19, 2017
tlp-rdw-nm.in CQM: implement André's review results (05.01.2018). Jan 9, 2018
tlp-rdw-udev.in tlp bat/ac: keep manual power settings until tlp start (Issue #348). Jul 29, 2018
tlp-rdw.rules.in Copyright (c) --> 2018. Dec 19, 2017
tlp-rf-func changelog. Jul 29, 2018
tlp-rf.in Copyright (c) --> 2018. Dec 19, 2017
tlp-run-on.in Copyright (c) --> 2018. Dec 19, 2017
tlp-sleep.service.in Copyright (c) --> 2018. Dec 19, 2017
tlp-stat.in tlp auto: fix manual mode. Oct 2, 2018
tlp-usb-udev.in Copyright (c) --> 2018. Dec 19, 2017
tlp-usblist Copyright (c) --> 2018. Dec 19, 2017
tlp.bash_completion tlp-stat --psup: show ASLbase for tpacpi-bat (in device/path). Dec 11, 2017
tlp.in Issue #356: fix writing sequence for start/stop charge thresholds Oct 4, 2018
tlp.init Copyright (c) --> 2018. Dec 19, 2017
tlp.rules.in Copyright (c) --> 2018. Dec 19, 2017
tlp.service.in Copyright (c) --> 2018. Dec 19, 2017
tlp.upstart.in Copyright (c) --> 2018. Dec 19, 2017
tpacpi-bat tpacpi-bat: new upstream version Jan 12, 2018

README

TLP README - 25.01.2018

TLP brings you the benefits of advanced power management for Linux without the need
to understand every technical detail. TLP comes with a default configuration already
optimized for battery life, so you may just install and forget it. Nevertheless TLP
is highly customizable to fulfil your specific requirements.

TLP is a pure command line tool with automated background tasks. It does not contain a GUI.

Separate settings profiles depending on the power source AC/battery:
- Kernel laptop mode and dirty buffer params
- Processor frequency scaling including "turbo boost" / "turbo core"
- Limit max/min P-state to control power dissipation of the CPU - intel_pstate only
- HWP energy performance hints
- Power aware process scheduler for multi-core/hyper-threading
- Processor performance versus energy savings policy (x86_energy_perf_policy)
- Hard disk advanced power magement level (APM) and spin down timeout (per disk)
- AHCI link power management (ALPM) with device blacklist
- AHCI runtime power management for host controllers and disks *EXPERIMENTAL*
- PCIe active state power management (PCIe ASPM)
- Runtime power management for PCI(e) bus devices
- Radeon graphics power management (KMS and DPM)
- Wifi power saving mode
- Enable/disable integrated radio devices (excluding connected devices)
- Power off optical drive in UltraBay/MediaBay
- Audio power saving mode

Additional functions:
- I/O scheduler (per disk)
- USB autosuspend with device blacklist/whitelist (input devices excluded automatically)
- Enable or disable integrated radio devices upon system startup and shutdown
- Restore radio device state on system startup (from previous shutdown)
- Radio device wizard: switch radios upon network connect/disconnect and dock/undock
- Disable Wake On LAN
- Integrated WWAN and bluetooth state is restored after suspend/hibernate
- Untervolting of Intel processors - requires kernel with PHC-Patch
- Battery charge thresholds - ThinkPads only
- Recalibrate battery - ThinkPads only

All TLP settings are stored in /etc/default/tlp. The default configuration
provides optimized power saving out of the box.

Read the the full documentation at:
- http://linrunner.de/tlp

Or take a look at the manpages:
- tlp
- tlp-stat (display tlp status and active settings)
- wifi, bluetooth, wwan (switch wireless devices on/off)
- run-on-ac, run-on-bat