madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://"]
  insteadOf = madduck:

Merge pull request #223 from monokles/bat-perc-fix
authorLuke Bonham <>
Tue, 16 Aug 2016 10:28:24 +0000 (12:28 +0200)
committerGitHub <>
Tue, 16 Aug 2016 10:28:24 +0000 (12:28 +0200)
Merge pull request #223 from monokles/bat-perc-fix

[partial] battery: calculate percentage for multiple instances with different capacities