AUTOSUSPEND(1) | autosuspend | AUTOSUSPEND(1) |
autosuspend - autosuspend Documentation
autosuspend [options] daemon|presuspend [subcommand options]
autosuspend is a daemon that periodically suspends a system on inactivity and wakes it up again automatically in case it is needed. For this purpose, autosuspend periodically iterates a number of user-configurable activity checks, which indicate whether an activity on the host is currently present that should prevent the host from suspending. In case one of the checks indicates such activity, no action is taken and periodic checking continues. Otherwise, in case no activity can be detected, this state needs to be present for a specified amount of time before the host is suspended by autosuspend. In addition to the activity checks, wake up checks are used to determine planned future activities of the system (for instance, a TV recording or a periodic backup). In case such activities are known before suspending, autosuspend triggers a command to wake up the system automatically before the soonest activity.
If not specified via a command line argument, autosuspend looks for a default configuration at /etc/autosuspend.conf. autosuspend.conf(5) describes the configuration file, the available checks, and their configuration options.
General syntax:
Starts the continuously running daemon.
Should be called by the system before suspending.
No options
Please report bugs at the project repository at https://github.com/languitar/autosuspend.
Johannes Wienke
2022, Johannes Wienke
October 15, 2022 | 4.2 |