Cool idea.
I think there is a (minor?) bug: to charge to the 100% one battery, you actually need one second more than the one indicated on the bottom part of the battery. For example, if there is "3 seconds", you actually need to hold the mouse button for 4 seconds to get that 100%.