ypid.shutdown_if_battery_low default variables¶
-
shutdown_if_battery_low__limit_warn¶
When the battery capacity in percent is less then the following value,
write a log entry check interval (refer to shutdown_if_battery_low__sleep).
shutdown_if_battery_low__limit_warn: 60
-
shutdown_if_battery_low__limit_shutdown¶
When the battery capacity in percent is less then the following value, the system is going to shutdown.
shutdown_if_battery_low__limit_shutdown: 20
-
shutdown_if_battery_low__shutdown_command¶
Command to execute when battery capacity in percent <= shutdown_if_battery_low__limit_shutdown.
shutdown_if_battery_low__shutdown_command: 'shutdown --poweroff +5'
-
shutdown_if_battery_low__sleep¶
Check interval/sleep time between check.
shutdown_if_battery_low__sleep: '6m'
-
shutdown_if_battery_low__script_filepath¶
File path where the main script will be copied to on the remote system.
shutdown_if_battery_low__script_filepath: '/usr/local/bin/shutdown_if_battery_low.sh'
-
shutdown_if_battery_low__environment_filepath¶
File path where the configuration variables are saved on the remote system.
shutdown_if_battery_low__environment_filepath: '/etc/default/shutdown_if_battery_low'