Kernel: Add support for ACPI Control Method Batteries
The implementation is kinda weird but it exposes some battery information to userspace!
This commit is contained in:
@@ -28,6 +28,8 @@ namespace Kernel::ACPI
|
||||
// 2: SAPIC
|
||||
BAN::ErrorOr<void> enter_acpi_mode(uint8_t mode);
|
||||
|
||||
BAN::ErrorOr<void> initialize_acpi_devices();
|
||||
|
||||
BAN::ErrorOr<void> poweroff();
|
||||
BAN::ErrorOr<void> reset();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user