Files
a13labs.infra/ansible/roles/auto_suspend/defaults/main.yml
T
alexandre.pires 98b0f215aa Add fixtures and unit tests for auto suspend functionality
- Introduced fixture files for AMD and NVIDIA GPU monitoring outputs, CPU usage statistics, and user sessions.
- Created a comprehensive unit test suite for the auto_suspend module, covering state management, CPU and GPU measurement, user activity detection, and evaluation logic.
- Updated Ansible tasks to install Python instead of bc, create necessary directories and log files, and ensure proper SELinux context for the auto suspend script.
- Modified the systemd service and timer configurations to improve the auto suspend functionality, including command-line arguments for the Python script.
2026-06-08 22:09:21 +02:00

11 lines
320 B
YAML

---
auto_suspend_grub_config_path_bios: /boot/grub2/grub.cfg
auto_suspend_alpha: 0.3
auto_suspend_min_samples: 3
auto_suspend_idle_timeout_cycles: 4
auto_suspend_cpu_idle_threshold: 90.0
auto_suspend_gpu_util_threshold: 5.0
auto_suspend_state_dir: /var/lib/auto_suspend
auto_suspend_log_file: /var/log/auto_suspend.log