fix upower by also returning battery capacity as energy for now.

if we do not do this upower (and perhaps others) will falsely report
the battery having 0% left.