Patches for Patch to check-apc-ups [sf#835991] [#218]