#include <powerlib.h>
Public Attributes | |
| int | present |
| whether battery is currently present | |
| int | design_capacity |
| int | last_full_capacity |
| int | battery_technology |
| int | design_voltage |
| int | design_capacity_warning |
| int | design_capacity_low |
| int | capacity_granularity_1 |
| int | capacity_granularity_2 |
| char | model_number [MAX_BAT_CHAR_LEN+1] |
| char | serial_number [MAX_BAT_CHAR_LEN+1] |
| char | battery_type [MAX_BAT_CHAR_LEN+1] |
| char | OEM_info [MAX_BAT_CHAR_LEN+1] |
| int | power_unit |
| int | capacity_state |
| int | charging_state |
| int | present_rate |
| int | remaining_capacity |
| int | present_voltage |
| int | alarm_limit |
only available for ACPI through the getBatteryDetailedInfo function
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
whether battery is currently present
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6