File: //lib/python3.12/site-packages/tuned/plugins/__pycache__/plugin_acpi.cpython-312.pyc
�
�]�i� � � � d dl mZ d dl� ddlZddlZddlZddlmZ ej j � Z G d� dej � Z
y)� )�base)�*� N)�ACPI_DIRc � � � e Zd ZdZ� fd�Zed� � Zd� Zd� Zed� � Z ed� � Z
ed� d � � Z e
d� dd
�� Z� xZS )�
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 �, �� t t | �
|i |�� y �N)�superr �__init__)�self�args�kwargs� __class__s ��>/usr/lib/python3.12/site-packages/tuned/plugins/plugin_acpi.pyr zACPIPlugin.__init__ s �� ��
�D�"�D�3�F�3� c �
� dd iS �N�platform_profile� ��clss r �_get_config_optionszACPIPlugin._get_config_options# s
� �
�d� #�#r c � � d|_ d|_ y )NTF)�_has_static_tuning�_has_dynamic_tuning�r
�instances r �_instance_initzACPIPlugin._instance_init'