/usr/share/laptop-mode-tools/module-helpers/lm-polling-daemon is in laptop-mode-tools 1.66-2.
This file is owned by root:root, with mode 0o755.
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 | #!/bin/sh
#
# This is the laptop mode tools polling daemon. It is used by the module
# battery-level-polling to periodically let laptop mode tools run and check
# the battery levels.
# Poll every 2.5 minutes. That ought to give a good balance between
# polling too often (which costs power) and polling too little (which
# risks data loss).
INTERVAL=150
while :; do
sleep $INTERVAL
/usr/sbin/laptop_mode auto
done
|