
Go to the source code of this file.
Data Structures | |
| struct | olsr_apm_info |
Defines | |
| #define | OLSR_BATTERY_POWERED 0 |
| #define | OLSR_AC_POWERED 1 |
Functions | |
| void | os_apm_printinfo (struct olsr_apm_info *) |
| int | os_apm_read (struct olsr_apm_info *) |
| #define OLSR_AC_POWERED 1 |
Definition at line 50 of file os_apm.h.
Referenced by apm_read_acpi(), apm_read_apm(), olsr_calculate_willingness(), and os_apm_read().
| #define OLSR_BATTERY_POWERED 0 |
Definition at line 49 of file os_apm.h.
Referenced by apm_read_acpi(), apm_read_apm(), and os_apm_read().
| void os_apm_printinfo | ( | struct olsr_apm_info * | ) |
Definition at line 55 of file apm.c.
References olsr_apm_info::ac_line_status, olsr_apm_info::battery_percentage, LOG_MAIN, and OLSR_INFO.
| int os_apm_read | ( | struct olsr_apm_info * | ) |
Definition at line 142 of file apm.c.
References olsr_apm_info::ac_line_status, apm_read_acpi(), apm_read_apm(), olsr_apm_info::battery_percentage, method, OLSR_AC_POWERED, OLSR_BATTERY_POWERED, USE_ACPI, and USE_APM.

1.6.3