acpi: battery state on CLI; emacs packages