Add battery time support for upower.