X-Debbugs-Cc: Mattias EngdegÄrd Tags: patch While working on bug#39491, I came across various opportunities for improvement in battery.el. The attached patch reorders battery-status-function checks based on obsolescence, adds two new faces for use in battery-mode-line-format, makes battery-update more robust, fixes documentation, indentation, and various regexps used, and simplifies file searches and logic. CCing Mattias to comment on the rx changes. WDYT? Thanks, -- Basil