linux: sanitise ACPI battery data