linuxmint/Cinnamon — pull request #3037 by michaeldjcox (2014-04-12 21:19:30+00:00)
Title: Modified to work better with multiple batteries e.g. on Lenovo T440s

Modified to:

a) show the total time remaining in the panel rather than that of one of possible several batteries
b) where individual batteries in the menu are listed show them with time or percent or both as selected from the menu
c) fix the issue where you select time remaining and the panel does not update and remaining at percent (this one is a hack that seems to work)

All the above designed to improve the use of the power applet on machines with multiple batteries like the Lenovo thinkpad T440s

NOTE: That I made the changes on a earlier version supplied with Linux Mint 16 and tested there. This commit is the same change applied to the current master but I am not really set up to test. I wanted to make the changes available though and they can be picked up and evaluated and made available to all in future releases of Cinnamon