Laptop Mode Tools Changelog

New in version 1.68.1

September 27th, 2015
  • Update details about runtime-pm in manpage
  • Revert "Drop out reload"
  • Log error more descriptively
  • Write to common stderr. Do not hardcode a specific one
  • Call lmt-udev in lmt-poll. Don't call the laptop_mode binary directly.
  • Helps in a lot of housekeeping
  • Direct stderr/stdout to journal
  • Fix stdout descriptor
  • Install the new .timer and poll service
  • Use _sbindir for RPM

New in version 1.68 (August 27th, 2015)

  • Fix all instances for BATTERY_LEVEL_POLLING
  • Group kill the polling daemon so that its child process get the same signal
  • Release the descriptor explicitly
  • Add identifier about who's our parent
  • Narrow down our power_supply subsystem event check condition
  • Fine tune the .service file
  • On my ultrabook, AC as reported as ACAD
  • Enhance lmt-udev to better work with systemd
  • Add a timer based polling for LMT. It is the equivalent of battery-polling-daemon, using systemd
  • Disable battery level polling by default, because most systems will have systemd running

New in version 1.67 (July 7th, 2015)

  • Relax minimum window size to accomodate low res screens
  • Fix variable name to comply with our "constants" assuptions
  • Get more aggressive in power saving for Intel HD Audio
  • Account Device Mapper devices
  • Add swsusp freeze support
  • Switch battery-level-polling default to True
  • Detect ethernet carrier, early and relibaly
  • cchanges the boolean setting *_ACTIVATE_SATA_POWER to a customizable
  • SATA_POLICY, with backward-compatible defaults and documentation

New in version 1.64 (September 10th, 2013)

  • Don't touch USB Controller power settings. The individual devices, when plugged in, while on battery, inherit the power settings from the USB controller
  • start-stop-programs: add support for systemd. Thanks to Alexander Mezin
  • Replace hardcoded path to udevadm with "which udevadm". Thanks to Alexander Mezin
  • Honor .conf files only. Thanks to Sven K√∂hler
  • Make '/usr/lib' path configurable. This is especially useful for systems that use /usr/lib64, or /lib64 directly. Thanks to Nicolas Braud-Santoni
  • Don't call killall with the -g argument. Thanks to Murray Campbell
  • Fix RPM Spec file build errors

New in version 1.63 (March 23rd, 2013)

  • This release adds a new module for PCIe ASPM. It also includes some important bug fixes.
  • Some changes have been added to accommodate Flash / NAND devices.
  • There's also a new setting parameter to disable battery alarm level check, in case you have a broken battery.

New in version 1.62 (October 30th, 2012)

  • Add systemd support
  • Be specific on what file systems we want to handle. Given the wide range of file systems Linux has, we don't want to consider them all as not all of them fall under the power saving scenarios.
  • Factor out some common code
  • Do not touch autonegotiation settings. Fiddling with auto-negotiation settings can cause more problems and the standards expect them to be always on
  • Trim mount point display
  • Organize state/STATE tracking so that we get actual results.
  • cleaner output when asking status. Thanks Jasmine Hassan
  • Append to stdout/stderr to avoid truncating file logs
  • Fix spec file for RPM syntax

New in version 1.61 (May 17th, 2012)

  • Handle devices with persistent device naming. This fixes the issues where you don't have a disk referenced by a block name, the commit= value was completely skipped
  • Fix issue where hdparm skips SSDs for power management
  • Add parallel execution for the modules. In theory this should speeden up the execution. See git commit log comments for details
  • Add support for non-deafult customized settings
  • calculate design_capacity_warning on machines/arches where it is not readily available

