Switch to maven installed from Arch.
Re-enable battery check.