Changeset View
Changeset View
Standalone View
Standalone View
ksysguardd/Linux/acpi.h
Show All 17 Lines | |||||
18 | */ | 18 | */ | ||
19 | 19 | | |||
20 | #ifndef KSG_ACPI_H | 20 | #ifndef KSG_ACPI_H | ||
21 | #define KSG_ACPI_H | 21 | #define KSG_ACPI_H | ||
22 | 22 | | |||
23 | void initAcpi( struct SensorModul* ); | 23 | void initAcpi( struct SensorModul* ); | ||
24 | void exitAcpi( void ); | 24 | void exitAcpi( void ); | ||
25 | 25 | | |||
26 | int updateAcpi( void ); | | |||
27 | | ||||
28 | void initAcpiBattery( struct SensorModul* ); | 26 | void initAcpiBattery( struct SensorModul* ); | ||
29 | int updateAcpiBattery(void); | 27 | void printSysBatteryCharge(const char *cmd); | ||
30 | void printAcpiBatFill( const char* ); | 28 | void printSysBatteryChargeInfo(const char *cmd); | ||
31 | void printAcpiBatFillInfo( const char* ); | 29 | void printSysBatteryChargeDesign(const char *cmd); | ||
32 | void printAcpiBatUsage( const char* ); | 30 | void printSysBatteryChargeDesignInfo(const char *cmd); | ||
33 | void printAcpiBatUsageInfo( const char* ); | 31 | void printSysBatteryRate(const char *cmd); | ||
32 | void printSysBatteryRateInfo(const char *cmd); | ||||
34 | 33 | | |||
34 | void readTypeFile(const char *fileFormat, int number, char *buffer, int bufferSize); | ||||
35 | static int getSysFileValue(const char *class, const char *group, int value, const char *file); | ||||
35 | void initAcpiThermal( struct SensorModul * ); | 36 | void initAcpiThermal( struct SensorModul * ); | ||
36 | void printThermalZoneTemperature(const char *cmd); | 37 | void printThermalZoneTemperature(const char *cmd); | ||
37 | void printSysThermalZoneTemperature(const char *cmd); | 38 | void printSysThermalZoneTemperature(const char *cmd); | ||
38 | void printSysCompatibilityThermalZoneTemperature(const char *cmd); | 39 | void printSysCompatibilityThermalZoneTemperature(const char *cmd); | ||
39 | void printSysThermalZoneTemperatureInfo(const char *cmd); | 40 | void printSysThermalZoneTemperatureInfo(const char *cmd); | ||
40 | void printThermalZoneTemperatureInfo(const char *cmd); | 41 | void printThermalZoneTemperatureInfo(const char *cmd); | ||
41 | 42 | | |||
42 | void printCoolingDeviceStateInfo(const char *cmd); | 43 | void printCoolingDeviceStateInfo(const char *cmd); | ||
43 | void printCoolingDeviceState(const char *cmd); | 44 | void printCoolingDeviceState(const char *cmd); | ||
44 | void initAcpiFan( struct SensorModul * ); | 45 | void initAcpiFan( struct SensorModul * ); | ||
45 | void printFanState(const char *cmd); | 46 | void printFanState(const char *cmd); | ||
46 | void printSysFanState(const char *cmd); | 47 | void printSysFanState(const char *cmd); | ||
47 | void printFanStateInfo(const char *cmd); | 48 | void printFanStateInfo(const char *cmd); | ||
48 | 49 | | |||
49 | #endif | 50 | #endif |