Compute mean percentage for multiple batteries.

If a laptop has multiple batteries, compute the mean percentage if the
user asks for 'all' instead of a specific battery.