File: //lib/python3.9/site-packages/tuned/plugins/__pycache__/plugin_acpi.cpython-39.pyc
a
,�g� � @ sX d dl mZ d dlT ddlZddlZddlZddlmZ ej �
� ZG dd� dej�Z
dS )� )�base)�*� N)�ACPI_DIRc sv e Zd ZdZ� fdd�Zedd� �Zdd� Zdd � Zed
d� �Z edd
� �Z
ed�dd� �Ze
d�ddd��Z� ZS )�
ACPIPlugina'
Configures the ACPI driver.
The only currently supported option is
[option]`platform_profile`, which sets the ACPI
platform profile sysfs attribute,
a generic power/performance preference API for other drivers.
Multiple profiles can be specified, separated by `|`.
The first available profile is selected.
.Selecting a platform profile
====
----
[acpi]
platform_profile=balanced|low-power
----
Using this option, *TuneD* will try to set the platform profile
to `balanced`. If that fails, it will try to set it to `low-power`.
====
c s t t| �j|i |�� d S �N)�superr �__init__)�self�args�kwargs�� __class__� �=/usr/lib/python3.9/site-packages/tuned/plugins/plugin_acpi.pyr s zACPIPlugin.__init__c C s dd iS �N�platform_profiler ��clsr r r �_get_config_options# s zACPIPlugin._get_config_optionsc C s d|_ d|_d S )NTF)Z_has_static_tuningZ_has_dynamic_tuning�r
�instancer r r �_instance_init'