ID: 11123
Title: ups_capacity can handle battery/time_left = 0
Component: Checks & agents
Level: 1
Class: Bug fix
Version: 1.7.0i1
Analogous to ups_modulys_battery ups_capacity will check whether
time_on_battery is set and valid. If not we assume we're on main
power supply and return OK.