Hacked By AnonymousFox
3
�<�e� � @ s� d dl mZmZ d dlmZ d dlmZ d dlmZm Z m
Z
d dlmZ d dl
Z
d dlZd dlZej� ZdZdZd ZG d
d� de�ZG dd
� d
e�ZG dd� de�ZG dd� dejj�ZdS )� )�exports�logs)�commands)�PPD_CONFIG_FILE)� PPDConfig�PPD_PERFORMANCE�PPD_POWER_SAVER)�StrEnumN�tunedz-/sys/devices/system/cpu/intel_pstate/no_turboz4/sys/bus/platform/devices/thinkpad_acpi/dytc_lapmodec @ s e Zd ZdZdZdZdS )�PerformanceDegraded� zlap-detectedzhigh-operating-temperatureN)�__name__�
__module__�__qualname__�NONE�LAP_DETECTED�HIGH_OPERATING_TEMPERATURE� r r � /usr/lib/python3.6/controller.pyr s r c @ s e Zd Zdd� Zdd� ZdS )�ProfileHoldc C s || _ || _|| _|| _d S )N)�profile�reason�app_id�watch)�selfr r r r r r r �__init__ s zProfileHold.__init__c C s | j | j| jd�S )N)�ProfileZReasonZ
ApplicationId)r r r )r r r r �as_dict s zProfileHold.as_dictN)r
r r r r r r r r r s r c @ sT e Zd Zdd� Zdd� Zdd� Zdd� Zd d
� Zdd� Zd
d� Z dd� Z
dd� ZdS )�ProfileHoldManagerc C s i | _ d| _|| _d S )Nr )�_holds�_cookie_counter�_controller)r Z
controllerr r r r '