/etc/laptop-mode/conf.d/auto-hibernate.conf is in laptop-mode-tools 1.71-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | #
# Configuration file for Laptop Mode Tools module auto-hibernate.
#
# For more information, consult the laptop-mode.conf(8) manual page.
#
###############################################################################
# Auto-hibernation settings
# -------------------------
#
#__COMMENT Using these settings, you can make laptop mode tools automatically put your
#__COMMENT computer into hibernation when the battery level goes critically low.
#__COMMENT
#__COMMENT This feature only works on ACPI, and only works on computers whose batteries
#__COMMENT give off battery events often enough.
#__COMMENT
#__COMMENT NOTE: If your battery does NOT give off battery events often enough, you can
#__COMMENT enable the battery-level-polling module to make this work after all. See
#__COMMENT battery-level-polling.conf for more information.
#__COMMENT
#__COMMENT
#__COMMENT IMPORTANT: In versions 1.36 and earlier, these settings were included in the
#__COMMENT main laptop-mode.conf configuration file. If they are still present, they
#__COMMENT overrule the settings in this file. To fix this, simply delete the settings
#__COMMENT from the main config file.
#
###############################################################################
# Enable debug mode for this module
# Set to 1 if you want to debug this module
DEBUG=0
#
# Should laptop mode tools perform auto-hibernation?
#
ENABLE_AUTO_HIBERNATION=0
#
# The hibernation command that is to be executed when auto-hibernation
# is triggered.
#
HIBERNATE_COMMAND=/usr/share/laptop-mode-tools/module-helpers/pm-hibernate
#
# Auto-hibernation battery level threshold, in percentage of the battery's
# total design capacity.
#
AUTO_HIBERNATION_BATTERY_CHARGE_PERCENT=4
#
# Enable this to auto-hibernate if the battery reports that its level is
# "critical".
#
AUTO_HIBERNATION_ON_CRITICAL_BATTERY_LEVEL=1
|