Namespaces
Enumerations
enum BifFields
| Name | Value |
|---|---|
| kPowerUnit | 0 |
| kDesignCapacity | 1 |
| kLastFullChargeCapacity | 2 |
| kBatteryTechnology | 3 |
| kDesignVoltage | 4 |
| kDesignCapacityWarning | 5 |
| kDesignCapacityLow | 6 |
| kCapacityGranularity1 | 7 |
| kCapacityGranularity2 | 8 |
| kModelNumber | 9 |
| kSerialNumber | 10 |
| kBatteryType | 11 |
| kOemInformation | 12 |
| kBifMax | 13 |
Fields in _BIF, per ACPI Spec 6.4 section 10.2.2.2, "_BIF (Battery Information)".
Defined at line 20 of file ../../src/devices/acpi/drivers/acpi-battery/acpi_battery.h
enum BstFields
| Name | Value |
|---|---|
| kBatteryState | 0 |
| kBatteryCurrentRate | 1 |
| kBatteryRemainingCapacity | 2 |
| kBatteryCurrentVoltage | 3 |
| kBstMax | 4 |
Fields in _BST, per ACPI Spec 6.4 section 10.2.2.11, "_BST (Battery Status)".
Defined at line 38 of file ../../src/devices/acpi/drivers/acpi-battery/acpi_battery.h
enum AcpiBatteryState
| Name | Value |
|---|---|
| kDischarging | (1 << 0) |
| kCharging | (1 << 1) |
| kCritical | (1 << 2) |
| kChargeLimiting | (1 << 3) |
Bits in the kBatteryState field of _BST.
Defined at line 47 of file ../../src/devices/acpi/drivers/acpi-battery/acpi_battery.h
enum BatteryStatusNotification
| Name | Value |
|---|---|
| kBatteryStatusChanged | 0x80 |
| kBatteryInformationChanged | 0x81 |
Battery statuses, per ACPI Spec 6.4 Table 5.156.
Defined at line 55 of file ../../src/devices/acpi/drivers/acpi-battery/acpi_battery.h