https://github.com/wa/pkg-battery