Added first version of ACPI support to the battery plugin