#include <libacpi.h>
Collaboration diagram for battery_t:
Public Attributes | |
char | name [MAX_NAME] |
char | state_file [MAX_NAME] |
char | info_file [MAX_NAME] |
char | alarm_file [MAX_NAME] |
int | present |
int | design_cap |
int | last_full_cap |
int | design_voltage |
int | present_rate |
int | remaining_cap |
int | present_voltage |
int | design_warn |
int | design_low |
int | design_level1 |
int | design_level2 |
int | alarm |
int | percentage |
int | charge_time |
int | remaining_time |
charge_state_t | charge_state |
batt_state_t | batt_state |
Definition at line 113 of file libacpi.h.
char battery_t::name[MAX_NAME] |
name of the battery found in proc vfs
Definition at line 114 of file libacpi.h.
Referenced by init_acpi_batt().
char battery_t::state_file[MAX_NAME] |
corresponding state file name + path
Definition at line 115 of file libacpi.h.
Referenced by init_acpi_batt().
char battery_t::info_file[MAX_NAME] |
corresponding info file + path
Definition at line 116 of file libacpi.h.
Referenced by init_acpi_batt().
char battery_t::alarm_file[MAX_NAME] |
corresponding alarm file + path
Definition at line 117 of file libacpi.h.
Referenced by init_acpi_batt().
int battery_t::alarm |