New in version 1.60 (October 14th, 2011)

  • Use proper device reference for iwconfig (Debian BTS: #639388)
  • Check for block device's existence. Thanks to Simon Que
  • Add suspend/resume helper tools: pm-helper, pm-suspend, pm-hibernate
  • What laptop-mode-tools is stopped from init, also kill polling daemon
  • Reliable and much better locking mechanics
  • Make polling dameon lock safe
  • Make lmt-udev distro neutral. Thanks to Simon Que
  • Change Intel HDA Audio's default power save timeout to 2 seconds

New in version 1.59 (August 8th, 2011)

  • really don't call batt-poll-daemon inside from the flock instance
  • USB auto-suspend whitelist
  • Add myself as the maintainer
  • Don't call true which forks a subshell
  • Use exit instead of return
  • Check for files instead of kernel version numbers.

New in version 1.58 (July 25th, 2011)

  • Initialize the PATH variable within us. This helps when our caller did not have a proper environment
  • Enable new in-kernel polling mechanism for block devices
  • Check for kernel's native suspend functionality
  • Support execution of complex commands. Thanks to Changaco for the patch
  • Add new module nmi-watchdog to handle NMI Watchdog related power savings. Thanks to Quentin Denis for the report
  • Fix error messages during early boot if /usr is on a different partition
  • Add support for new Linux 3.x kernels
  • Fix locking problems when battery polling daemon is enabled

New in version 1.57 (February 28th, 2011)

  • Pass calling application's arguments to the main function. Thanks to Radek for the report and the patch
  • Use governor policy from the config file. Thanks to Michael Orlov for the report.

New in version 1.56 (February 15th, 2011)

  • New Features and many Bug Fixes. With this release laptop-mode-tools also acts on events generated by the kernel. This allows easier trigger of laptop-mode-tools without dependence on helper tools like acpid/pm-utils. The acpid/pm-utils hooks are still shipped for compatibility.
  • Enable ENABLE_AUTO_MODULES by default. When a user installs the package, the first immediate expectation is to see some changes
  • USB suspend interface has changed with kernels 2.6.35 and above. (Debian BTS: #589000)
  • Add support for Linux Runtime Power Management (Debian BTS: #592661)
  • On many other distributions, wireless-tools packages is still old and does not return proper exit status on failures. Thanks to Luca Landolfi for the patch.
  • Add support to blacklist USB Devices by types. Thanks to Simon Que for the patch
  • Re-initialize dev_path before the next iteration. Thanks to Faustus for the bug report and the patch (LP: #662924)
  • ENABLE_LAPTOP_MODE_TOOLS was ignore because of wrong check. Thanks to Matus Harvan for reporting this. (Debian BTS: #602278)
  • Add support to invoke laptop-mode-tools with hotplug events. This currently only has support for the usb-autosuspend module. Thanks to Simon Que for the patch
  • Add locking support using flock. (Debian BTS: #566613)
  • Add 99-laptop-mode.rules to trap multiple kernel events

New in version 1.54 (March 10th, 2010)

  • Fix wireless-iwl module. Activation of power saving using iwconfig was never done. Thanks to Sergio Cambra for the report
  • Handle new generic interface for ignore_nice_load. The new sysfs interface is no more core specific. Thanks to Roman v. Gemmeren for reporting it
  • Add a new "exec-commands" module. With this module, users can add custom commands specific to their requirements.
  • Document cpufreq frequency behavior about older P4 processors and set the default to 0
  • ThinkPads running with thinkpad_acpi driver have a simpler interface for bluetooth and video. Currently utilizing the bluetooth interface
  • Don't log VERBOSE messages to syslog unless VERBOSE_OUTPUT=1

New in version 1.53 (January 4th, 2010)

  • In the release we include a new setting, ENABLE_AUTO_MODULES. Laptop Mode Tools now has a list of white-listed power saving modules which can be enabled by just enabling the above setting. This should help novice users attain power efficiency with minimal customization.

New in version 1.52 (October 8th, 2009)

  • Initialize DEBUG to 0 by default. THanks to Matthijs Kooijman for pointing it out.
  • Add an option to completely disable ethernet devices when on battery.
  • Introduce hooks to enable debug mode for individual modules
  • Use iwconfig to determine device type for iwlwifi devices also
  • Collect the correct exit code for iwconfig execution.
  • Use iwconfig in wireless-iwl-power. Thanks to Darren Hoo for spotting it
  • Handle spaces in mount point names. Thanks to Louis Simard for the patch
  • Clarify about Global Debug mode and Module Specific Debug mode.
  • Fix incorrect variable reference in video-out module. Thanks to Hans Werner for noticing that.

New in version 1.51 (September 2nd, 2009)

  • Bugfixes, additions, and feature enhancements.

New in version 1.50 (July 28th, 2009)

  • Ship pm-utils hooks in /usr/lib/ and not in /etc/pm/ Distributions will always want to have customized settings in /etc and default upstream settings in /usr/lib. See LP: #384875
  • Fix incorrect explanation of Intel HDA Power Savings. See Debian BTS: #532733
  • Don't clutter screen with print messages.
  • Add patch from Mulyadi Santosa that adds ability to lm-profiler to show read/write frequency of each collected program. Thank you.
  • Enhance usb-autosuspend module to be executed under conditions. Also explain the weirdness of broken usb drivers. Fixes Debian Bug #535051
  • Do the test comparision of integeres using string operators. Fixes Debian Bug #535650
  • Run pidof with the -x Script Mode switch. Thanks Matthijs Kooijman
  • Disconnect descriptors when backgrounding a script. Thanks Matthijs Kooijman
  • Add option to run in shell debug mode
  • Add a spec file to generate an RPM package. Thanks to Nikolay Botev

New in version 1.49 (June 6th, 2009)

  • Update runlevel priority to 99. This is require to ensure that we start after hald. See LP #369807
  • Reload acpid on restart. Thanks Wido.
  • Handle all power management daemons (apmd,pbbuttonsd,pmud)
  • Allow custom timeout values to be set for Intel HDA Cards
  • Handle Intel HDA powersaving in multiple modes
  • Add syslog logging functionality. Fixes LP #370005
  • Fix shell syntax error in laptop_mode. Fixes Debian Bug #528835
  • Add check with iwconfig when determining a ipw* based wirelss device. Fixes: LP #369113
  • Explicitly commit messages to stdout/stderr. This way, user can filter irrelevant messages.

New in version 1.46 (January 26th, 2009)

  • This release has support for USB autosuspend, iwlagn wireless power management, Intel HDA audio power saving, and pm-utils integration.
  • It adds a new polling mode for batteries that don't send ACPI events.